 |
OGRE
2.2.4
Object-Oriented Graphics Rendering Engine
|
static const IdString UvDiffuseSwizzle4
Definition: OgreUnlitProperty.h:98
void unload()
Unload - will be called in main thread.
void setFadeAttenuationOverDistace(bool fade)
Not really used. It's only use is keeping track of creation parameters.
Definition: OgreIrradianceVolume.h:114
virtual void _hlmsBlendblockDestroyed(HlmsBlendblock *block)
static DistanceLodBoxStrategy * getSingletonPtr(void)
Override standard Singleton retrieval.
virtual ~WireAabbFactory()
Definition: OgreWireAabb.h:70
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
@ Materials
Definition: OgreSceneFormatBase.h:59
@ RdmLow
Cheap, pixelated and grainy.
Definition: OgreRadialDensityMask.h:85
void requestResolution(uint32 width, uint32 height)
RenderWindow::resize
virtual ~ExternalTextureSource()
Virtual destructor.
Definition: OgreExternalTextureSource.h:80
FreeOnDestructor(void *_ptr)
Definition: OgreBufferPacked.h:121
TerrainQuadTreeNode * getQuadTree()
Get the top level of the quad tree which is used to divide up the terrain.
Definition: OgreTerrain.h:1556
@ SM_Source2Modulate
Definition: OgreShaderExLayeredBlending.h:87
AnimationControllerFunction(Real sequenceTime, Real timeOffset=0.0f)
Constructor.
RenderTexture implementation for D3D11.
Definition: OgreD3D11Texture.h:202
Viewport * viewport
Definition: OgreSceneManager.h:762
void notifyOnDeviceDestroy(D3D9Device *device)
void setUseMinPixelSize(bool enable)
Sets whether to use min display size calculations.
Definition: OgreCamera.h:706
bool pump_events()
Pump the main loop to actually generate events.
void reconnectAllNodes(void)
Reconnects all nodes.
TRect & operator=(TRect const &o)
Definition: OgreCommon.h:724
vector< v1::HardwareUniformBufferSharedPtr >::type GLUniformBufferList
Definition: OgreGLSLProgram.h:75
map< String, GpuConstantDefinition >::type GpuConstantDefinitionMap
Definition: OgreGpuProgramParams.h:481
iterator begin()
Definition: OgreMain/include/OgreSmallVector.h:184
Helper class to that will free the pointer on the destructor.
Definition: OgreBufferPacked.h:119
CSGSphereSource(const Real r, const Vector3 ¢er)
Constructor.
static const IdString EnableDecals
Definition: OgreHlms.h:893
@ ACT_AMBIENT_LIGHT_COLOUR
The ambient light colour set in the scene.
Definition: OgreGpuProgramParams.h:1036
void updateAllLods(const Camera *lodCamera, Real lodBias, uint8 firstRq, uint8 lastRq)
Updates the Lod values of all objects relative to the given camera.
static bool isUnsignedInt(GpuConstantType c)
Definition: OgreGpuProgramParams.h:254
void unnameSubMesh(const String &name)
Removes a name from a SubMesh.
const Matrix3 & getInvOrientation(void) const
Definition: OgreCubemapProbe.h:227
virtual void unregisterThread()=0
Unregister an additional thread which may make calls to rendersystem-related objects.
void _validateStereo()
Validate the type of stereo that is enabled for this window.
RenderPassDescriptor * getRenderPassDesc(void) const
Definition: OgreCompositorPass.h:213
virtual void write(const Node *node, size_t count=1)
vector< Real >::type SplitPointList
Definition: OgreShadowCameraSetupPSSM.h:64
virtual ~RenderState()
Class destructor.
@ MSE_PRE_WRITE
Definition: OgreMaterialSerializer.h:68
virtual bool frameStarted(const FrameEvent &evt)
Called when a frame is about to begin rendering.
LodStrategy * removeStrategy(const String &name)
Remove a strategy from the manager with a specified name.
virtual ~AnimableValue()
Definition: OgreAnimable.h:142
virtual ~Camera()
Standard destructor.
Vertex * dst
Definition: OgreLodData.h:92
size_t physicalIndex
Physical buffer index.
Definition: OgreGpuProgramParams.h:568
DataStreamPtr open(const String &filename, bool readOnly=true)
Open a stream on a given file.
size_t getCommandOffset(CbBase *cmd) const
Returns the offset of the given command, in case you want to retrieve the command later (addCommand m...
Vector3 getRealUp(void) const
Gets the real world up vector of the camera, including any rotation inherited from a node attachment.
HLSLProgramWriter()
Class constructor.
virtual Window * _initialise(bool autoCreateWindow, const String &windowTitle="OGRE Render Window")
Start up the renderer using the settings selected (Or the defaults if none have been selected).
uint16 mId
The mId is only valid while mRefCount > 0; which means mRsData may contain valid data,...
Definition: OgreHlmsDatablock.h:58
void destroySubRenderState(SubRenderState *subRenderState)
Destroy an instance of sub render state.
void sceneManagerDestroyed(SceneManager *source)
Overridden from SceneManager::Listener.
size_t parent
Definition: OgreSkeletonDef.h:51
virtual void copyFrom(const SubRenderState &rhs)=0
Copy details from a given sub render state to this one.
Internal implementation of Mesh reading / writing for the latest version of the .mesh format.
Definition: OgreMeshSerializerImpl.h:63
const GpuProgramParameters_AutoConstantEntry * _findRawAutoConstantEntryInt(size_t physicalIndex)
Finds an auto constant that's affecting a given physical position in the integer buffer.
virtual void removeResponseHandler(uint16 channel, ResponseHandler *rh)
Remove a Response handler.
Predefined type.
Definition: OgreIteratorRange.h:289
OrientationMode getOrientationMode() const
Get the orientation mode of the frustum.
@ ID_COLOUR_VALUE
Definition: OgreScriptCompiler.h:951
D3D9Device * getActiveDevice()
@ SM_DISTANCE
Sort by distance from the camera.
Definition: OgreCommon.h:317
GLES2AsyncTicket(BufferPacked *creator, StagingBuffer *stagingBuffer, size_t elementStart, size_t elementCount)
PixelFormat getDesiredFormat(void) const
Returns the desired pixel format for the texture surface.
Definition: OgreTexture.h:332
static PropertyType getTypeForValue(const Quaternion &val)
Definition: OgreProperty.h:168
Real getBoundingSphereRadius(void) const
Gets the radius of the bounding sphere for this patch, only valid after defineSurface has been called...
virtual void setDuration(Real min, Real max)
Sets the range of random duration for this emitter.
virtual bool shouldInject(LodWorkQueueRequest *request)=0
virtual Real getValue(const Vector3 &position) const =0
Gets the density value at a specific position.
void _writeRawConstant(size_t physicalIndex, const Matrix4 *m, size_t numEntries)
Write a list of Matrix4 parameters to the program.
const String * getJobNameStr(IdString name) const
Returns the string name associated with its hashed name (this was passed as refName in @createCompute...
#define OGRE_HASH_BITS
Definition: OgreIdString.h:39
bool hasFreeFields() const
Returns true if not all fields used.
Definition: OgreShaderFunctionAtom.h:136
virtual void setDirection(const Vector3 &vec, TransformSpace relativeTo=TS_LOCAL, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z)
Sets the node's direction vector ie it's local -z.
@ ACT_INVERSE_TRANSPOSE_WORLD_MATRIX
The current world matrix, inverted & transposed.
Definition: OgreGpuProgramParams.h:915
virtual const String & getDescription(void) const
Returns a string with only the 'description' field of this exception.
Definition: OgreException.h:171
Definition: OgreCbDrawCall.h:89
void setDetailNormalWeight(uint8 detailNormalMapIdx, Real weight)
Sets the normal mapping weight.
const HlmsComputeJob * getCurrentJob(void) const
void retryTextureLoad()
Tells the unit to retry loading the texture if it had failed to load.
Definition: OgreTextureUnitState.h:977
virtual const RealRect & getLightScissorRect(const Light *l, const Camera *cam)
Retrieve a scissor rectangle for a given light and camera.
@ LL_BOREME
Definition: OgreLog.h:65
void setClipPlane(ushort index, Real A, Real B, Real C, Real D)
See RenderSystem.
virtual bool supportsFormat(uint32 width, uint32 height, uint32 depth, uint32 slices, PixelFormatGpu pixelFormat) const
D3D11 has restrictions about which StagingTextures can be uploaded to which textures based on texture...
void setHidden(bool hidden)
RenderWindow::setHidden
void addChild(Node *child)
Adds a (precreated) child scene node to this node.
NumericAnimationTrack * getNumericTrack(unsigned short handle) const
Gets a numeric track by it's handle.
@ PF_A1R5G5B5
16-bit pixel format, 5 bits for blue, green, red and 1 for alpha.
Definition: OgrePixelFormat.h:69
bool getEnabled(void) const
virtual void _descriptorSetSamplerDestroyed(DescriptorSetSampler *set)
Definition: OgreRenderSystem.h:841
@ PFG_RG8_SINT
Definition: OgrePixelFormatGpu.h:98
virtual ~GLES2DefaultHardwareIndexBuffer()
void resize(unsigned int width, unsigned int height)
Alter the size of the window.
Definition: OgreD3D11RenderWindow.h:60
PageContentFactory()
Definition: OgrePageContentFactory.h:53
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:60
Concrete IteratorWrapper for const access to the underlying container.
Definition: OgreIteratorWrapper.h:217
virtual void bind(RenderTarget *target)=0
Bind a certain render target.
#define OGRE_NEW
Definition: OgreMemoryAllocatorConfig.h:500
bool isReverseDepth(void) const
Definition: OgreRenderSystem.h:1389
bool getVctFullConeCount(void) const
Definition: OgreHlmsPbs.h:409
virtual ~NULLMultiSourceVertexBufferPool()
uint16 commandType
Definition: OgreCbCommon.h:76
~Light()
Standard destructor.
void setIrradianceMaxPower(float power)
Not really used. It's only use is keeping track of creation parameters.
Definition: OgreIrradianceVolume.h:105
Layout
Definition: OgreResourceTransition.h:47
const String & getType() const
Returns the factory type.
virtual void bindBufferCS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Binds the texture buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
iterator insert(iterator where, const T &val)
Definition: OgreFastArray.h:196
virtual void _initialize(TextureGpuManager *textureGpuManager)
@ SPC_LIGHTPOSITIONVIEW_SPACE6
Definition: OgreShaderParameter.h:233
bool getUseStableMarkers(void) const
HlmsComputeJob(IdString name, Hlms *creator, const String &sourceFilename, const StringVector &includedPieceFiles)
UnmapOptions
Definition: OgreBufferPacked.h:73
@ VET_USHORT2_NORM
Definition: OgreVertexElements.h:108
ResourceEntry()
Definition: OgreTextureGpuManager.h:272
@ ID_CHANNEL_MASK
Definition: OgreScriptCompiler.h:707
virtual void unprepare()=0
Unprepare data - may be called in the background.
GpuProgramParametersSharedPtr createParameters(void)
Overridden from GpuProgram.
void _applyObliqueDepthProjection(Matrix4 &matrix, const Plane &plane, bool forGpuProgram)
See RenderSystem.
Wrapper class which indicates a given angle value is in Degrees.
Definition: OgreMath.h:96
virtual void updateVertexCollapseCost(LodData *data, LodData::Vertex *vertex)
Called when edge cost gets invalid.
void destroyDatablock(IdString name)
Destroys a datablocks given its name.
virtual ~GLES2TextureBuffer()
void _setTextureMatrix(size_t stage, const Matrix4 &xform)
See RenderSystem.
Definition: OgreGLES2RenderSystem.h:298
virtual Real getDefaultWidth(void) const
See setDefaultDimensions - this gets 1 component individually.
size_t maxLevels
The maximum amount of levels.
Definition: OgreVolumeChunkHandler.h:60
GLSLShader * getComputeShader() const
Definition: OgreGLSLProgram.h:141
size_t generateBuffers(RenderOperation &operation)
Generates the vertex- and indexbuffer of this mesh on the given RenderOperation.
String mSyntax
Definition: OgreScriptCompiler.h:554
MeshPtr prepare(const String &filename, const String &groupName, BufferType vertexBufferType=BT_IMMUTABLE, BufferType indexBufferType=BT_IMMUTABLE, bool vertexBufferShadowed=true, bool indexBufferShadowed=true)
Prepares a mesh for loading from a file.
GL3PlusDefaultHardwareCounterBuffer(const String &name)
@ SPC_DEPTH_PROJECTIVE_SPACE
Depth in projective space.
Definition: OgreShaderParameter.h:285
uint32 mIdentifier
Custom value in case there's a listener attached (to identify the pass)
Definition: OgreCompositorPassDef.h:125
virtual void setUseTextureCoords(bool use)
Sets whether texture coordinate information should be included in the final buffers generated.
static bool readLayerInstanceList(StreamSerialiser &ser, size_t numSamplers, Terrain::LayerInstanceList &targetlst)
Utility method to read a layer instance list from a stream.
void _notifyResourceCreated(ResourcePtr &res)
Internal method called by ResourceManager when a resource is created.
static const ArrayReal ONE_DIV_2PI
Definition: OgreMathlibC.h:51
VertexAnimationType
Type of vertex animation.
Definition: OgreAnimationTrack.h:590
bool _fireFrameStarted(FrameEvent &evt)
Method for raising frame started events.
void _updateBoundsFromVertexBuffers(bool pad=false)
Automatically update the bounding radius and bounding box for this Mesh.
static const Vector4 ZERO
Definition: OgreVector4.h:422
void XDestroyWindow(Display *nativeDisplayType, Window nativeWindowType)
virtual bool supportsFormat(uint32 width, uint32 height, uint32 depth, uint32 slices, PixelFormatGpu pixelFormat) const
D3D11 has restrictions about which StagingTextures can be uploaded to which textures based on texture...
const Matrix3 & getOrientation(void) const
Definition: OgreCubemapProbe.h:226
bool supportsArbBufferStorage(void) const
Definition: OgreNULLVaoManager.h:192
size_t srcOffset
Definition: OgreVertexBufferDownloadHelper.h:80
virtual void setSceneManager(const String &smName)
Change the SceneManager.
Real influence
Influence level of the linked pose.
Definition: OgreKeyFrame.h:210
ImageDownsamplerCube downscale2x_Signed_XA88_cube
Definition: OgreImageDownsampler.h:127
void _endFrame(void)
See RenderSystem.
virtual void _setWorldMatrix(const Matrix4 &m)
Sets the world transform matrix.
virtual bool hasAnimation(const String &name) const
Returns whether an animation with the given name exists.
bool isRendering(void) const
Inform whether we're currently updating a probe.
Definition: OgreParallaxCorrectedCubemapBase.h:136
uint16 mRefCount
Definition: OgreDescriptorSetTexture.h:70
virtual void _placeBarriersAndEmulateUavExecution(BoundUav boundUavs[64], ResourceAccessMap &uavsAccess, ResourceLayoutMap &resourcesLayout)
Emulates the execution of a UAV to understand memory dependencies, and adds a memory barrier / resour...
virtual void disableCustomNearClipPlane(void)
Disables any custom near clip plane.
virtual int32 getPageRangeMaxX() const
get the index range of all Pages (values outside this will be ignored)
void setUpdateBoundingBoxFromSkeleton(bool update)
If true, the skeleton of the entity will be used to update the bounding box for culling.
Definition: OgreHlmsJson.h:49
void _setViewport(Viewport *vp)
Definition: OgrePbsMobileShaderCreationData.h:54
AnyNumeric & operator*=(const AnyNumeric &rhs)
Definition: OgreAny.h:358
static TextureAtlasSamplerFactory * getSingletonPtr(void)
GLuint instancingDivisor
Definition: OgreGL3PlusVaoManager.h:108
Visual * DefaultVisual(Display *nativeDisplayType, int screen)
static Matrix4 getTrans(Real t_x, Real t_y, Real t_z)
Gets a translation matrix - variation for not using a vector.
Definition: OgreMatrix4.h:458
virtual v1::AnimationState * createAnimationState(const String &animName)
Create an AnimationState object for managing application of animations.
virtual String getNameStr(void) const
Note: This returns the alias name of the texture.
void setShadowDirLightExtrusionDistance(Real dist)
Sets the shadow extrusion distance to be used for point lights.
bool isNaN() const
Check whether this vector contains valid values.
Definition: OgreVector4.h:414
void * map(size_t sizeBytes)
Maps the given amount of bytes.
virtual const ColourValue & getFogColour(void) const
Returns the fog colour for the scene.
NeighbourIndex
Neighbour index enumeration - indexed anticlockwise from East like angles.
Definition: OgreTerrain.h:500
void setDecalsNormals(TextureGpu *tex)
Sets the decal texture normal maps.
@ ID_POINT_SIZE_MAX
Definition: OgreScriptCompiler.h:723
void FromAngleAxis(const Radian &rfAngle, const Vector3 &rkAxis)
Setups the quaternion using the supplied vector, and "roll" around that vector by the specified radia...
bool _OgreVolumeExport operator==(Vertex const &a, Vertex const &b)
== operator for two vertices.
Definition: OgreD3D11RenderWindow.h:108
Command object for setting matrix packing in column-major order.
Definition: OgreD3D11HLSLProgram.h:77
uint32 getFrequencyNumerator(void) const
static const size_t MaxDecalRq
Definition: OgreForwardPlusBase.h:72
const_reference front() const
Definition: OgreCommon.h:542
@ PFG_BC7_UNORM_SRGB
Definition: OgrePixelFormatGpu.h:161
GpuProgramParametersSharedPtr getShadowCasterFragmentProgramParameters(void) const
Gets the fragment program parameters used by this pass when rendering shadow casters.
HardwareBufferLockGuard(const SharedPtr< T > &p, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:366
virtual void destroyInstance(PagedWorldSection *)=0
static const IdString NormalWeightDetail1
Definition: OgreHlmsPbsMobile.h:121
@ ACT_CAMERA_POSITION
The current camera's position in world space.
Definition: OgreGpuProgramParams.h:1151
void _notifyAnimationStateEnabled(AnimationState *target, bool enabled)
Internal method respond to enable/disable an animation state.
Definition: OgreException.h:246
void resetIndexDataStartEndIndex()
Reset the custom start/end index to the default values.
void setDetailMapBlendMode(uint8 detailMapIdx, PbsMobileBlendModes blendMode)
Changes the blend mode of the detail map.
int getScissorActualWidth(void) const
Definition: OgreViewport.h:149
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...
bool isBuffer(void) const
Definition: OgreDescriptorSetUav.h:176
@ TS_PARENT
Transform is relative to the space of the parent OldNode.
Definition: OgreOldNode.h:77
const ControllerValueRealPtr & getFrameTimeSource(void) const
Returns a ControllerValue which provides the time since the last frame as a control value source.
~ManualObjectFactory()
Definition: OgreManualObject.h:538
This class manages the builtin translators.
Definition: OgreScriptTranslator.h:386
Real getValue(void) const
@ SPC_POSTOLIGHT_VIEW_SPACE0
Light vector in view space index 0-7.
Definition: OgreShaderParameter.h:147
@ ID_GPU_DEVICE_RULE
Definition: OgreScriptCompiler.h:644
void _setBackbuffer(id< MTLTexture > backbuffer)
virtual ~Win32EGLSupport()
ImageDownsamplerCube downscale2x_XXX888_cube
Definition: OgreImageDownsampler.h:77
const Vector3 & _getCachedDerivedPosition(void) const
Same as getDerivedPosition, but doesn't check if dirty.
Definition: OgreCamera.h:424
void dumpStats(void) const
Definition: OgreExternalTextureSource.h:105
ushort maxBoneCount
Definition: OgreShaderExHardwareSkinning.h:66
ResourceHandle getHandle(void) const
static const IdString UvDetailWeight
Definition: OgreHlmsPbs.h:511
Command object for quota (see ParamCommand).
Definition: OgreParticleSystem.h:71
IdString()
Definition: OgreIdString.h:105
UVRect uvRect
Definition: OgreFont.h:144
Opaque struct that holds effective FSAA (MSAA, CSAA, etc.) mode.
Definition: OgreCommon.h:934
String mMaterialName
If true, mMaterialName is an Hlms material.
Definition: OgreCompositorPassQuadDef.h:101
@ TypePrepareForNormalMapping
Definition: OgreTextureFilters.h:57
String message
Definition: OgreScriptCompiler.h:200
vector< std::pair< IdString, String > >::type HlmsParamVec
Definition: OgreHlmsCommon.h:165
virtual TexCoordDirection getTextureCoordDirection(void)
Gets the direction in which texture coords specified on each element are deemed to run.
Definition: OgreBillboardChain.h:169
virtual void setCellRangeMaxZ(int32 maxZ)
get the index range of all cells (values outside this will be ignored)
@ SPC_LIGHTDIRECTION_WORLD_SPACE6
Definition: OgreShaderParameter.h:183
void setTexcoordRect(Real u0, Real v0, Real u1, Real v1)
setTexcoordRect() sets the individual texture coordinate rect of this billboard will use when renderi...
virtual void frameStart(Real timeSinceLastFrame)
Called when the frame starts.
GLES2Context * clone() const
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
HardwareCounterBufferSharedPtr(HardwareCounterBuffer *buf)
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
See HardwareBuffer.
void appendPOD(const_iterator otherBegin, const_iterator otherEnd)
Definition: OgreFastArray.h:227
D3D9Driver * item(const String &name)
void _decrementRefCount(void)
MovableObject const * movableObject
Definition: OgreRenderQueue.h:53
virtual_l1 void line(uint32 i1, uint32 i2)
Add a set of 2 vertex indices to construct a line; this is a shortcut to calling index() 2 times.
ShadowNodeRecalculation
Definition: OgreCompositorPassSceneDef.h:50
void _setDepthBufferParams(bool depthTest=true, bool depthWrite=true, CompareFunction depthFunction=CMPF_LESS_EQUAL)
static D3DDECLUSAGE get(VertexElementSemantic sem)
Get vertex semantic.
static const IdString UvAtlas8
Definition: OgreHlmsUnlitMobile.h:151
uint numSamples
Definition: OgreGLES2RenderTexture.h:46
uint32 vertexIndex
Definition: OgreVertexBoneAssignment.h:65
LwString & a(uint32 a0)
Definition: OgreLwString.h:239
void setEsmK(uint16 K)
Sets the 'K' parameter of ESM filter.
void copyContentsToMemory(D3D9RenderWindow *window, const Box &src, const PixelBox &dst, RenderTarget::FrameBuffer buffer)
@ D3D_WARNING
Definition: OgreD3D11Device.h:98
virtual bool getUseShortestRotationPath() const
Gets the method of rotation calculation.
StringVectorPtr list(bool recursive=true, bool dirs=false)
List all file names in the archive.
@ VET_FLOAT3
Definition: OgreVertexElements.h:74
virtual ConcreteNodeListPtr importFile(ScriptCompiler *compiler, const String &name)
Returns the concrete node list from the given file.
static const IdString BonesPerVertex
Definition: OgreHlms.h:817
IdString mPrePassDepthTexture
Definition: OgreCompositorPassSceneDef.h:92
virtual PageStrategy * getStrategy() const
Get the page strategy which this section is using.
Definition: OgrePagedWorldSection.h:101
uint32 width
Definition: OgreImageCodec.h:62
~FastArray()
Definition: OgreFastArray.h:164
bool operator!=(const StencilParams &other) const
Definition: OgreCommon.h:181
void doSet(void *target, const String &val)
void setCurrentJob(const HlmsComputeJob *job)
ConstMapIterator< CodecList > CodecIterator
Definition: OgreCodec.h:77
Definition: OgreScriptCompiler.h:552
@ M_SUBMESH_NAME_TABLE
Definition: OgreMeshFileFormat.h:112
void addConfig(void)
GL3PlusSupport::addConfig
virtual bool getForceDisableColourWrites(void) const
Used by depth texture views which need to disable colour writes when rendering to it PF_NULL targets ...
Definition: OgreGL3PlusNullTexture.h:103
IOException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
virtual bool isHidden(void) const
Indicates whether the window was set to hidden (not displayed)
@ ID_SOURCE2
Definition: OgreScriptCompiler.h:760
virtual ~ScriptCompiler()
Definition: OgreScriptCompiler.h:226
GPUVendor vendor
Definition: OgreTechnique.h:96
void setVertexBufferPolicy(BufferType bufferType, bool shadowBuffer=false)
Sets the policy for the vertex buffers to be used when loading this Mesh.
Real getTime_0_2Pi(Real x) const
void setRenderingMinPixelSize(Real pixelSize)
Sets the minimum pixel size an object needs to be in both screen axes in order to be rendered.
Definition: OgreMovableObject.h:369
virtual const Vector3 & getPosition(void) const
Returns the position of this emitter relative to the center of the particle system.
void importTextureMetadataCache(const String &filename, const char *jsonString, bool bCreateReservedPools)
D3D9ResourceCreationPolicy getCreationPolicy() const
list< ErrorPtr >::type ErrorList
Definition: OgreScriptCompiler.h:205
void setCategoryRelevant(CapabilitiesCategory cat, bool relevant)
Mark a category as 'relevant' or not, ie will it be reported.
Definition: OgreRenderSystemCapabilities.h:862
void setIndexDataEndIndex(size_t end_index)
Tells this SubEntity to draw a subset of the SubMesh by adjusting the index buffer extents.
virtual RaySceneQueryResult & execute(void)
Executes the query, returning the results back in one list.
Textures whose size are less or equal to minTextureSize (without considering mipmaps) will have their...
Definition: OgreHlmsTextureManager.h:84
uint32 left
Definition: OgreCommon.h:818
SkeletonDefPtr getSkeletonDef(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Create a new skeleton or retrieves an existing one. Will throw if can't find the skeleton.
bool recursive
Whether this location was added recursively.
Definition: OgreResourceGroupManager.h:311
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:83
virtual ~SharedPtrInfoFree()
Definition: OgreSharedPtr.h:103
unsigned int uint
Definition: OgrePrerequisites.h:145
Real crossProduct(const Vector2 &rkVector) const
Calculates the 2 dimensional cross-product of 2 vectors, which results in a single floating point val...
Definition: OgreVector2.h:494
result_type operator()(const argument_type &k) const
Definition: OgreSharedPtr.h:397
void FromAxes(const Vector3 &xAxis, const Vector3 &yAxis, const Vector3 &zAxis)
GL3PlusDepthTexture(bool shareableDepthBuffer, ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, GL3PlusSupport &support)
DynLibManager()
Default constructor.
~D3D11Texture()
destructor
uint8 * _getSysRamCopy(uint8 mipLevel)
Ogre::Rect Rect
Definition: OgreImage.h:64
size_t mGlobalIndex
Index in the vector holding this MO reference (could be our parent node, or a global array tracking a...
Definition: OgreViewport.h:61
TextureTypes::TextureTypes getTextureType(void) const
Returns the type of this texture.
static const String & getPointLightExtruderVs_1_1Debug(void)
Get extruder program source for debug point lights, compatible with vs_1_1.
Definition: OgreShadowVolumeExtrudeProgram.h:256
virtual void _setHlmsSamplerblockCS(uint8 texUnit, const HlmsSamplerblock *samplerblock)
TextureSlot texture
Definition: OgreDescriptorSetTexture.h:231
uint16 getChannel() const
Get the request channel (top level categorisation)
Definition: OgreWorkQueue.h:113
BufferDefinition(IdString _name, size_t _numElements, uint32 _bytesPerElement, uint32 _bindFlags, float _widthFactor, float _heightFactor)
Definition: OgreTextureDefinition.h:171
const CompositorWorkspaceDef * getDefaultWorkspaceDef(void) const
virtual_l2 void roll(const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around the Z-axis.
TextureTypes::TextureTypes getTextureType(void) const
TextureDefinitionBase(TextureSource defaultSource)
@ RSC_TEXTURE_CUBE_MAP_ARRAY
TEX_TYPE_CUBE_MAP_ARRAY is supported.
Definition: OgreRenderSystemCapabilities.h:207
SceneManager * getSceneManager() const
@ OT_PATCH_25_CONTROL_POINT
Definition: OgreHlmsPso.h:84
static const IdString LightsAreaApprox
Definition: OgreHlms.h:848
void setNamedConstant(const String &name, const Vector3 &vec)
Sets a Vector3 parameter to the program.
size_t getTexBufferMaxSize(void) const
Definition: OgreVaoManager.h:414
static const String & getPointLightExtruderArbvp1Debug(void)
Get extruder program source for debug point lights, compatible with arbvp1.
Definition: OgreShadowVolumeExtrudeProgram.h:254
ConstVertexOffsetIterator getVertexOffsetIterator(void) const
Gets an iterator over all the vertex offsets.
void save(const String &filename)
Save the image as a file.
virtual bool preCreateGpuPrograms(ProgramSet *programSet)=0
Called before creation of the GPU programs.
const_iterator begin() const
Definition: OgreFastArray.h:367
@ GCT_MATRIX_DOUBLE_3X2
Definition: OgreGpuProgramParams.h:106
void unregisterThread()
Unregister an additional thread which may make calls to rendersystem-related objects.
static size_t getComponentCount(PixelFormat fmt)
Returns the component count for a certain pixel format.
uint32 mMask
Mask to group probes.
Definition: OgreCubemapProbe.h:101
@ PFG_RG8_SNORM
Definition: OgrePixelFormatGpu.h:97
virtual_l2 Matrix3 getLocalAxes(void) const
Gets a matrix whose columns are the local axes based on the nodes orientation relative to it's parent...
Struct collecting together the information for named constants.
Definition: OgreGpuProgramParams.h:486
ArrayMaskR intersects(const ArrayAabb &aabb) const
SLAB method See https://tavianator.com/fast-branchless-raybounding-box-intersections-part-2-nans/.
Definition: OgreArrayRay.h:48
iterator add(const T &item)
Definition: OgreVectorSetImpl.h:57
virtual HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)=0
Create a hardware index buffer.
void updateAtomicCounters(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program object atomic counter buffers using data from GpuProgramParameters.
const AxisAlignedBox & getCastersBox(void) const
@See mCastersBox
Definition: OgreCompositorShadowNode.h:205
const ResourceEntryMap & getEntries(void) const
Definition: OgreTextureGpuManager.h:657
TextureFlags
Definition: OgreTextureGpu.h:82
uint16 getEsmK(void) const
Definition: OgreHlmsPbs.h:346
float r
Definition: OgreD3D11LegacySDKEmulation.h:34
bool hasAnimationState(const String &name) const
Tests if state for the named animation is present.
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 setRenderQueueGroup(uint8 queueID)
Sets the render queue group this object will be rendered through.
void updateParameters(GpuProgramParametersSharedPtr params, bool bForce)
const TextureAtlasAttib & getDefaultAtlasingAttributes() const
Returns the default attributes of texture atlas processing.
Abstract interface which classes must implement if they wish to receive events from the render queue.
Definition: OgreRenderQueueListener.h:57
virtual void detachDepthBuffer()
void updateAllControllers(void)
Updates all the registered controllers.
Base::value_type value_type
Definition: OgreMemorySTLAllocator.h:86
ImageDownsampler2D downscale2x_sRGB_XXX888
Definition: OgreImageDownsampler.h:181
virtual MaterialPtr generate(const Terrain *terrain)
Generate a material for the given terrain using the active profile.
Definition: OgreTerrainMaterialGenerator.h:295
virtual void setWidthChange(size_t chainIndex, Real widthDeltaPerSecond)
Set the change in ribbon width per second.
const Vector2 & getHalfSize(void) const
void setOverlayDimensions(Real width, Real height)
Set the size of the profiler overlay, in pixels.
virtual void * lock(size_t offset, size_t length, LockOptions options)
Lock the buffer for (potentially) reading / writing.
Real factor
Manual blending factor.
Definition: OgreBlendMode.h:160
static const IdString ForwardPlusFadeAttenRange
Definition: OgreHlms.h:886
void activate(void)
Makes a program object active by making sure it is linked and then putting it in use.
virtual ~AnimationState()
Real getElapsedTime(void) const
Return the elapsed time.
Real getWidth(void) const
Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0.
Ogre::Radian angleBetween(const Ogre::Vector2 &other) const
Gets the angle between 2 vectors.
Definition: OgreVector2.h:555
void execute(IntersectionSceneQueryListener *listener)
See IntersectionSceneQuery.
void generateDualGrid(const OctreeNode *root, IsoSurface *is, MeshBuilder *mb, Real maxMSDistance, const Vector3 &totalFrom, const Vector3 &totalTo, bool saveDualCells)
Generates the dualgrid of the given octree root node.
virtual ~Parameter()
Class destructor.
Definition: OgreShaderParameter.h:320
@ SPC_POSTOLIGHT_VIEW_SPACE7
Definition: OgreShaderParameter.h:154
static void setSharedListener(Listener *listener)
Sets shared listener.
const Node * getChild(size_t index) const
Definition: OgreNode.h:554
void destroyDescriptorSetTexture(const DescriptorSetTexture *descSet)
void initWorkspace(float cameraNear=0.5f, float cameraFar=500.0f, IdString workspaceDefOverride=IdString(), const CompositorChannelVec &additionalChannels=CompositorChannelVec(), uint8 executionMask=0xFF)
Initializes the workspace so we can actually render to the cubemap.
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
bool operator!=(const StencilStateOp &other) const
Definition: OgreCommon.h:144
Specialisation of HardwareCounterBuffer for emulation.
Definition: OgreGL3PlusDefaultHardwareBufferManager.h:125
@ FGT_PATCH
Definition: OgreStaticFaceGroup.h:47
EGLConfig * chooseGLConfig(const EGLint *attribList, EGLint *nElements)
@ SPC_TEXTURE_COORDINATE0
Texture coordinate set index 0-7.
Definition: OgreShaderParameter.h:288
void translateSharedParamNamed(ScriptCompiler *compiler, GpuSharedParameters *sharedParams, PropertyAbstractNode *prop, String pName, GpuConstantType constType)
bool getRemoveRenderQueueStructuresOnClear() const
Get whether the entire render queue structure should be emptied on clearing, or whether just the obje...
Definition: OgreRoot.h:364
void setNamedConstant(const String &name, const Vector4 &vec)
Sets a Vector4 parameter to the program.
virtual const String & getMovableType(void) const
Returns the type name of this object.
virtual void _cullPhase01(Camera *cullCamera, Camera *renderCamera, const Camera *lodCamera, uint8 firstRq, uint8 lastRq, bool reuseCullData)
Performs the frustum culling that will later be needed by _renderPhase02.
Camera * camera
The camera with respect to which the level of detail has changed.
Definition: OgreLodListener.h:50
const GpuProgramParameters_AutoConstantEntry * _findRawAutoConstantEntryBool(size_t physicalIndex)
Finds an auto constant that's affecting a given physical position in the boolean buffer.
virtual StagingStallType uploadWillStall(size_t sizeBytes)
Returns true if our next call to @map() with the same parameters will stall.
Real getTrueTypeSize(void) const
Gets the point size of the font used to generate the texture.
@ ID_SRC_CURRENT
Definition: OgreScriptCompiler.h:772
virtual void destroyOverlayElement(OverlayElement *pElement)
Destroys a OverlayElement which this factory created previously.
Definition: OgreOverlayElementFactory.h:66
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:365
SmallVector(const SmallVector &RHS)
Definition: OgreMain/include/OgreSmallVector.h:786
GLuint getStencilBuffer() const
Definition: OgreGL3PlusDepthBuffer.h:69
static const size_t c_ForwardPlusNumFloat4PerCubemapProbe
Definition: OgreForwardPlusBase.h:49
int height
Definition: OgreX11EGLSupport.h:86
Real SpectralNorm() const
bool hasVertexAnimation(void) const
Returns whether or not this Item is either morph or pose animated.
Real valueAngleUnits() const
Definition: OgreMath.h:787
unordered_map< unsigned int, String >::const_iterator SubroutineIterator
Definition: OgreGpuProgramParams.h:1453
const Matrix4 & getInverseTransposeWorldViewMatrix(void) const
bool isLanguageSupported(const String &lang)
Returns whether a given high-level language is supported.
static uint32 getDefaultQueryFlags()
Get the default query flags for all future MovableObject instances.
Definition: OgreMovableObject.h:490
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 ...
virtual void destroy(void)
Destroys all the built geometry state (reverse of build).
void setBlendblock(const HlmsBlendblock *blendblock)
Calls to this function cannot be skipped unless you have a renderableHash.
MovableObject(ObjectData *objectDataPtrs)
Don't use this constructor unless you know what you're doing.
static const int RenderableBits
Definition: OgreHlms.h:953
virtual void bindBufferCS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Binds the texture buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
void migrateTo(Transform &inOutTransform, size_t oldDepth, size_t newDepth, NodeMemoryManager *dstNodeMemoryManager)
Releases memory belonging to us, not before copying it into another manager.
void _unregisterContext(GL3PlusContext *context)
Unregister a render target->context mapping.
void migrateTo(BoneTransform &inOutTransform, size_t depth, BoneMemoryManager *dstBoneMemoryManager)
Releases memory belonging to us, not before copying it into another manager.
SubRenderStateSet::const_iterator SubRenderStateSetConstIterator
Definition: OgreShaderSubRenderState.h:163
virtual void removeMicrocodeFromCache(const String &source)
Removes a microcode for a program from the microcode cache.
void createWindowFromExternal(NSView *viewRef)
size_t _getFinalBufferStart(void) const
Definition: OgreBufferPacked.h:315
This is not a regular header, therefore it has no include guards.
Definition: OgreHlmsTextureBaseClass.h:76
Definition: OgreBitset.h:41
virtual void notifyOnDeviceLost(IDirect3DDevice9 *d3d9Device)
static const uint32 CHUNK_ID
Definition: OgreGrid3DPageStrategy.h:125
float getBestTime(void) const
Definition: OgreFrameStats.h:64
bool mSilenceMissingParameterWarnings
Don't log exceptions about missing parameters.
Definition: OgreShaderParams.h:143
const GpuConstantDefinition * _findNamedConstantDefinition(const String &name, bool throwExceptionIfMissing=false) const
Find a constant definition for a named parameter.
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
@ ID_KEEP
Definition: OgreScriptCompiler.h:965
bool execute(ObjectData objData, size_t numNodes, RaySceneQueryListener *listener)
void bindGpuProgramParameters(GpuProgramType gptype, GpuProgramParametersSharedPtr params, uint16 mask)
Bind Gpu program parameters.
uint32 getDepthOrSlices(void) const
Definition: OgreTextureBox.h:78
bool getUpdateShadowNode(void) const
Definition: OgreCompositorPassScene.h:107
@ ID_COMPUTE_HQ
Definition: OgreScriptCompiler.h:992
String file
Definition: OgreScriptCompiler.h:97
virtual size_t _asyncDownload(BufferPacked *source, size_t srcOffset, size_t srcLength)
Copies the GPU data in BufferPacked to the StagingBuffer so that it can be later read by the CPU usin...
DataStreamPtr encode(MemoryDataStreamPtr &input, CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
Vector3 getVoxelResolution(void) const
Simple profiler that will produce a CSV file for offline analysis once dumpProfileResults is called.
Definition: OgreOfflineProfiler.h:28
void setMetalness(float value)
Value for Metalness. Must be in range [0; 1].
D3D11BufferInterfaceBase(size_t vboPoolIdx, ID3D11Buffer *d3dBuffer)
Definition: OgreSceneManager.h:760
ParticleAffector * getAffector(unsigned short index) const
Retrieves an affector by it's index (zero-based).
size_t getSectionCount() const
Get the number of sections this world has.
Definition: OgrePagedWorld.h:154
virtual ~AndroidEGLContext()
const TexturePool * getTexturePool(void) const
Definition: OgreTextureGpu.h:530
uint8 type
Definition: OgreHlmsDiskCache.h:163
@ GCT_MATRIX_2X2
Definition: OgreGpuProgramParams.h:85
void setBuildEdgesEnabled(bool b)
list< SceneQuery::WorldFragment * >::type SceneQueryResultWorldFragmentList
Definition: OgreSceneQuery.h:202
HLMS stands for "High Level Material System".
Definition: OgreHlmsManager.h:78
@ CpuWrite
Notifies we've been writing from CPU to resource.
Definition: OgreResourceTransition.h:67
PbsMobileTextureTypes
Definition: OgreHlmsPbsMobilePrerequisites.h:54
static const IdString MaxTextureSlot
Definition: OgreHlmsCompute.h:206
Ogre::Vector2 leftEyeRadius
Definition: OgreHiddenAreaMeshVr.h:51
virtual void _threadMain()
Main function for each thread spawned.
Class defining a single pass of a Technique (of a Material), i.e.
Definition: OgrePass.h:67
void removeSubRenderStateFactory(SubRenderStateFactory *factory)
Remove sub render state factory.
uint32 getDepth(void) const
Gets the depth of the image.
static const ArrayReal fRad2Deg
Definition: OgreMathlibC.h:56
Class that allows listening in on the various stages of material serialization process.
Definition: OgreMaterialSerializer.h:78
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...
Definition: OgreD3D11NullTexture.h:79
bool getLoop(void) const
Gets whether or not this animation loops
Definition: OgreAnimationState.h:125
VertexMorphKeyFrame * getVertexMorphKeyFrame(unsigned short index) const
Returns the morph KeyFrame at the specified index.
T value_type
Definition: OgreProperty.h:218
void advanceCullLightPack()
Advances all pointers needed by MovableObject::cullLights to the next pack, i.e.
Definition: OgreObjectData.h:218
Vector4(const Vector3 &rhs, float fW)
Definition: OgreVector4.h:98
static String eventType
Definition: OgreScriptCompiler.h:545
ResourceAccess::ResourceAccess access
Definition: OgreCompositorPassComputeDef.h:90
void doSet(void *target, const String &val)
@ PBSM_BLEND_LIGHTEN
Definition: OgreHlmsPbsPrerequisites.h:89
ShaderFunctionList::const_iterator ShaderFunctionConstIterator
Definition: OgreShaderFunction.h:223
Real getValue(void) const
ControllerValue implementation.
void _refreshAnimationState(AnimationStateSet *animSet)
Refresh an animation set suitable for use with this skeleton.
uint32 getDepth(void) const
For TypeCube & TypeCubeArray, this value returns 1.
virtual void setClearStencil(uint32 clearStencil)
MetalTexture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, MetalDevice *device)
Matrix4 getTransposeWorldViewProjMatrix() const
@ Compositor
Created by compositor, for shadow mapping.
Definition: OgreTextureGpu.h:167
ComputeTextureSource(size_t _texUnitIdx, IdString _textureName)
Definition: OgreCompositorPassComputeDef.h:71
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
static const IdString UvDiffuse7
Definition: OgreUnlitProperty.h:84
bool mInformationOnly
When true, beginRenderPassDescriptor & endRenderPassDescriptor won't actually load/store this pass de...
Definition: OgreRenderPassDescriptor.h:189
vector< ManualObjectSection * >::type SectionList
Definition: OgreManualObject2.h:330
void createRenderTexture()
TextureSlot & getTexture(void)
Definition: OgreDescriptorSetTexture.h:272
virtual void doSet(void *target, const String &val)=0
ObjectMemoryManager * getTwin() const
Note the return value can be null.
Definition: OgreObjectMemoryManager.h:91
virtual void bakeLodLevel(LodData *data, int lodIndex)=0
uint32 getSuggestedTexWidth(void) const
void transformAffine(const Matrix4 &matrix)
Transforms the box according to the matrix supplied.
NormalMapSpace getNormalMapSpace() const
Return the normal map space.
Definition: OgreShaderExNormalMapLighting.h:130
virtual void _renderEmulatedNoBaseInstance(const CbDrawCallStrip *cmd)
Definition: OgreRenderSystem.h:1072
void _refreshAnimationState(AnimationStateSet *animSet)
Refresh an animation set suitable for use with this mesh.
::GLXContext mContext
Definition: OgreGLXContext.h:55
void _setPointParameters(Real size, bool attenuationEnabled, Real constant, Real linear, Real quadratic, Real minSize, Real maxSize)
See RenderSystem.
Definition: OgreGLES2RenderSystem.h:276
void setCreationPolicy(D3D9ResourceCreationPolicy creationPolicy)
@ M_ANIMATIONS
Definition: OgreMeshFileFormat.h:157
#define Window
Definition: OgreX11EGLSupport.h:83
bool needsTexPool
Definition: OgreVctVoxelizer.h:64
#define OGRE_HASH_FUNC
Definition: OgreIdString.h:38
OldSkeletonInstance * getSkeleton(void) const
Get this Entity's personal skeleton instance.
Definition: OgreEntity.h:483
static String toString(int val, unsigned short width=0, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
Converts an int to a String.
void _readRawConstants(size_t physicalIndex, size_t count, float *dest)
Read a series of floating point values from the underlying float constant buffer at the given physica...
Real getNearClipDistance(void) const
Sets the position of the near clipping plane.
Definition: OgreShaderParams.h:63
Real z
Definition: C/OgreArrayQuaternion.h:68
void setProjectiveTexturing(bool enabled, const Frustum *projectionSettings=0)
Enables or disables projective texturing on this texture unit.
void setDiffuse(Real red, Real green, Real blue, Real alpha)
Sets the diffuse colour reflectance properties of every Pass in every Technique.
#define OGRE_EXCEPT_EX(code, num, desc, src)
Definition: OgreException.h:303
static const String & getPointLightExtruderArbvp1FiniteDebug(void)
Get FINITE extruder program source for debug point lights, compatible with arbvp1.
Definition: OgreShadowVolumeExtrudeProgram.h:302
Implements the uniform shadow mapping algorithm in focused mode.
Definition: OgreShadowCameraSetupFocused.h:56
void *RESTRICT_ALIAS_RETURN map(size_t elementStart, size_t elementCount, bool bAdvanceFrame=true)
Maps the specified region to a pointer the CPU can access.
Real getMaxHeight() const
Get the maximum height of the terrain.
void add2D(OverlayContainer *cont)
Adds a 2D 'container' to the overlay.
bool isStereoEnabled(const String &renderWindowName) const
D3D9Device * getDevice(UINT index)
For cubemaps, the face is in sliceStart, (see CubemapSide::CubemapSide) For cubemap arrays,...
Definition: OgreTextureBox.h:43
uint32 getQueryFlags(void) const
Get the default query flags for terrains.
Definition: OgreTerrain.h:2013
virtual void unload()
Unload this page.
void _setVboPoolIndex(size_t newVboPool)
Definition: OgreD3D11BufferInterface.h:60
STLAllocator(STLAllocator< U, P > const &)
cast
Definition: OgreMemorySTLAllocator.h:121
String doGet(const void *target) const
MovableObjectFactory * getMovableObjectFactory(const String &typeName)
Get a MovableObjectFactory for the given type.
@ FET_TAN_HALF_ANGLES
Represet extents as tan of the half angles in radians (ie FoV)
Definition: OgreFrustum.h:87
std::pair< bool, Real > intersects(const Ray &ray)
Intersection test with a Ray.
Definition: OgrePlaneBoundedVolume.h:124
void cleanUnfencedHazards(void)
const CompositorChannel & getGlobalTexture(IdString name) const
CompositorNodeDef * mParentNodeDef
Definition: OgreCompositorPassIblSpecularDef.h:64
void setAssociatedNode(Node *node)
Sets the associated OldNode object which will be automatically affected by calls to 'apply'.
const Radian & getSpotlightInnerAngle(void) const
Returns the angle covered by the spotlights inner cone.
Definition: OgreLight.h:314
static DistanceLodSphereStrategy * getSingletonPtr(void)
Override standard Singleton retrieval.
A LODBucket is a collection of smaller buckets with the same LOD.
Definition: OgreStaticGeometry.h:310
virtual bool removeRenderWindow(const String &renderWindowName)
static String toString(const Vector2 &val)
Converts a Vector2 to a String.
const String & getCompatibleTarget(void) const
Gets the shader target promoted to the first compatible, e.g.
GLSL Language program processor class.
Definition: OgreShaderGLSLProgramProcessor.h:47
virtual bool resourceCollision(Resource *resource, ResourceManager *resourceManager)=0
This event is called when a resource collides with another existing one in a resource manager.
@ PFG_BGRA8_UNORM_SRGB
Avoid this one (prefer RGBA8).
Definition: OgrePixelFormatGpu.h:151
bool getBorderless(void) const
TextureFilterOptions
High-level filtering options providing shortcuts to settings the minification, magnification and mip ...
Definition: OgreCommon.h:194
vector< Block >::type BlockVec
Definition: OgreNULLVaoManager.h:80
void _setProjectionMatrix(const Matrix4 &m)
See RenderSystem.
ManualResourceLoader()
Definition: OgreResource.h:520
Vector3 renderableCenter
Definition: OgrePlanarReflections.h:85
void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera, list< Particle * >::type ¤tParticles, bool cullIndividually, RenderableArray &outRenderables)
Delegated to by ParticleSystem::_updateRenderQueue.
@ SPC_LIGHTPOSITION_WORLD_SPACE3
Definition: OgreShaderParameter.h:220
float getPowerScale(void) const
Definition: OgreIrradianceVolume.h:117
An instance of a layer, with specific texture names.
Definition: OgreTerrain.h:302
virtual ~ShaderProgramWriterHLSLFactory()
Definition: OgreShaderHLSLProgramWriter.h:123
size_t indexSize
Definition: OgreLodData.h:140
@ PBSM_DETAIL0_NM
Definition: OgreHlmsPbsPrerequisites.h:67
static HiddenAreaVrSettings loadSettings(const String &deviceName, ConfigFile &configFile)
Fills HiddenAreaVrSettings from a config file.
@ FlagsNone
Default behaviour.
Definition: OgreProfilerCommon.h:37
virtual bool isVisible(const Vector3 &vert, FrustumPlane *culledBy=0) const
Tests whether the given vertex is visible in the Frustum.
void addTranslatorManager(ScriptTranslatorManager *man)
Adds the given translator manager to the list of managers.
String mType
Definition: OgreScriptCompiler.h:353
void stop()
GL3PlusSupport::stop
@ PFG_BGRX8_UNORM
Avoid this one (prefer RGBA8).
Definition: OgrePixelFormatGpu.h:147
virtual void freeInternalResources(void)
Frees internal texture resources for this texture.
@ PFG_RG8_UNORM
Definition: OgrePixelFormatGpu.h:95
void setLeftBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the left edge of the border.
void setStagingTextureMaxBudgetBytes(size_t stagingTextureMaxBudgetBytes)
At a high level, texture loading works like this:
String getDisplayName(void)
void copyConstantsFrom(const GpuProgramParameters &source)
Copies the values of all constants (including auto constants) from another GpuProgramParameters objec...
Specialisation of the Archive class to allow reading of files from filesystem folders / directories.
Definition: OgreFileSystem.h:50
virtual void createInternalResources(void)
Creates the internal texture resources for this texture.
void _switchContext(GL3PlusContext *context)
Switch GL context, dealing with involved internal cached states too.
Slot(SlotType _slotType)
Definition: OgreDescriptorSetTexture.h:239
@ LBX_BLEND_TEXTURE_ALPHA
as LBX_BLEND_DIFFUSE_ALPHA, but use alpha from texture
Definition: OgreBlendMode.h:97
virtual void _notifyParticleMoved(list< Particle * >::type ¤tParticles)
Optional callback notified when particles moved.
Definition: OgreParticleSystemRenderer.h:92
HardwareBuffer(Usage usage, bool systemMemory, bool useShadowBuffer)
Constructor, to be called by HardwareBufferManager only.
Definition: OgreHardwareBuffer.h:163
PageStrategyData * createData()
Create a PageStrategyData instance containing the data specific to this PageStrategy.
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a vertex buffer.
const Vector3 & getCentre(void) const
Get the centre point of the region.
Definition: OgreStaticGeometry.h:409
double extraParamValue
Definition: OgreShaderParams.h:65
bool _shouldUpdateShadowMapIdx(uint32 shadowMapIdx) const
GpuProgramType mProgramType
Definition: OgreScriptCompiler.h:555
uint32 stride
Definition: OgreNULLVaoManager.h:98
void construct(pointer p, const T &val)
Definition: OgreMemorySTLAllocator.h:172
static void recreateResizableTextures01(const TextureDefinitionVec &textureDefs, CompositorChannelVec &inOutTexContainer, const TextureGpu *finalTarget)
Destroys & recreates only the textures that depend on the main RT (e.g.
ForwardPlusBase * getForwardPlus(void)
Definition: OgreSceneManager.h:1273
virtual OverlayElement * createOverlayElement(const String &instanceName)=0
Creates a new OverlayElement instance with the name supplied.
void setEntryPoint(const String &entryPoint)
Sets the entry point for this program ie the first method called.
Definition: OgreD3D11HLSLProgram.h:306
@ VES_TEXTURE_COORDINATES
Texture coordinates.
Definition: OgreVertexElements.h:54
virtual bool isVisible(void) const
uint32 depth
Definition: OgreImageCodec.h:63
ID3D11Buffer * getD3DBuffer(void)
Get the D3D-specific buffer.
Definition: OgreD3D11HardwareBuffer.h:83
String resourceName
Definition: OgreResourceGroupManager.h:296
Vector3 getScale(void) const
Gets the scale of the node relative to its parent.
@ FGT_UNKNOWN
Definition: OgreStaticFaceGroup.h:48
FFPLighting()
Class default constructor.
void _initialise(bool forceReinitialise=false)
Try to initialise the Item from the underlying resources.
GpuPageOutStrategy::GpuPageOutStrategy getGpuPageOutStrategy(void) const
static const String & getPointLightExtruderVs_glslDebug(void)
Get extruder program source for debug point lights, compatible with glsl.
Definition: OgreShadowVolumeExtrudeProgram.h:260
@ PFG_BC7_UNORM
Definition: OgrePixelFormatGpu.h:160
void setFog(FogMode mode, const ColourValue &colour, Real expDensity, Real linearStart, Real linearEnd)
virtual const String & getFSAAHint() const
Gets the FSAA hint (.
Definition: OgreRenderTarget.h:343
Bone * getParent(void) const
Gets this Bones's parent (NULL if this is the root).
Definition: OgreBone.h:142
static const IdString DetailOffsetsD1
Definition: OgreHlmsPbsMobile.h:128
virtual bool getHasInstanceData() const
Returns true if this binding has an element that contains instance data.
virtual void bindBufferGS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
virtual void setHoldRadius(Real sz)
Set the Holding radius.
bool isPrimary(void) const
@ LB_BlendColor
Definition: OgreShaderExLayeredBlending.h:77
virtual void setTextureType(TextureTypes::TextureTypes textureType)
The details of a topological region which is the highest level of partitioning for this class.
Definition: OgreStaticGeometry.h:364
const AutoConstantList & getAutoConstantList() const
Get a reference to the list of auto constant bindings.
Definition: OgreGpuProgramParams.h:1925
@ SPC_BLEND_WEIGHTS
Blending weights.
Definition: OgreShaderParameter.h:240
TechniqueIterator getSupportedTechniqueIterator(void)
Gets an iterator over all the Techniques which are supported by the current card.
const String & getName(void) const
Get the name of the pass.
Definition: OgrePass.h:213
bool hasComputeProgram(void) const
Returns true if this pass uses a programmable compute pipeline.
Definition: OgrePass.h:196
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:1432
virtual void read(Node *node, size_t count=1)
virtual RenderPassDescriptor * createRenderPassDescriptor(void)
static std::pair< bool, Real > intersects(const Ray &ray, const Vector3 &a, const Vector3 &b, const Vector3 &c, const Vector3 &normal, bool positiveSide=true, bool negativeSide=true)
Ray / triangle intersection, returns boolean result and distance.
virtual void _updateFromShadow(void)
Updates the real buffer from the shadow buffer, if required.
Definition: OgreHardwareBuffer.h:307
FastArray< ReadRequests > ReadRequestsArray
Definition: OgreVertexIndexData.h:251
@ PFG_B5G6R5_UNORM
Definition: OgrePixelFormatGpu.h:142
D3D11_PRIMITIVE_TOPOLOGY topology
Definition: OgreD3D11HlmsPso.h:47
String doGet(const void *target) const
@ VRM_PROPORTIONAL
Percentage of vertexes to be removed from each submesh.
Definition: OgreLodConfig.h:65
void bindParameters(GpuProgramParametersSharedPtr params, uint16 mask)
Execute the param binding functions for this shader.
@ Undefined
Definition: OgreResourceTransition.h:112
vector< LodLevel >::type LodLevelList
Lod strategy to use.
Definition: OgreLodConfig.h:130
T operator++(void)
Definition: OgreAtomicScalar.h:445
void *RESTRICT_ALIAS_RETURN map(size_t start, size_t count, size_t &outTicket)
Assumes mVboName is already bound to GL_COPY_WRITE_BUFFER!!!
void fillUavDependenciesForNextWorkspace(ResourceLayoutMap &outInitialLayouts, ResourceAccessMap &outInitialUavAccess) const
When two workspaces work on the same channels/textures, to avoid race conditions in Compute Shaders e...
virtual_l2 const Matrix4 & _getFullTransformUpdated(void)
@See _getDerivedScaleUpdated remarks.
virtual void beginRenderPassDescriptor(RenderPassDescriptor *desc, TextureGpu *anyTarget, uint8 mipLevel, const Vector4 *viewportSizes, const Vector4 *scissors, uint32 numViewports, bool overlaysEnabled, bool warnIfRtvWasFlushed)
When the descriptor is set to Load clear, two possible things may happen:
Definition: OgreLodData.h:133
bool succeeded() const
Return whether this is a successful response.
Definition: OgreWorkQueue.h:145
@ RSC_FBO
Support for Frame Buffer Objects (FBOs)
Definition: OgreRenderSystemCapabilities.h:253
SharedPtr< LodCollapseCost > LodCollapseCostPtr
Definition: OgreLodPrerequisites.h:62
@ LBS_MANUAL
a colour supplied manually as a separate argument
Definition: OgreBlendMode.h:123
@ ACT_LIGHT_ATTENUATION_ARRAY
Array of light attenuation parameters, Vector4(range, constant, linear, quadric) (count set by extra ...
Definition: OgreGpuProgramParams.h:1082
virtual void scale(const Vector3 &scale)
Scales the OldNode, combining it's current scale with the passed in scaling factor.
FastArray< unsigned short > IndexMap
Definition: OgreMesh.h:106
@ VERTEX_BUFFER
Definition: OgreD3D11HardwareBuffer.h:45
void lock()
Acquires the exclusive lock.
std::pair< size_t, size_t > VertexSplit
Definition: OgreTangentSpaceCalc.h:56
Abstract class which is command object which gets/sets parameters.
Definition: OgreStringInterface.h:83
virtual void bindToFramebuffer(GLenum attachment, uint32 zoffset)
Bind surface to frame buffer.
virtual void freeInternalResources(void)
Frees internal texture resources for this texture.
static ParameterPtr getParameterByName(const ShaderParameterList ¶meterList, const String &name)
Get parameter by a given name from the given parameter list.
virtual void _render(const CbDrawCallIndexed *cmd)
Renders the VAO. Assumes _setVertexArrayObject has already been called.
String doGet(const void *target) const
Terrain::ImportData * importData
Import data, if this is to be defined based on importing.
Definition: OgreTerrainGroup.h:309
void setAmalgamatedProfiling(bool bEnabled)
When building with OGRE_PROFILING enabled, setting this option to true will cause the profiler to col...
Definition: OgreCompositorWorkspace.h:181
@ SPC_POSTOLIGHT_OBJECT_SPACE7
Definition: OgreShaderParameter.h:134
static const IdString ObbRestraintLtc
Definition: OgreHlmsPbs.h:562
MaterialBucket(LODBucket *parent, const String &materialName)
virtual void setMaterialName(const String &matName)
Sets the name of the material this element will use.
virtual ~GLES2RTTManager()
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
virtual ResourceHandle getHandle(void) const
Definition: OgreResource.h:332
bool isVisible(const Sphere &bound, FrustumPlane *culledBy=0) const
Tests whether the given container is visible in the Frustum.
Region * getParent(void)
Definition: OgreStaticGeometry.h:332
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:125
void addItem(Item *item, bool bCompressed, uint32 indexCountSplit=0u)
EdgeData * getEdgeList(unsigned short lodIndex=0)
Return the edge list for this mesh, building it if required.
SceneCtlAllocatedObject NodeAlloc
Definition: OgreMemoryAllocatorConfig.h:315
@ ParallaxCorrectedCubemap
Definition: OgreSceneFormatBase.h:74
void _collectIdentityOldNodeTracks(TrackHandleList &tracks) const
Internal method for collecting identity node tracks.
void taskLoadToSysRamOrResident(TextureGpu *texture, const ScheduledTasks &task)
Implements TaskTypeResidencyTransition when doing any of the following transitions: OnStorage -> Resi...
SubEntity * getSubEntity(const String &name)
Gets a pointer to a SubEntity by name.
A collection of OldBone objects used to animate a skinned mesh.
Definition: OgreSkeleton.h:87
virtual const ColourValue & getColourRangeStart(void) const
Gets the minimum colour of particles to be emitted.
void _setBounds(const AxisAlignedBox &bounds, bool pad=true)
Manually set the bounding box for this Mesh.
virtual void setUserAny(const Any &anything)
Definition: OgreOldNode.h:730
X11EGLWindow(X11EGLSupport *glsupport)
@ ID_INSTANCED_STEREO
Definition: OgreScriptCompiler.h:927
virtual void save(StreamSerialiser &stream)
Save this section to a stream.
Real getCurrentFrame(void) const
Gets the current animation frame, in frames.
Definition: OgreSkeletonAnimation.h:110
CreateMaterialScriptCompilerEvent(const String &file, const String &name, const String &resourceGroup)
Definition: OgreScriptCompiler.h:547
ImageBlur2D separableBlur_XX88
Definition: OgreImageDownsampler.h:101
bool isLast
Definition: OgreTerrainLodManager.h:81
HlmsMacroblock macroblock
Definition: OgreHlmsDiskCache.h:150
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
@ FFP_LIGHTING
Definition: OgreShaderFFPRenderState.h:73
void swap(FastArray< T > &other)
Definition: OgreFastArray.h:107
uint32 getQueryFlags(void) const
Get the query flags for this terrain.
Definition: OgreTerrain.h:1362
void _deinitialise(void)
Tear down the internal structures of this Entity, rendering it uninitialised.
virtual void _setNullDatablock(void)
Sets the datablock to a null pointer.
@ PFG_ASTC_RGBA_UNORM_5X5_sRGB
Definition: OgrePixelFormatGpu.h:254
friend class CPreprocessor::Macro
Definition: OgreGLSLPreprocessor.h:204
const Vector3 & getMinimum(void) const
Gets the minimum corner of the box.
Definition: OgreAxisAlignedBox.h:149
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:144
GLSLESProgramCommon(GLSLESShader *vertexProgram, GLSLESShader *fragmentProgram)
Constructor should only be used by GLSLESLinkProgramManager and GLSLESProgramPipelineManager.
CbDrawCall(uint16 cmdType)
SceneBlendFactor getColourBlendFallbackSrc(void) const
Get the multipass fallback for colour blending operation source factor.
const T * const_iterator
Definition: OgreMain/include/OgreSmallVector.h:173
void endProfile(const String &profileName, uint32 groupID=(uint32) OGREPROF_USER_DEFAULT)
Ends a profile.
bool getFrustumExtentsManuallySet(void) const
virtual bool canMapMoreThanOneSlice(void) const
See Image2::convertFromTexture for an example of how to use AyncTextureTicket.
Definition: OgreAsyncTextureTicket.h:170
virtual bool hasNonZeroKeyFrames(void) const
Method to determine if this track has any KeyFrames which are doing anything useful - can be used to ...
void getInitialState(Vector3 *outPosition, Quaternion *outOrientation, Vector3 *outScale)
Get the initial state of the node for this track.
OverlayElement * createOverlayElement(const String &instanceName)
See OverlayElementFactory.
Definition: OgreOverlayElementFactory.h:90
Ogre::Vector2 rightNoseRadius
Definition: OgreHiddenAreaMeshVr.h:60
static void processQueuedUpdates(void)
Process queued 'needUpdate' calls.
Definition: OgreHlmsDiskCache.h:135
bool getEnableBackwardsCompatibility(void) const
Gets whether backwards compatibility is enabled.
Definition: OgreD3D11HLSLProgram.h:329
@ CE_STRINGEXPECTED
Definition: OgreScriptCompiler.h:209
bool hasCapability(const Capabilities c) const
Checks for a capability.
Definition: OgreRenderSystemCapabilities.h:610
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.
static void startup(void)
Static method to startup and register the DDS codec.
@ D3D_ERROR
Definition: OgreD3D11Device.h:97
T::key_type KeyType
Type you expect to get by funktions like peekNextKey.
Definition: OgreIteratorWrapper.h:265
void useSkeletonInstanceFrom(Item *master)
Starts using the SkeletonInstance from 'master' instead of using our own.
@ PCF_6x6
Better and slower than 5x5, same considerations.
Definition: OgreHlmsPbs.h:77
TextureGpu * getCurrentSsrTexture(void) const
Definition: OgreSceneManager.h:1316
ColourValue colourArg1
Manual colour value for manual source1.
Definition: OgreBlendMode.h:152
SampleDescription sampleDescription
FSAA specific settings.
Definition: OgreHlmsPso.h:109
virtual const String & getType() const
@ LB_BlendDifference
Definition: OgreShaderExLayeredBlending.h:58
@ ID_LOD_UPDATE_LIST
Definition: OgreScriptCompiler.h:906
void setComputeProgramConstantFloatCount(ushort c)
The number of floating-point constants compute programs support.
Definition: OgreRenderSystemCapabilities.h:942
static String Type
Definition: OgreShaderFFPAlphaTest.h:107
TextureGpuManager * getTextureManager(void) const
Per-Pixel reflection probes.
Definition: OgreParallaxCorrectedCubemapAuto.h:67
void remove(iterator it)
Definition: OgreVectorSetImpl.h:47
virtual void windowMovedOrResized()
Notify that the window has been resized.
Definition: OgreRenderWindow.h:130
bool getAutoDelete(void) const
ushort maxWeightCount
Definition: OgreShaderExHardwareSkinning.h:67
virtual bool queryIsTransferDone(void)
virtual void notifyTextureChanged(TextureGpu *texture, TextureGpuListener::Reason reason, void *extraData)
TextureGpuListener overload.
bool isNaN() const
Check whether this vector contains valid values.
Definition: OgreVector2.h:546
uint32 getInternalSliceStart(void) const
@ ID_MATERIAL_SCHEME
Definition: OgreScriptCompiler.h:910
Definition: OgreScriptCompiler.h:566
virtual void setQueryMask(uint32 mask)
Sets the mask for results of this query.
size_t mNumRayBounces
In range [0; inf).
Definition: OgreInstantRadiosity.h:144
virtual String getParameter(const String &name) const
Generic parameter retrieval method.
Definition: OgreStringInterface.h:251
virtual void _setHlmsHashes(uint32 hash, uint32 casterHash)
Manually sets the hlms hashes. Don't call this directly.
GL3PlusDefaultHardwareCounterBuffer(HardwareBufferManagerBase *mgr, const String &name)
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: OgreMain/include/OgreSmallVector.h:336
static GLsync waitFor(GLsync fenceName)
Will stall undefinitely until GPU finishes (signals the sync object).
BufferType
Definition: OgreBufferPacked.h:37
virtual void _hlmsComputePipelineStateObjectCreated(HlmsComputePso *newPso)
Definition: OgreRenderSystem.h:847
@See HlmsPso.
Definition: OgreGLES2HlmsPso.h:46
void setSphericalHarmonics(Vector3 ambientSphericalHarmonics[9])
MeshSerializerImpl_v1_3()
@ ACT_INVERSE_VIEWPORT_HEIGHT
This variable represents 1.0/ViewportHeight.
Definition: OgreGpuProgramParams.h:1254
Chunk()
Definition: OgreStreamSerialiser.h:106
Matrix4 concatenate(const Matrix4 &m2) const
Definition: OgreMatrix4.h:223
@ GPU_QUALCOMM
Definition: OgreRenderSystemCapabilities.h:321
EdgeData * getEdgeList(void)
Implement this method to enable stencil shadows.
#define MANAGED_RESOURCE
Definition: OgreGLES2ManagedResource.h:63
void _setSeparateSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendFactor sourceFactorAlpha, SceneBlendFactor destFactorAlpha, SceneBlendOperation op, SceneBlendOperation alphaOp)
void addRequestToQueue(LodWorkQueueRequest *request)
@ LB_BlendReflect
Definition: OgreShaderExLayeredBlending.h:73
bool isMipmapsDirty(void) const
Definition: OgreRenderTarget.h:356
String currentValue
Definition: OgreConfigOptionMap.h:52
virtual void clearUAVs(void)
static ArrayQuaternion nlerp(ArrayReal fT, const ArrayQuaternion &rkP, const ArrayQuaternion &rkQ)
@See Quaternion::nlerp
void doSet(void *target, const String &val)
Definition: OgreLod0Stripifier.h:65
bool compile(const bool checkErrors=false)
Compile source into shader object.
DeflateStream(const DataStreamPtr &compressedStream, const String &tmpFileName="", size_t avail_in=0)
Constructor for creating unnamed stream wrapping another stream.
Convenience class to make it easy to step through all particles in a ParticleSystem.
Definition: OgreParticleIterator.h:49
size_t doubleBufferSize
Total size of the double buffer required.
Definition: OgreGpuProgramParams.h:490
GLenum sourceBlend
Definition: OgreGLES2HlmsPso.h:55
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
virtual bool getUseAccurateFacing(void) const
Gets whether or not billboards use an 'accurate' facing model based on the vector from each billboard...
Definition: OgreBillboardSet.h:691
virtual void save(StreamSerialiser &stream)=0
Save the content to a stream.
RenderWindow * createWindow(bool autoCreateWindow, GLES2RenderSystem *renderSystem, const String &windowTitle)
Definition: OgreRenderSystem.h:909
int build
Definition: OgreRenderSystemCapabilities.h:281
void buildEdgeList(void)
Builds an edge list for this mesh, which can be used for generating a shadow volume among other thing...
virtual void setBindingPose(void)
Sets the current position / orientation to be the 'binding pose' i.e.
virtual void postFindVisibleObjects(SceneManager *source, IlluminationRenderStage irs, Viewport *v)
Called after searching for visible objects in this SceneManager.
Definition: OgreSceneManager.h:281
size_t tell(void) const
Returns the current byte offset from beginning.
virtual void _setSamplers(uint32 slotStart, const DescriptorSetSampler *set)
SubRenderStateFactory * getSubRenderStateFactory(size_t index)
Returns a sub render state factory by index.
uint16 getEsmK(void) const
Definition: OgreHlmsUnlit.h:140
void _beginFrame(void)
Signifies the beginning of a frame, i.e.
@ SBF_ONE_MINUS_DEST_COLOUR
Definition: OgreBlendMode.h:240
bool operator==(const LayerBlendModeEx &rhs) const
Definition: OgreBlendMode.h:162
@ PFG_ASTC_RGBA_UNORM_10X6_LDR
Definition: OgrePixelFormatGpu.h:245
@ SPC_POSTOLIGHT_VIEW_SPACE2
Definition: OgreShaderParameter.h:149
void _writeRawConstants(size_t physicalIndex, const int *val, size_t count)
Write a series of integer values into the underlying integer constant buffer at the given physical in...
size_t elementCount
Definition: OgreGpuProgramParams.h:1430
ParamDictionary * getParamDictionary(void)
Retrieves the parameter dictionary for this class.
Definition: OgreStringInterface.h:198
MapIterator< ParticleSystemRendererFactoryMap > ParticleRendererFactoryIterator
Definition: OgreParticleSystemManager.h:335
bool requiresTextureFlipping(void) const
Definition: OgreRenderPassDescriptor.h:227
Definition: OgreMathlibC.h:43
LayerBlendType
Type of texture blend mode.
Definition: OgreBlendMode.h:45
@ Scale
Definition: OgreArrayMemoryManager.h:309
bool getPoseNormals()
Definition: OgreSubMesh2.h:209
static const IdString IrradianceVolumes
Definition: OgreHlmsPbs.h:552
D3D11Driver * findByName(const String &name)
const CompositorNodeDef * getNodeDefinition(IdString nodeDefName) const
Returns the node definition with the given name. Throws if not found.
void setPointMinSize(Real min)
Set the minimum point size, when point attenuation is in use.
virtual void execute(const Camera *lodCamera)
void updateGeometry()
Performs an update on all terrain geometry.
void addTextureUnitState(TextureUnitState *state)
Adds the passed in TextureUnitState, to the existing Pass.
virtual void _render(const v1::CbDrawCallStrip *cmd)
virtual void _setComputePso(const HlmsComputePso *pso)
Unlike _setPipelineStateObject, the RenderSystem will check if the PSO has changed to avoid redundant...
void addSample(uint64 timeMs)
Adds a new measured time, in microseconds
Definition: OgreFrameStats.h:91
ArrayVector3 zAxis(void) const
Returns the Z orthonormal axis defining the quaternion.
virtual void _resumeFrame(RenderSystemContext *context)
Resume rendering for a frame.
@ ID_TARGET
Definition: OgreScriptCompiler.h:871
virtual ~MetalDepthTextureTarget()
size_t getPoseCount(void) const
Get the number of poses.
Definition: OgreMesh.h:1009
bool isClosed() const
Indicates whether the window has been closed by the user.
Definition: OgreD3D9RenderWindow.h:52
set< SubRenderState * >::type SubRenderStateSet
Definition: OgreShaderSubRenderState.h:161
Implement a sub render state which performs dual quaternion hardware skinning.
Definition: OgreShaderExDualQuaternionSkinning.h:59
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.
virtual void allocateVertexBuffers(Terrain *forTerrain, size_t numVertices, HardwareVertexBufferSharedPtr &destPos, HardwareVertexBufferSharedPtr &destDelta)=0
Allocate (or reuse) vertex buffers for a terrain LOD.
GLES2HardwareBufferManagerBase()
GLSLShader * hullShader
Definition: OgreGL3PlusHlmsPso.h:65
CbShaderBuffer(ShaderType shaderType, uint16 _slot, ConstBufferPacked *_bufferPacked, uint32 _bindOffset, uint32 _bindSizeBytes)
const String & getName(void) const
Get the name of this archive.
Definition: OgreArchive.h:108
virtual unsigned short getNumWorldTransforms(void) const
Returns the number of world transform matrices this renderable requires.
Definition: OgreRenderable.h:143
virtual void _hlmsSamplerblockDestroyed(HlmsSamplerblock *block)
int XCreateColormap(Display *nativeDisplayType, Window nativeWindowType, int visual, int allocNone)
virtual void initializeSession()
@ TypeGenerateDefaultMipmaps
Definition: OgreTextureFilters.h:60
bool _getUseVertexCompression() const
Whether we're using vertex compression or not.
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
const RawSimdUniquePtr< ArrayMatrixAf4x3, MEMCATEGORY_ANIMATION > & getReverseBindPose(void) const
Definition: OgreSkeletonDef.h:151
PixelFormatFlags
Flags defining some on/off properties of pixel formats.
Definition: OgrePixelFormat.h:369
static OldSkeletonManager * getSingletonPtr(void)
Override standard Singleton retrieval.
const Light * getLightAssociatedWith(uint32 shadowMapIdx) const
Note: May return null if there is no such shadowMapIdx, or if there is no light that could be linked ...
virtual void load(SceneNode *parent, SceneManager *sceneManager, const String &filename, bool validSourceResult=false, MeshBuilderCallback *lodCallback=0, const String &resourceGroup=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Loads a TextureSource volume scene from a config file.
String getMaterialName(void) const
Definition: OgreSubMesh2.h:188
static bool isNumber(const String &val)
Checks the String is a valid number value.
Real w
Definition: OgreDualQuaternion.h:166
void setStereoModeType(StereoModeType stereoMode)
Definition: OgreWin32GLSupport.h:90
D3D11AsyncTextureTicket(uint32 width, uint32 height, uint32 depthOrSlices, TextureTypes::TextureTypes textureType, PixelFormatGpu pixelFormatFamily, D3D11VaoManager *vaoManager)
virtual void notifyDataIsReady(void)=0
Notifies it is safe to use the real data. Everything has been uploaded.
uint32 mLightMask
Definition: OgreInstantRadiosity.h:136
@ PF_PVRTC_RGBA2
PVRTC (PowerVR) RGBA 2 bpp.
Definition: OgrePixelFormat.h:148
AsyncTextureTicket(uint32 width, uint32 height, uint32 depthOrSlices, TextureTypes::TextureTypes textureType, PixelFormatGpu pixelFormatFamily)
T height() const
Definition: OgreCommon.h:736
static ArrayReal Cmov4(ArrayReal arg1, ArrayReal arg2, ArrayMaskR mask)
Branchless conditional move for 4 floating point values.
Definition: OgreMathlibC.h:94
void * getRawBuffer(void)
Definition: OgreImage2.h:307
static int parseInt(const String &val, int defaultValue=0)
Converts a String to a whole number.
virtual ~D3D9StereoDriverAMD()
Side
The "positive side" of the plane is the half space to which the plane normal points.
Definition: OgrePlane.h:85
static const IdString EnvProbeMap
Definition: OgreHlmsPbsMobile.h:110
Definition: OgreShaderExHardwareSkinning.h:60
void setElapsedTime(Real elapsedTime)
void setName(const String &name)
Sets a custom name for this node.
Definition: OgreNode.h:201
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:64
RenderTarget * source
The source of the event being raised.
Definition: OgreRenderTargetListener.h:47
CompositorShadowNodeDef * getShadowNodeDefinitionNonConst(IdString nodeDefName) const
@See getShadowNodeDefinition.
virtual bool setDrawBuffer(ColourBufferType colourBuffer)=0
ParameterPtr resolveLocalParameter(Parameter::Semantic semantic, int index, const String &name, GpuConstantType type)
Resolve local parameter of this function
bool setStatic(bool bStatic)
Turns this Node into static or dynamic.
@ ID_TRANSPARENCY_CASTS_SHADOWS
Definition: OgreScriptCompiler.h:630
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.
ArrayReal getMinComponent() const
Returns the smallest value between x, y, z; min( x, y, z )
virtual void notifyCamera(Camera *cam)
Notify a section of the current camera.
void advanceLodPack()
Definition: OgreObjectData.h:239
PoseRef(ushort p, Real i)
Definition: OgreKeyFrame.h:212
v1::GLES2HardwarePixelBuffer * buffer
Definition: OgreGLES2RenderTexture.h:44
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.
Real *RESTRICT_ALIAS mWorldRadius
Ours is mWorldRadius[mIndex].
Definition: OgreObjectData.h:72
virtual void setRepeatDelay(Real min, Real max)
Sets the range of random duration for this emitter.
eTexturePlayMode getPlayMode() const
Gets currently set play mode.
Definition: OgreExternalTextureSource.h:125
void _ensureDelayedImmutableBuffersAreReady(void)
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
Definition: OgreOverlayElement.h:437
virtual void bindBufferGS(uint16 slot)=0
void save(StreamSerialiser &stream)
Save terrain data in native form to a serializing stream.
ID3D11Resource * getMsaaFramebufferName(void) const
Definition: OgreD3D11TextureGpu.h:118
void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
Definition: OgreNaClWindow.h:39
void append(size_type NumInputs, const T &Elt)
append - Add the specified range to the end of the SmallVector.
Definition: OgreMain/include/OgreSmallVector.h:426
void setTessellationHullProgram(const String &name, bool resetParams=true)
Support for shader model 5.0, hull and domain shaders.
void _initialise(void)
Initialises the manager, only to be called by OGRE internally.
void _render(const v1::RenderOperation &op)
Render something to the active viewport.
virtual void _autogenerateMipmaps(void)
Tells the API to let the HW autogenerate mipmaps.
@ ACT_VIEWPORT_WIDTH
viewport-related values
Definition: OgreGpuProgramParams.h:1242
virtual void _beginFrame(void)=0
Signifies the beginning of a frame, i.e.
OGRE_MUTEX(mTexUnitChangeMutex)
void removeSubRenderStateInstance(SubRenderState *subRenderState) const
Remove SubRenderState instance to this accessor.
Definition: OgreShaderSubRenderState.h:184
@ TID_VARIABLE
Definition: OgreScriptLexer.h:55
@ AmbientShMonochrome
Uses spherical harmonics (monochrome / single channel)
Definition: OgreHlmsPbs.h:106
void setMaximum(Real x, Real y, Real z)
Definition: OgreAxisAlignedBox.h:220
static const IdString UvDiffuse13
Definition: OgreUnlitProperty.h:90
void _forceCreateDelayedImmutableBuffers(void)
ShaderType
Definition: OgreCommon.h:343
uint16 getInputLayoutId(void) const
Definition: OgreVertexArrayObject.h:104
void resizePOD(size_t newSize, const T &value=T())
Definition: OgreStackVector.h:239
const_iterator end() const
Definition: OgreCommon.h:485
virtual void getRenderOperation(v1::RenderOperation &op, bool casterPass)=0
Gets the render operation required to send this object to the frame buffer.
@ PFG_P016
Definition: OgrePixelFormatGpu.h:168
virtual size_t getConstBufferSize(void) const
Returns the amount of bytes that fillConstBufferData is going to fill.
size_t getTotalNumObjects() const
Retrieves the sum of the number of objects in all render queues.
Definition: OgreObjectMemoryManager.h:166
void destroyDescriptorSetTexture2(const DescriptorSetTexture2 *descSet)
@ ACT_INVERSE_TRANSPOSE_PROJECTION_MATRIX
Provides inverse transpose of projection matrix.
Definition: OgreGpuProgramParams.h:953
PsoCacheHelper(RenderSystem *renderSystem)
static const IdString UseParallaxCorrectCubemaps
Definition: OgreHlmsPbs.h:548
const std::type_info & getType() const
Definition: OgreAny.h:119
static Vector2 parseVector2(const String &val, const Vector2 &defaultValue=Vector2::ZERO)
Parses a Vector2 out of a String.
@ RSC_VP_AND_RT_ARRAY_INDEX_FROM_ANY_SHADER
If capability is not set then only geometry shader can have outputs with SV_RenderTargetArrayIndex an...
Definition: OgreRenderSystemCapabilities.h:247
int8 kernelStart
Definition: OgreImageDownsampler.h:225
void _setTextureMatrix(size_t unit, const Matrix4 &xform)
Sets the texture coordinate transformation matrix for a texture unit.
@ IM_LINEAR
Values are interpolated along straight lines.
Definition: OgreAnimation.h:99
@ PF_ASTC_SRGB8A8_10X8_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 10x8)
Definition: OgrePixelFormat.h:309
bool isNormalMap
Definition: OgreHlmsTextureManager.h:103
void getCustomAttribute(const String &name, void *pData)
Get a custom, GTK specific attribute.
void setShaderCachePath(String path)
Set shader cache path.
Definition: OgreGL3PlusSupport.h:102
DeflateStream(const String &name, const DataStreamPtr &compressedStream, const String &tmpFileName="", size_t avail_in=0)
Constructor for creating named stream wrapping another stream.
void load(const String &filename, const String &groupName)
Loads an image file.
void _setRenderSystemData(const Any &data) const
Internal method that the RenderSystem might use to store optional data.
Definition: OgreGpuProgramParams.h:2450
size_t getNumInputChannels(void) const
This has O(N) complexity! (not cached, we look in mNameToChannelMap)
static ColourBufferType parseColourBuffer(const String &val, ColourBufferType defaultValue=CBT_BACK)
Converts a String to a ColourBufferType.
virtual void _render(const v1::CbDrawCallStrip *cmd)=0
Real mCellSize
Controls how we cluster multiple VPLs into one averaged VPL.
Definition: OgreInstantRadiosity.h:151
void _popCurrentSceneManager(SceneManager *sm)
Pops the scene manager currently being used to render.
uint8 getBorderedDepthResolution() const
static const IdString MaterialsPerBuffer
Definition: OgreUnlitProperty.h:45
virtual void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
LayeredBlending()
Class default constructor.
@ FLAG_LEGACY_MATH
Definition: OgreHlmsPbsDatablock.h:61
void destroyTextures(void)
@ DXGI_ALPHA_MODE_STRAIGHT
Definition: OgreD3D11LegacySDKEmulation.h:45
void doSet(void *target, const String &val)
virtual void setDesiredBitDepths(ushort integerBits, ushort floatBits)
Sets desired bit depth for integer and float pixel format.
void updateCompositeMap()
Performs an update on the terrain composite map based on its dirty region.
virtual VertexElementType getColourVertexElementType(void) const
Get the native VertexElementType for a compact 32-bit colour value for this rendersystem.
virtual void _saveJson(const HlmsDatablock *datablock, String &outString, HlmsJsonListener *listener, const String &additionalTextureExtension) const
void setAllClearColours(const ColourValue &clearValue)
GLuint getGLBufferId(void) const
Definition: OgreGL3PlusHardwareIndexBuffer.h:70
const GL3PlusSurfaceDesc & getSurface(size_t attachment)
Definition: OgreGL3PlusFrameBufferObject.h:83
CompositorNode * findNode(IdString aliasName, bool includeShadowNodes=false) const
Finds a node instance with the given aliased name.
void setFromSphere(const Sphere &sphere, size_t index)
Definition: C/OgreArraySphere.h:94
void pushOperand(ParameterPtr parameter, Operand::OpSemantic opSemantic, int opMask=Operand::OPM_ALL, int indirectionLevel=0)
Push a new operand (on the end) to the function.
Ogre::Vector2 leftNoseRadius
Definition: OgreHiddenAreaMeshVr.h:54
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:207
virtual void swapBuffers(void)
Only valid for TextureGpu classes.
Definition: OgreIfdProbeVisualizer.h:17
bool isFsaaResolveDirty(void) const
Definition: OgreRenderTarget.h:345
@ FB_BACK
Definition: OgreRenderTarget.h:87
virtual void execute(SceneQueryListener *listener)=0
Executes the query and returns each match through a listener interface.
~LodCollapseCostOutside()
virtual void resourceLoadStarted(const ResourcePtr &resource)=0
This event is fired when a declared resource is about to be loaded.
String doGet(const void *target) const
@ LB_BlendHardLight
Definition: OgreShaderExLayeredBlending.h:64
static std::pair< bool, Real > intersects(const Ray &ray, const AxisAlignedBox &box)
Ray / box intersection, returns boolean result and distance.
Definition: OgreCbTexture.h:36
bool setOption(const String &strKey, const void *pValue)
Method for setting a specific option of the Timer.
Definition: Android/OgreTimerImp.h:60
PageProvider * getPageProvider() const
Get the PageProvider which can provide streams for Pages in this world.
Definition: OgrePagedWorld.h:177
Definition: OgreOSXGL3PlusSupport.h:39
virtual bool hasBone(const String &name) const
Returns whether this skeleton contains the named bone.
Page class.
Definition: OgrePage.h:51
@ SO_PHONG
Definition: OgreCommon.h:232
Inner class which should also be subclassed to provide profile-specific material generation.
Definition: OgreTerrainMaterialGenerator.h:168
IDirect3DPixelShader9 * getPixelShader(void)
Gets the pixel shader.
static String getMaskAsString(int mask)
Returns the given mask as string representation.
@ GCT_MATRIX_DOUBLE_2X3
Definition: OgreGpuProgramParams.h:104
SubMesh * clone(const String &newName, Mesh *parentMesh=0)
Makes a copy of this submesh object and gives it a new name.
virtual const String & getGroup(void) const
Gets the group which this resource is a member of.
Definition: OgreResource.h:422
String name
Definition: OgreShaderParams.h:79
Struct containing information about a mesh LOD change event for entities.
Definition: OgreLodListener.h:55
unsigned int getColourDepth() const
void _setHeight(Real height)
Sets the height of this element in relation to the screen (where 1.0 = screen width)
virtual void registerThread()
Register the an additional thread which may make calls to rendersystem-related objects.
void _setVaoManager(VaoManager *vaoManager)
will manually set the vao manager the mesh will use when it loads.
Definition: OgreMesh2.h:474
const String & getName(void) const
Returns the name of the emitter.
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:1210
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: OgreMain/include/OgreSmallVector.h:300
void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
ID3D11Texture2D * GetTex2D()
Definition: OgreD3D11Texture.h:81
virtual void read(String *string)
virtual String getType() const
Returns the type of the codec as a String.
int input
Definition: OgreX11EGLSupport.h:87
void destroyNodeTrack(unsigned short handle)
Destroys the node track with the given handle.
virtual ~NULLHardwarePixelBuffer()
@ ACT_SPOTLIGHT_PARAMS_ARRAY
Spotlight parameters array of Vector4(innerFactor, outerFactor, falloff, isSpot) innerFactor and oute...
Definition: OgreGpuProgramParams.h:1110
@ GCT_SAMPLER_WRAPPER1D
Definition: OgreGpuProgramParams.h:120
virtual void techniqueEventRaised(MaterialSerializer *ser, MaterialSerializer::SerializeEvent event, bool &skip, const Technique *tech)
virtual void objectDestroyed(MovableObject *)
MovableObject is being destroyed.
Definition: OgreMovableObject.h:75
Common subclass of DataStream for handling data from chunks of memory.
Definition: OgreDataStream.h:315
virtual ~TextureGpuManagerListener()
@ PFG_D24_UNORM_S8_UINT
Definition: OgrePixelFormatGpu.h:93
ImageDownsamplerCube downscale2x_Signed_A8_cube
Definition: OgreImageDownsampler.h:126
AndroidEGLContext(EGLDisplay eglDisplay, const EGLSupport *glsupport, ::EGLConfig fbconfig, ::EGLSurface drawable)
std::pair< bool, Real > intersects(const Sphere &s) const
Tests whether this ray intersects the given sphere.
Definition: OgreRay.h:101
Vector3 getHalfSize(void) const
Gets the half-size of the box.
Definition: OgreAxisAlignedBox.h:705
@ SPC_LIGHTDIRECTION_VIEW_SPACE5
Definition: OgreShaderParameter.h:192
Definition: OgreD3D9ResourceManager.h:54
void setCsaa(uint8 samples, bool bQuality)
Set CSAA by NVIDIA's marketing names e.g.
void seek(size_t pos)
Repositions the read point to a specified byte.
StrangeData l[3]
Definition: OgreX11EGLSupport.h:93
static const IdString UvDiffuse
Definition: OgreHlmsPbsMobile.h:137
Defines the functionality of a 3D API.
Definition: OgreRenderSystem.h:113
VctLighting(IdType id, VctVoxelizer *voxelizer, bool bAnisotropic)
This is a container class for sub render state class.
Definition: OgreShaderRenderState.h:50
static ResourceBackgroundQueue & getSingleton(void)
Override standard Singleton retrieval.
ResourceAllocatedObject SubMeshAlloc
Definition: OgreMemoryAllocatorConfig.h:337
void loadResource(Resource *res)
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
void merge(const ArrayAabb &rhs)
Merges the passed in box into the current box.
Real y
Definition: OgreVector3.h:54
SkinningType skinningType
Definition: OgreShaderExHardwareSkinning.h:68
virtual void finializeSession()=0
All internal resources should be deleted here.
bool areFixedFunctionLightsInViewSpace() const
See RenderSystem.
Definition: OgreGLES2RenderSystem.h:253
GLenum polygonMode
Definition: OgreGL3PlusHlmsPso.h:51
virtual void unmap(UnmapOptions unmapOption, size_t flushStartElem=0, size_t flushSizeElem=0)
void setAmbientLight(float r, float g, float b)
float getTargetLanguageVersion() const
Return the target shader language version currently in use.
Definition: OgreShaderGenerator.h:152
virtual void read(Matrix4 *m, size_t count=1)
Real getFogStart(void) const
Returns the fog start distance for this pass.
Definition: OgreException.h:204
@ GPU_3DLABS
Definition: OgreRenderSystemCapabilities.h:313
AsyncTicketPtr asyncTicket
Definition: OgreVertexArrayObject.h:186
virtual void _resumeFrame(RenderSystemContext *context)
Resume rendering for a frame.
virtual bool _unloadProceduralPage(Page *page, PagedWorldSection *section)
Give a world the opportunity to unload page content procedurally.
Listener(void)
Definition: OgreMovableObject.h:72
static bool createDirectory(const Ogre::String &name)
Create a directory.
@ TU_UAV_NOT_SRV
Texture can be used as an UAV, but not as a regular texture.
Definition: OgreTexture.h:74
virtual void setBlendMode(SkeletonAnimationBlendMode state)
Sets the animation blending mode this skeleton will use.
bool hasScalingShearingSupport()
Only applicable for dual quaternion skinning.
void assignProfile(IdString profileName, Light *light)
Assigns the given profile to the light.
IndirectBufferPacked(size_t internalBufStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface)
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
virtual void _setTexturesCS(uint32 slotStart, const DescriptorSetTexture *set)
virtual void _hlmsPipelineStateObjectCreated(HlmsPso *newPso)
Definition: OgreRenderSystem.h:828
@ PT_MATRIX4
Definition: OgreStringInterface.h:64
id< MTLTexture > getDisplayTextureName(void) const
Definition: OgreMetalTextureGpu.h:102
virtual void saveTextures(const String &folderPath, set< String >::type &savedTextures, bool saveOitd, bool saveOriginal, HlmsTextureExportListener *listener)
virtual ~SphereSceneQuery()
void needUpdate(bool forceParentUpdate=false)
static const IdString DecalsNormals
Definition: OgreHlms.h:896
@ GPT_COMPUTE_PROGRAM
Definition: OgreGpuProgram.h:55
@ DXGI_SCALING_STRETCH
Definition: OgreD3D11LegacySDKEmulation.h:50
FORCEINLINE const SimpleMatrixAf4x3 & _getFullTransform(void) const
Gets the full transformation matrix for this node.
Definition: OgreBone.h:288
ImageBlur2D separableBlur_Signed_XXX888
Definition: OgreImageDownsampler.h:134
SharedPtr< AnimableValue > AnimableValuePtr
Definition: OgrePrerequisites.h:384
For GL3+, most (if not all) buffers, can be treated with the same code.
Definition: OgreGLES2BufferInterface.h:42
size_t vertexStart
The base vertex index to start from.
Definition: OgreVertexIndexData.h:89
bool watchForLimit(Real limit, bool greaterThan=true)
Definition: OgreProfiler.h:318
static const IdString DiffuseMapCount12
Definition: OgreHlmsUnlitMobile.h:120
void setPiece(IdString pieceName, const String &pieceContent)
Defines a piece, i.e.
FastArray< MovableObject::MovableObjectArray > VisibleObjectsPerRq
Definition: OgreSceneManager.h:70
virtual void setPosition(const Vector3 &pos)
Sets the position of this emitter relative to the particle system center.
Matrix4 operator*(Real scalar) const
Definition: OgreMatrix4.h:566
GLES2NullPixelBuffer(GLES2NullTexture *parentTexture, const String &baseName, uint32 width, uint32 height, uint32 Null, PixelFormat format)
virtual void setClipPlanes(const PlaneList &clipPlanes)
Sets the user clipping region.
PreApplyTextureAliasesScriptCompilerEvent(Material *material, AliasTextureNamePairList *aliases)
Definition: OgreScriptCompiler.h:506
uint16 maxTexturesPerArray
Unknown means assign based on the individual texture.
Definition: OgreHlmsTextureManager.h:99
void shutdown(void)
Shuts down the system manually.
uint32 getMaxSlice(void) const
Definition: OgreTextureBox.h:77
@ CE_UNEXPECTEDTOKEN
Definition: OgreScriptCompiler.h:218
virtual GpuProgram * _getBindingDelegate(void)
Returns the GpuProgram which should be bound to the pipeline.
Definition: OgreGpuProgram.h:287
Real * ptr()
Pointer accessor for direct copying.
Definition: OgreDualQuaternion.h:123
void setBlendblock(const HlmsBlendblock &blendblock)
Changes the current blendblock for a new one. Pointer can't be null.
void bindGpuProgramParameters(GpuProgramType gptype, GpuProgramParametersSharedPtr params, uint16 mask)
Bind Gpu program parameters.
const Vector3 & getTo(void) const
Gets the front upper right corner of the cell.
Definition: OgreVolumeOctreeNode.h:217
static ArrayInt Or(ArrayInt a, ArrayInt b)
Returns the result of "a | b".
Definition: OgreMathlibC.h:214
static const IdString EnvMapScale
Definition: OgreHlmsPbs.h:544
const Matrix4 & getInverseTransposeWorldMatrix(void) const
void destroyVertexArrayObject(VertexArrayObject *vao)
Destroys the input pointer.
static const uint8 DERIVED_DATA_LIGHTMAP
Definition: OgreTerrain.h:1194
void doSet(void *target, const String &val)
void unset(size_t position)
Sets bit at 'position' to 0.
Definition: OgreBitset.h:87
@ ID_LOD_BIAS
Definition: OgreScriptCompiler.h:905
RotationInterpolationMode
The types of rotational interpolation available.
Definition: OgreAnimation.h:106
virtual ~SceneManagerFactory()
static void mergeContiguousBlocks(BlockVec::iterator blockToMerge, BlockVec &blocks)
@ D3D_INFO
Definition: OgreD3D11Device.h:99
Entity * getDualGrid(SceneManager *sceneManager)
Gets the lazily created entity of the dualgrid debug visualization.
bool isMultisample(void) const
Definition: OgreCommon.h:977
SimpleMatrixAf4x3()
Definition: C/OgreArrayMatrixAf4x3.h:196
void _render(const v1::RenderOperation &op)
See RenderSystem.
ArrayAabb *RESTRICT_ALIAS mLocalAabb
Bounding box in local space.
Definition: OgreObjectData.h:54
BindingType
The type of unit to bind the texture settings to.
Definition: OgreTextureUnitState.h:448
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.
OldSkeletonInstance(const SkeletonPtr &masterCopy)
Constructor, don't call directly, this will be created automatically when you create an Entity based ...
uint8 kernel[5][5]
Definition: OgreImageDownsampler.h:216
static const IdString macOS
Definition: OgreHlms.h:925
static DynLibManager * getSingletonPtr(void)
Override standard Singleton retrieval.
void _setIgnoreScheduledTasks(bool ignoreSchedTasks)
When true we will ignore all tasks in mScheduledTasks and execute transitions immediately Caller is r...
void setAmbient(const ColourValue &ambient)
Sets the ambient colour reflectance properties of this pass.
CategorisedAllocPolicy< Ogre::MEMCATEGORY_SCENE_OBJECTS > SceneObjAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:269
virtual void setComputeGroupDimensions(Vector3 dimensions)
Sets the number of process groups dispatched by this compute program.
Definition: OgreGpuProgram.h:389
@ ID_ADD_SIGNED
Definition: OgreScriptCompiler.h:763
virtual void destroyAllMovableObjects(void)
Destroy all MovableObjects.
static const IdString BlendModeIndex3
Definition: OgreHlmsPbsMobile.h:159
virtual TagPoint * _createTagPoint(SceneNode *parent, NodeMemoryManager *nodeMemoryManager)
Don't call this function directly.
uint8 mDepthProbeResolution
Square resolution of a single probe, depth variance, e.g. 8u means each probe is 8x8.
Definition: OgreIrradianceField.h:70
virtual String toString() const =0
bool isDriverOlderThanVersion(const DriverVersion &v) const
Definition: OgreRenderSystemCapabilities.h:489
const GpuProgramPtr & getTessellationHullProgram(void) const
Gets the Tessellation Hull program used by this pass, only available after _load().
map< IdString, ResourceEntry >::type ResourceEntryMap
Definition: OgreTextureGpuManager.h:280
void * lock(size_t offset, size_t length, LockOptions options)
Override HardwareBuffer to turn off all shadowing.
virtual ~TerrainMaterialGenerator()
static TextureSlot makeEmpty(void)
Definition: OgreDescriptorSetUav.h:143
#define ASSUME_NOEXCEPT
Definition: OgreComPtr.h:68
ConstVectorIterator< NodeList > NodeIterator
Definition: OgreRibbonTrail.h:89
virtual void defineTerrain(long x, long y, float constantHeight)
Define a 'slot' in the terrain grid - in this case a flat terrain.
virtual void _descriptorSetUavCreated(DescriptorSetUav *newSet)
Definition: OgreRenderSystem.h:842
ConstTextureUnitStateIterator getTextureUnitStateIterator(void) const
Get an iterator over the TextureUnitStates contained in this Pass.
OverlayElement * createOverlayElement(const String &instanceName)
See OverlayElementFactory.
Definition: OgreOverlayElementFactory.h:103
SceneBlendFactor mSourceBlendFactorAlpha
Definition: OgreHlmsDatablock.h:178
virtual size_t _asyncDownload(BufferPacked *source, size_t srcOffset, size_t srcLength)
Copies the GPU data in BufferPacked to the StagingBuffer so that it can be later read by the CPU usin...
ArrayReal intersects(const ArrayVector3 &v) const
Returns whether or not this sphere intersects another sphere.
@ TLSS_ALBEDO
Albedo colour (diffuse reflectance colour)
Definition: OgreTerrainMaterialGenerator.h:59
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:81
virtual const String & getType() const
virtual_l2 void setInheritScale(bool inherit)
Tells the node whether it should inherit scaling factors from it's parent node.
String DriverName() const
String devicePattern
Definition: OgreTechnique.h:106
Render window creation parameters.
Definition: OgreRenderSystem.h:78
BoneAssignmentIterator getBoneAssignmentIterator(void)
Gets an iterator for access all bone assignments.
void saveConfig(void)
Saves the details of the current configuration.
bool hasMinVersion(int minMajor, int minMinor) const
Definition: OgreRenderSystemCapabilities.h:298
void setCurrentViewport(const Viewport *viewport)
Sets the current viewport.
static Real ColapseMax(ArrayReal a)
Returns the maximum value of all elements in a.
Definition: OgreMathlibC.h:317
@ FILTER_BILINEAR
Definition: OgreImage.h:453
Utility class to generate a sequentially numbered series of names.
Definition: OgreNameGenerator.h:57
PrePassMode getCurrentPrePassMode(void) const
Definition: OgreSceneManager.h:1313
virtual void setHorizontalAlignment(GuiHorizontalAlignment gha)
Sets the horizontal origin for this element.
@ SKELETON_ANIMATION_LINK
Definition: OgreSkeletonFileFormat.h:104
void bindDrawId(uint32 bindSlotId)
Binds the Draw ID to the currently bound vertex array object.
static CompositorChannel createTexture(const TextureDefinition &textureDef, const String &texName, const TextureGpu *finalTarget, RenderSystem *renderSys)
bool generateMipmaps(bool gammaCorrected, Filter filter=FILTER_BILINEAR)
Generates the mipmaps for this image.
virtual ~FileSystemArchiveFactory()
Definition: OgreFileSystem.h:130
virtual void _render(const v1::RenderOperation &op)
Render something to the active viewport.
size_t getBoolLogicalIndexForPhysicalIndex(size_t physicalIndex)
Retrieves the logical index relating to a physical index in the bool buffer, for programs which suppo...
virtual uint8 waitForTailFrameToFinish(void)
See VaoManager::waitForTailFrameToFinish.
uint8 getBlendTextureCount(uint8 numLayers) const
Get the number of blend textures needed for a given number of layers.
@ ID_MODULATE_X4
Definition: OgreScriptCompiler.h:762
virtual void _destroyVisualData(ParticleVisualData *vis)
Destroy a ParticleVisualData instance.
Definition: OgreParticleSystemRenderer.h:110
virtual bool isCompatible(RenderTarget *renderTarget, bool exactFormatMatch) const
Returns whether the specified RenderTarget is compatible with this DepthBuffer That is,...
TextureGpu * getEmissiveVox(void)
Definition: OgreVctVoxelizer.h:394
virtual size_t getNumFaces() const
Return the number of faces this texture has.
void _notifyWorldGeometryStageEnded(void)
Notify this manager that one stage of world geometry loading has been completed.
Definition: OgreLodOutputProviderCompressedBuffer.h:41
void setSpotlightNearClipDistance(Real nearClip)
Set the near clip plane distance to be used by spotlights that use light clipping,...
Definition: OgreLight.h:344
virtual TextureGpu * getDiffuseTexture(void) const
Returns the closest match for a diffuse texture, if applicable by the actual implementation.
@ BCT_FLOAT
Definition: OgreGpuProgramParams.h:56
virtual ~TerrainGlobalOptions()
Definition: OgreTerrain.h:1937
Real getFogDensity(void) const
Returns the fog density for this pass.
bool isTemplate(String strName) const
Definition: OgreOverlayManager.h:216
float mCameraNear
Definition: OgreIrradianceField.h:54
virtual void _ensureDelayedImmutableBuffersAreReady(void)
HardwareSkinningTechnique()
Class default constructor.
virtual bool getPolygonModeOverrideable(void) const
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setti...
Definition: OgrePass.h:602
uint32 mClearStencil
Definition: OgreCompositorPassDef.h:129
static bool isValidExtent(size_t width, size_t height, size_t depth, PixelFormat format)
Return whether a certain image extent is valid for this image format.
size_t getRequiredIndexCount(void) const
Based on a previous call to defineSurface, establishes the number of indexes required to hold this pa...
bool isCaseSensitive(void) const
Returns whether this archive is case sensitive in the way it matches files.
Definition: OgreZip.h:74
virtual PageID getPageID(const Vector3 &worldPos, PagedWorldSection *section)=0
Get the page ID for a given world position.
Utility class for provides optimised functions.
Definition: OgreOptimisedUtil.h:49
void _changeRenderSystem(RenderSystem *newRs)
Vector2 getDerivedRectSize(void) const
virtual void flushCommands(void)
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 _notifyParticleRotated(void)
Internal callback used by Particles to notify their parent that they have been rotated.
iterator end()
Definition: OgreMain/include/OgreSmallVector.h:186
@ OT_PATCH_15_CONTROL_POINT
Definition: OgreHlmsPso.h:74
RenderableArray mRenderables
Definition: OgreMovableObject.h:82
static const IdString UvDiffuseSwizzle5
Definition: OgreUnlitProperty.h:99
float posU
Definition: OgreShaderExTextureAtlasSampler.h:59
virtual OldBone * createBone(void)
Creates a brand new OldBone owned by this Skeleton.
void _getWorldTransforms(Matrix4 *xform) const
Used to transform the overlay when scrolling, scaling etc.
GLSLSeparableProgram * getCurrentSeparableProgram(void)
Get the program pipeline that combines the current program objects.
virtual GL3PlusFBORenderTexture * createRenderTexture(const String &name, const GL3PlusSurfaceDesc &target, bool writeGamma, uint fsaa)
Create a texture rendertarget object.
bool operator==(const VertexElement2 _r) const
Definition: OgreVertexBufferPacked.h:54
void addListener(Listener *lis)
Register a listener on this resource.
uint32 getHeight(void) const
String getSettingsDesc(void) const
virtual void _addManuallyActiveProbe(CubemapProbe *probe)
@ ID_POINTS
Definition: OgreScriptCompiler.h:699
virtual RenderSystemContext * _pauseFrame(void)
Pause rendering for a frame.
Definition: OgreUnlitProperty.h:132
bool getSplitRotated() const
Sets whether or not to split vertices when tangent space rotates more than 90 degrees around a vertex...
Definition: OgreTangentSpaceCalc.h:157
EnvFeatures
Definition: OgreSceneManager.h:349
virtual bool isClosed(void) const
Indicates whether the window has been closed by the user.
Definition: OgreGpuProgramManager.h:56
void fillConstBufferData(TextureGpu *renderTarget, const Camera *camera, const Matrix4 &projectionMatrix, float *RESTRICT_ALIAS passBufferPtr) const
Fills 'passBufferPtr' with the necessary data for PlanarReflections.
uint16 variability
How this parameter varies (bitwise combination of GpuProgramVariability)
Definition: OgreGpuProgramParams.h:166
virtual ~MetalTextureGpuManager()
virtual void _setVisible(bool visible)=0
Internal method to notify the window it has been obscured or minimized.
virtual bool getCastsShadows(void) const
Method which reports whether this renderable would normally cast a shadow.
uint32 numDraws
Definition: OgreCbDrawCall.h:64
virtual unsigned short getNumKeyFrames(void) const
Returns the number of keyframes in this animation.
@ NO_SIDE
Definition: OgrePlane.h:86
@ PCF_4x4
High quality.
Definition: OgreHlmsPbs.h:71
virtual void resize(unsigned int widthPt, unsigned int heightPt)=0
Alter the size of the window.
void * lock(size_t offset, size_t length, LockOptions options)
Override HardwareBuffer to turn off all shadowing.
virtual ~CompositorWorkspaceDef()
Definition: OgreCompositorWorkspaceDef.h:129
Real getLoadingOrder(void) const
Gets the relative loading order of scripts of this type.
@ SwMode
Generate mipmaps via SW when TextureFilter::TypeGenerateDefaultMipmaps is used.
Definition: OgreTextureGpuManager.h:92
size_t offset
Definition: OgreGL3PlusVaoManager.h:104
virtual ~InvalidParametersException()
PlanarReflectionActor * addActor(const PlanarReflectionActor &actor)
Adds an actor plane that other objects can use as source for reflections if they're close enough to i...
static const IdString InputLayoutId
Definition: OgreHlms.h:942
@ CB_START_V1_LEGACY_RENDERING
Definition: OgreCbCommon.h:64
FunctionAtomInstanceList::iterator FunctionAtomInstanceIterator
Definition: OgreShaderFunctionAtom.h:256
void setBlendMode(uint8 texType, UnlitBlendModes blendMode)
Sets the blending mode (how the texture unit gets layered on top of the previous texture units).
@ BB_FLAG_INDEX
Definition: OgreBufferPacked.h:96
@ OPS_OUT
The parameter is a output parameter.
Definition: OgreShaderFunctionAtom.h:88
virtual bool getEnabled(void) const
Gets the flag indicating if this emitter is enabled or not.
PropertyDef(const String &name, const String &desc, PropertyType pType)
Construct a property.
Definition: OgreProperty.h:140
uint8 getIndexToDescriptorSampler(uint8 texType)
Do not call this function if RSC_SEPARATE_SAMPLERS_FROM_TEXTURES is not set.
SharedPtr< T > dynamic_pointer_cast(SharedPtr< U > const &r)
Definition: OgreSharedPtr.h:376
virtual void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
AutoParamDataSource * _getAutoParamDataSource(void) const
Definition: OgreSceneManager.h:756
virtual const StringVector & getRenderSystemEvents(void) const
Gets a list of the rendersystem specific events that this rendersystem can raise.
Definition: OgreRenderSystem.h:1278
IDirect3DSurface9 * getFSAASurface(IDirect3DDevice9 *d3d9Device)
Accessor for AA surface.
For GL3+, most (if not all) buffers, can be treated with the same code.
Definition: OgreGL3PlusBufferInterface.h:42
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
float x
Definition: OgreShaderPrimitives.h:69
ConstMapIterator< ChildOldNodeMap > ConstChildOldNodeIterator
Definition: OgreOldNode.h:83
uint32 getNumThreadGroupsX(void) const
Definition: OgreHlmsComputeJob.h:198
GLint getBaseInstanceLocation() const
Definition: OgreGLSLESProgramCommon.h:109
virtual void notifyTextureChanged(TextureGpu *texture, TextureGpuListener::Reason reason, void *extraData)=0
Called when a TextureGpu changed in a way that affects how it is displayed:
void * mRsData
Definition: OgreDescriptorSetTexture.h:72
FastArray< Light * > LightArray
Definition: OgreCommon.h:643
bool intersects(const Plane &p) const
Tests whether this box intersects a plane.
Definition: OgreAxisAlignedBox.h:647
@ VECTOR4
Definition: OgreAnimable.h:85
void setConstant(size_t index, const ColourValue &colour)
Sets a ColourValue parameter to the program.
@ GCT_BOOL1
Definition: OgreGpuProgramParams.h:116
CategorisedAllocPolicy< Ogre::MEMCATEGORY_SCENE_CONTROL > SceneCtlAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:268
std::pair< ResourcePtr, bool > ResourceCreateOrRetrieveResult
Definition: OgreResourceManager.h:153
@ SPC_POSTOLIGHT_OBJECT_SPACE4
Definition: OgreShaderParameter.h:131
virtual void _dispatch(const HlmsComputePso &pso)
virtual void finalize(LodData *data)
Definition: OgreLodOutputProviderMesh.h:46
virtual uint32 fillBuffersForV2(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)=0
MapIterator< ArchiveMap > ArchiveMapIterator
Definition: OgreArchiveManager.h:93
void setUseIdentityView(bool useIdentityView)
Sets whether or not to use an 'identity' view.
Definition: OgreRenderable.h:213
Pose * getPose(ushort index)
Retrieve an existing Pose by index.
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create counter buffer.
Definition: OgreHardwareBufferManager.h:459
@ DisableSort
Definition: OgreRenderQueue.h:114
virtual ~ManualObjectSection()
uint32 getBrdf(void) const
void getFilenameAndResourceGroup(String const **outFilename, String const **outResourceGroup) const
@ PFG_ASTC_RGBA_UNORM_8X5_sRGB
Definition: OgrePixelFormatGpu.h:257
A staging buffer is a buffer that resides on the GPU and be written to/from both CPU & GPU However th...
Definition: OgreGL3PlusStagingBuffer.h:46
static ParameterPtr createConstParamVector3(Vector3 val)
virtual unsigned int getPoolSize(void) const
Returns the current size of the billboard pool.
static ProgramWriterManager & getSingleton()
Override standard Singleton retrieval.
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:109
Matrix3(Real fEntry00, Real fEntry01, Real fEntry02, Real fEntry10, Real fEntry11, Real fEntry12, Real fEntry20, Real fEntry21, Real fEntry22)
Definition: OgreMatrix3.h:84
Definition: OgreTerrainAutoUpdateLod.h:92
#define _OgreTerrainExport
Definition: OgreTerrainPrerequisites.h:65
Encapsulates the result of a background queue request.
Definition: OgreResourceBackgroundQueue.h:52
virtual WorldFragmentType getWorldFragmentType(void) const
Gets the current world fragment types to be returned from the query.
@ ACT_LIGHT_POSITION_OBJECT_SPACE
A light position in object space (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:1053
@ ID_RENDER_SCENE
Definition: OgreScriptCompiler.h:875
void addRenderableV2(size_t threadIdx, uint8 renderQueueId, bool casterPass, Renderable *pRend, const MovableObject *pMovableObject)
Add a renderable (Ogre v2.0, i.e.
Real mSurvivingRayFraction
In range (0; 1]; how many rays that fired in the previous bounce should survive for a next round of b...
Definition: OgreInstantRadiosity.h:147
IdString name
Definition: OgreTextureDefinition.h:146
virtual void scriptParseStarted(const String &scriptName, bool &skipThisScript)=0
This event is fired when a script is about to be parsed.
Strategy for determining level of detail.
Definition: OgreLodStrategy.h:54
const Vector4 & getLodCameraPositionObjectSpace(void) const
Real x
Definition: OgreDualQuaternion.h:166
void _setLightProfilesInvHeight(float invHeight)
Definition: OgreRoot.h:1047
WireAabb(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager)
void _compileBoneAssignments(void)
Must be called once to compile bone assignments into geometry buffer.
DualQuaternionSkinning()
Class default constructor.
@ FILTER_GAUSSIAN
Applies gaussian filter over the image, then a point sampling reduction This is done at the same time...
Definition: OgreImage.h:459
@See CompositorWorkspace.
Definition: OgreCompositorWorkspaceDef.h:58
size_t find_first_of(const char *val, size_t pos=0) const
Definition: OgreLwConstString.h:127
CompositorPassIblSpecularDef(CompositorNodeDef *parentNodeDef, CompositorTargetDef *parentTargetDef)
Definition: OgreCompositorPassIblSpecularDef.h:67
@ TypeGenerateHwMipmaps
Definition: OgreTextureFilters.h:56
virtual void _setToDisplayDummyTexture(void)
Main system for managing Render Targets through the use of nodes.
Definition: OgreCompositorManager2.h:109
@ BlinnPhongFullLegacy
Implements traditional / the original non-PBR blinn phong:
Definition: OgreHlmsPbsDatablock.h:162
bool preferDepthTexture
Whether this RTV should be attached to a depth texture (i.e.
Definition: OgreTextureDefinition.h:525
void destroyAllSections()
Destroy all world sections.
virtual void _notifyParentNodeMemoryChanged(void)
@See Node::_callMemoryChangeListeners
Matrix4 mProjectionMatrix[2]
Definition: OgreCamera.h:48
MeshSerializerImpl_v2_1_R1(VaoManager *vaoManager)
static const Real fDeg2Rad
Definition: OgreMath.h:751
@ TextureDepth
Definition: OgreResourceTransition.h:50
const Degree & operator+() const
Definition: OgreMath.h:110
virtual void bindBufferGS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
virtual bool getCastsShadows(void) const
Method which reports whether this renderable would normally cast a shadow.
void attachDepthBuffer(DepthBuffer *depthBuffer)
This function acts very similar to.
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
@ ERR_RENDERINGAPI_ERROR
Definition: OgreException.h:110
void makeCeil(const Vector2 &cmp)
Sets this vector's components to the maximum of its own and the ones of the passed in vector.
Definition: OgreVector2.h:473
float vOffset
Definition: OgrePbsMobileShaderCreationData.h:48
virtual bool queryIsTransferDone(void)
MeshPtr load(const String &filename, const String &groupName, HardwareBuffer::Usage vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexBufferShadowed=true, bool indexBufferShadowed=true)
Loads a mesh from a file, making it immediately available for use.
Technique * getSupportedTechnique(unsigned short index)
Gets the indexed supported technique.
Definition: OgreHlmsTextureManager.h:145
void addTextureSource(uint32 texUnitIdx, const String &textureName)
Indicates the pass to change the texture units to use the specified texture sources.
CompositorWorkspace * addWorkspace(SceneManager *sceneManager, TextureGpu *finalRenderTarget, Camera *defaultCam, IdString definitionName, bool bEnabled, int position=-1, const UavBufferPackedVec *uavBuffers=0, const ResourceLayoutMap *initialLayouts=0, const ResourceAccessMap *initialUavAccess=0, const Vector4 &vpOffsetScale=Vector4::ZERO, uint8 vpModifierMask=0x00, uint8 executionMask=0xFF)
Main function to start rendering.
void _notifyCounterBufferDestroyed(HardwareCounterBuffer *buf)
Notification that at hardware counter buffer has been destroyed.
static FORCEINLINE const T * rawOffsetPointer(const T *ptr, ptrdiff_t offset)
Returns raw offseted of the given pointer.
Definition: OgreOptimisedUtil.h:214
@ PBSM_REFLECTION
Definition: OgreHlmsPbsPrerequisites.h:72
@ ACT_TEXTURE_VIEWPROJ_MATRIX_ARRAY
Array of view/projection matrices of the first n texture projection frustums.
Definition: OgreGpuProgramParams.h:1157
virtual bool isAdjacencyInfoRequired(void) const
Returns whether this geometry program requires adjacency information from the input primitives.
Definition: OgreGpuProgram.h:385
Level of detail strategy based on distance from camera to an object's bounding sphere.
Definition: OgreDistanceLodStrategy.h:126
virtual void setLodCamera(const Camera *lodCam)
Set a pointer to the camera which should be used to determine LOD settings.
size_t srcOffset
0-started offset relative to the mapped region
Definition: OgreStagingBuffer.h:90
Definition: OgreNaClGLSupport.h:38
uint64 getMillisecondsCPU()
Returns milliseconds since initialisation or last reset, only CPU time measured.
static const String & getPointLightExtruderVs_4_0Debug(void)
Get extruder program source for debug point lights, compatible with vs_4_0.
Definition: OgreShadowVolumeExtrudeProgram.h:258
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:298
Image & loadDynamicImage(uchar *data, uint32 width, uint32 height, uint32 depth, PixelFormat format, bool autoDelete=false, size_t numFaces=1, uint8 numMipMaps=0)
Stores a pointer to raw data in memory.
static const IdString BlendModeIdx4
Definition: OgreHlmsUnlitMobile.h:129
uint16 batchSize
Number of vertices rendered down one side (not including skirts)
Definition: OgreTerrainQuadTreeNode.h:136
void reset(void)
Resets the object.
MultiheadUseType
Definition: OgreD3D9RenderSystem.h:56
virtual void windowMovedOrResized(void)
Notify that the window has been resized.
Definition: OgreWindow.h:186
Camera const * lodCamera
Camera whose frustum we're to cull against. Must be const (read only for all threads).
Definition: OgreSceneManager.h:113
Default implementation of AxisAlignedBoxSceneQuery.
Definition: OgreSceneManager.h:2817
PlaneBoundedVolume(Plane::Side theOutside)
Constructor, determines which side is deemed to be 'outside'.
Definition: OgrePlaneBoundedVolume.h:62
virtual void OldNodeDestroyed(const OldNode *)
OldNode is being destroyed.
Definition: OgreOldNode.h:101
bool mScissorTestEnabled
Definition: OgreHlmsDatablock.h:79
virtual ~GL3PlusTextureGpuRenderTarget()
Definition: OgreHlmsPso.h:292
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
@ TVC_DIFFUSE
Definition: OgreCommon.h:306
size_t getWorldMatrixCount(void) const
static const uint16 WORKQUEUE_PREPARE_REQUEST
Definition: OgrePage.h:191
@ PF_FLOAT16_R
16-bit pixel format, 16 bits (float) for red
Definition: OgrePixelFormat.h:122
OverlayElement(const String &name)
Constructor: do not call direct, use OverlayManager::createElement.
static MaterialManager * getSingletonPtr(void)
Override standard Singleton retrieval.
void determineGridLocation(const Vector2 &gridpos, int32 *x, int32 *y)
Convert a grid position into a row and column index.
void getRenderOperation(RenderOperation &op, bool casterPass)
void setAnimationMatrix(uint8 textureUnit, const Matrix4 &matrix)
@ ID_WIREFRAME
Definition: OgreScriptCompiler.h:698
Quaternion(const Vector3 *akAxis)
Construct a quaternion from 3 orthonormal local axes.
Definition: OgreQuaternion.h:87
bool compile(const bool checkErrors=false)
Compile source into shader object.
bool getInitialized()
Definition: OgreGLES2Context.h:58
ForwardPlusBase.
Definition: OgreForwardPlusBase.h:53
ID3D11Buffer * getVboName(void) const
Definition: OgreD3D11BufferInterfaceBase.h:57
@ BP_TYPE_TEX
Definition: OgreBufferPacked.h:87
@ ACT_TRANSPOSE_VIEWPROJ_MATRIX
Provides transpose of concatenated view and projection matrices.
Definition: OgreGpuProgramParams.h:965
GeometryBucket(MaterialBucket *parent, const String &formatString, const VertexData *vData, const IndexData *iData)
@ ACT_FAR_CLIP_DISTANCE
This variable provides the far clip distance as a floating point value.
Definition: OgreGpuProgramParams.h:1284
GLint mU
Definition: OgreGLES2HlmsSamplerblock.h:54
@ VET_INT2
Definition: OgreVertexElements.h:96
virtual ~STBIImageCodec()
Definition: OgreSTBICodec.h:56
void dump(std::ofstream &of) const
Dump contents for diagnostics.
Ogre::Real outsideWalkAngle
If outsideWeight is enabled, this will set the angle how deep the algorithm can walk inside the mesh.
Definition: OgreLodConfig.h:162
@ ID_STARTING_SLOT
Definition: OgreScriptCompiler.h:979
NULLHardwarePixelBuffer(uint32 inWidth, uint32 inHeight, uint32 inDepth, PixelFormat inFormat, bool hwGamma, HardwareBuffer::Usage usage)
Matrix4()
Default constructor.
Definition: OgreMatrix4.h:98
virtual int32 getCellRangeMaxX() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:169
int getActualWidth(void) const
Gets one of the actual dimensions of the viewport, a value in pixels.
OptimisedUtil(void)
Definition: OgreOptimisedUtil.h:65
virtual GLint getAttributeIndex(VertexElementSemantic semantic, uint index)
Get the index of a non-standard attribute bound in the linked code.
AnyNumeric(const AnyNumeric &other)
Definition: OgreAny.h:235
static bool isCompressed(PixelFormat format)
Shortcut method to determine if the format is compressed.
static const IdString IrradianceField
Definition: OgreHlmsPbs.h:560
virtual Real _getDerivedTop(void)
Gets the 'top' position as derived from own left and that of parents.
void setDefaultMipmapGeneration(DefaultMipmapGen::DefaultMipmapGen defaultMipmapGen, DefaultMipmapGen::DefaultMipmapGen defaultMipmapGenCubemaps)
Whether to use HW or SW mipmap generation when specifying TextureFilter::TypeGenerateDefaultMipmaps f...
bool depthReadOnly
Definition: OgreTextureDefinition.h:528
Definition: OgreGL3PlusNullTexture.h:69
Profile(TerrainMaterialGenerator *parent, const String &name, const String &desc)
Definition: OgreTerrainMaterialGenerator.h:174
virtual void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
iterator erase(iterator first, iterator last)
Definition: OgreFastArray.h:245
@ 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:1121
bool requiresTextureFlipping() const
Definition: OgreGLES2RenderTexture.h:58
@ NO_CORNERS
Definition: OgreCompositorPassQuadDef.h:70
StoreAction
Definition: OgreRenderPassDescriptor.h:87
@ CB_SET_TEXTURE_BUFFER_INVALID
Definition: OgreCbCommon.h:59
virtual void read(Vector3 *vec, size_t count=1)
@ WFT_PLANE_BOUNDED_REGION
Return pointers to convex plane-bounded regions.
Definition: OgreSceneQuery.h:85
virtual Chunk * createInstance(void)
Overridable factory method.
@ ID_SCENE_BLEND_OP
Definition: OgreScriptCompiler.h:666
void setDoubleSided(bool bDoubleSided)
For area lights and custom 2d shapes, specifies whether the light lits in both directions (positive &...
#define ACCUM3(x, y, z, factor)
virtual bool _isDataReadyImpl(void) const
For internal use.
list< OptimisedSubMeshGeometry * >::type OptimisedSubMeshGeometryList
Definition: OgreStaticGeometry.h:150
VertexElementSemantic mSemantic
The meaning of the element.
Definition: OgreVertexBufferPacked.h:44
GLSLShader * getFragmentShader() const
Definition: OgreGLSLProgram.h:140
void setFrameSmoothingPeriod(Real period)
Sets the period over which OGRE smooths out fluctuations in frame times.
Definition: OgreRoot.h:953
Slot()
Definition: OgreDescriptorSetUav.h:160
void encodeToFile(MemoryDataStreamPtr &input, const String &outFileName, CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
PageID calculatePageID(int32 x, int32 y, int32 z)
size_t getSizeBytes(void) const
Returns total size in bytes used in GPU by this texture (not by its pool) including mipmaps.
iterator erase(iterator toErase)
Definition: OgreStackVector.h:170
void loadFromAoS(const SimpleMatrix4 *RESTRICT_ALIAS src)
OldBone(const String &name, unsigned short handle, Skeleton *creator)
Constructor, not to be used directly (use OldBone::createChild or Skeleton::createBone)
static const size_t MaxCubemapProbeRq
Definition: OgreForwardPlusBase.h:75
void attachChildShader(const String &name)
Attach another GLSL Shader to this one.
FastArray(size_t count, const T &value)
Creates an array pushing the value N times.
Definition: OgreFastArray.h:153
EdgeGroupList edgeGroups
All edge groups of this edge list.
Definition: OgreEdgeListBuilder.h:132
void remove(const String &filename)
virtual Real getBoundingRadius() const
Overridden from MovableObject.
bool getPoseHalfPrecision() const
Command object for billboard type (see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:64
virtual void _positionsOutOfDate(void)
Tell the object and its children to recalculate.
void addConfig(void)
Add any special config values to the system.
ImageBlur2D separableBlur_Signed_XX88
Definition: OgreImageDownsampler.h:135
const String & getFriendlyName(void) const
See RenderSystem.
GL3PlusDefaultHardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage)
ImageDownsampler2D downscale2x_XXXA8888
Definition: OgreImageDownsampler.h:57
void licenseExpired(HardwareBuffer *buffer)
Overridden member from HardwareBufferLicensee.
Specialisation of HardwareIndexBuffer for emulation.
Definition: OgreDefaultHardwareBufferManager.h:77
virtual void addListener(Listener *l)
Add a listener to this camera.
void unlock()
Definition: OgreHardwareBuffer.h:375
@ SPFM_NONE
Don`t free resource at all, lifetime controlled externally.
Definition: OgreSharedPtr.h:52
Real getCachedDistanceToCameraAsReal(void) const
Returns the distance to camera as calculated in @cullFrustum.
@ GCT_UINT4
Definition: OgreGpuProgramParams.h:115
void setExtents(const Vector3 &min, const Vector3 &max)
Sets both minimum and maximum extents at once.
Definition: OgreAxisAlignedBox.h:248
virtual bool isVisible(void) const =0
Vector3 convertLocalToWorldDirectionUpdated(const Vector3 &localDir, bool useScale)
Definition: OgreNode.h:730
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
@ FILTER_BOX
Definition: OgreImage.h:454
ushort getComputeProgramConstantBoolCount(void) const
The number of boolean constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:967
Real getBoneBoundingRadius() const
Gets the radius used to inflate the bounding box around the bones.
This implementation can be used by all RenderSystem APIs except D3D11, which is why this implementati...
Definition: OgreStagingTextureBufferImpl.h:50
virtual void processMaterialName(Mesh *mesh, String *name)=0
Called to override the loading of the given named material.
@ ET_USCROLL
Constant u scrolling effect.
Definition: OgreTextureUnitState.h:83
TextureTypes
Definition: OgreTextureGpu.h:54
String name
Definition: OgreStringInterface.h:73
void setConfigOption(const String &name, const String &value)
MeshSerializerImpl_v1_2()
virtual bool hasMovableObject(MovableObject *m)
Returns if this SceneManager contains the specified MovableObject.
static GpuProgramManager * getSingletonPtr(void)
Override standard Singleton retrieval.
virtual void setFsaaResolved()
Definition: OgreGL3PlusNullTexture.h:108
void removeTagPoint(TagPoint *tagPoint)
static thread_local std::int64_t m_VarCounter
Definition: OgreThreadDefinesSTD.h:79
static const Vector3 UNIT_SCALE
Definition: OgreVector3.h:821
const String & getMovableType(void) const
Returns the type name of this object.
bool endRenderingQueued(void)
Check for planned end of rendering.
bool isVertexBufferShadowed(void) const
Gets whether or not this meshes vertex buffers are shadowed.
Definition: OgreMesh.h:638
static const IdString TwoSidedLighting
Definition: OgreHlmsPbs.h:484
static const IdString TypedUavLoad
Definition: OgreHlmsCompute.h:203
const String & getUnsupportedTechniquesExplanation() const
Gets a string explaining why any techniques are not supported.
Definition: OgreMaterial.h:238
BufferPool(uint32 _hash, uint32 slotsPerPool, ConstBufferPacked *_materialBuffer, BufferPacked *_extraBuffer)
Definition: OgreNULLMultiSourceVertexBufferPool.h:40
bool getUseColumnMajorMatrices() const
Returns whether Ogre will pass auto-bound matrices as column-major.
Definition: OgreShaderProgram.h:190
bool isRenderWindowSpecific(void) const
virtual bool queryIsTransferDone(void)
uint16 getDepthLevel() const
Returns how deep in the hierarchy we are (eg. 0 -> root node, 1 -> child of root)
Definition: OgreNode.h:250
String doGet(const void *target) const
virtual void setVisible(bool visible)
Set the visibility state.
Definition: OgreRenderWindow.h:142
@ M_SUBMESH_M_GEOMETRY
Definition: OgreMeshFileFormat.h:86
bool hasMoreElements() const
Returns true if there are more items in the collection.
Definition: OgreIteratorWrapper.h:97
AmbientLightMode getAmbientLightMode(void) const
Definition: OgreHlmsPbs.h:349
ID3D11DomainShader * getDomainShader(void) const
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...
const EntitySet * getSkeletonInstanceSharingSet() const
Returns a pointer to the set of entities which share a OldSkeletonInstance.
Definition: OgreEntity.h:572
virtual const String & getMovableType(void) const
Returns the type name of this object.
virtual const String & getTargetLanguage(void) const
Definition: OgreShaderCGProgramWriter.h:129
virtual void frameStart(Real timeSinceLastFrame)
Called when the frame starts.
virtual ~NULLAsyncTextureTicket()
GLCounterBufferList::iterator GLCounterBufferIterator
Definition: OgreGLSLProgram.h:79
@ CB_LOW_LEVEL_MATERIAL
Definition: OgreCbCommon.h:70
void destroyTexBuffer(TexBufferPacked *texBuffer)
Destroys the given texture buffer created with createTexBuffer.
const String & getShaderProfile(void) const
Definition: OgreHlms.h:459
@ PBSM_METALLIC
Definition: OgreHlmsPbsPrerequisites.h:60
@ GCT_SAMPLER1D
Definition: OgreGpuProgramParams.h:77
vector< UavDependency >::type UavDependencyVec
Definition: OgreCompositorPassDef.h:204
Vector3 & getMinimum(void)
Gets a modifiable version of the minimum corner of the box.
Definition: OgreAxisAlignedBox.h:157
Definition: OgreMetalTextureGpuManager.h:48
@ SPC_LIGHTDIRECTION_WORLD_SPACE5
Definition: OgreShaderParameter.h:182
virtual ~EdgeListBuilder()
void copyDataImpl(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
void clear() const
Clear all user objects from this binding.
void destroy(const String &name)
Destroys an existing overlay by name.
virtual void _setToDisplayDummyTexture(void)
GL3PlusTexBufferPacked(size_t internalBufStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, GL3PlusBufferInterface *bufferInterface, PixelFormatGpu pf)
bool isResourceGroupInGlobalPool(const String &name)
Checks the status of a resource group.
virtual const String & getMaterialName(void) const
Gets the name of the material this element uses.
Light(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager)
Normal constructor.
Definition: OgreGLES2VaoManager.h:58
D3D11DepthBuffer(uint16 poolId, D3D11RenderSystem *renderSystem, ID3D11Texture2D *depthStencilResource, ID3D11DepthStencilView *depthBufferView, ID3D11ShaderResourceView *depthTextureView, uint32 width, uint32 height, uint32 fsaa, uint32 multiSampleQuality, PixelFormat pixelFormat, bool isDepthTexture, bool isManual)
String getBottomRightBorderUVString() const
ImageBlur2D separableBlur_Signed_XXXA8888
Definition: OgreImageDownsampler.h:133
void _setGlTextureName(GLuint textureName)
SmallVectorTemplateBase(size_t Size)
Definition: OgreMain/include/OgreSmallVector.h:240
AreaOfInterest(const Aabb &_aabb, Real _sphereRadius)
Definition: OgreInstantRadiosity.h:186
void build(SceneManager *sceneManager)
virtual int32 getPageRangeMinY() const
get the index range of all Pages (values outside this will be ignored)
size_t getTextureAliasCount(void) const
Gets the number of texture aliases assigned to the sub mesh.
Definition: OgreSubMesh.h:230
@ TEX_TYPE_CUBE_MAP
3D cube map, used in combination with 3D texture coordinates
Definition: OgreTexture.h:97
void getAutoconfig(v1::MeshPtr &inMesh, LodConfig &outLodConfig)
Fills Lod Config with a config, which works on any mesh.
void setNumVertexBlendMatrices(ushort num)
Definition: OgreRenderSystemCapabilities.h:523
#define OGRE_MEMORY_TRACKER
Definition: OgrePrerequisites.h:46
int8 kernelStartX
Definition: OgreImageDownsampler.h:217
static const IdString ReceiveShadows
Definition: OgreHlmsPbs.h:485
map< VertexBufferPacked *, VertexBufferPacked * >::type SharedVertexBufferMap
When cloning Vaos, some vertex buffers are used multiple times for LOD'ing purposes (only the IndexBu...
Definition: OgreVertexArrayObject.h:43
virtual void _render(const v1::CbDrawCallStrip *cmd)
IlluminationRenderStage _getCurrentRenderStage() const
Definition: OgreSceneManager.h:2714
virtual bool isVisible(void) const
Indicates whether the window is visible (not minimized or obscured)
Definition: OgreRenderWindow.h:138
const String & getName() const
Definition: OgrePagedWorld.h:76
virtual void setCellSize(Real sz)
Set the size of the cells in the grid.
Factory object for creating WireAabb instances.
Definition: OgreWireAabb.h:63
RenderTargetViewEntry depthAttachment
Definition: OgreTextureDefinition.h:510
virtual void _setGeometryTexture(size_t unit, TextureGpu *tex)
bool getEnablePlanarReflection(uint8 textureUnit) const
@ SKELETON_ANIMATION_TRACK
Definition: OgreSkeletonFileFormat.h:90
HLSL program writer factory implementation.
Definition: OgreShaderHLSLProgramWriter.h:120
virtual void _renderEmulatedNoBaseInstance(const CbDrawCallIndexed *cmd)
Definition: OgreRenderSystem.h:1071
Definition: OgreGpuProgramManager.h:49
Definition: OgrePlanarReflections.h:49
Definition: OgreD3D11DepthTexture.h:37
const void * getShadowCopy(void) const
Definition: OgreBufferPacked.h:320
BillboardParticleRenderer(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *sceneManager)
virtual ~GLSLESProgramPipeline()
Abstract class defining common features of hardware buffers.
Definition: OgreHardwareBuffer.h:76
Definition: OgreCbTexture.h:55
Camera(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *sm)
Standard constructor.
bool hasAutomaticBatching(void) const
virtual void read(Plane *plane, size_t count=1)
virtual bool _unprepareProceduralPage(Page *page, PagedWorldSection *section)
Give a world the opportunity to unprepare page content procedurally.
Definition: OgreHlmsCompute.h:195
virtual void apply(const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)
Applies an animation track to the designated target.
void setTexture(TextureGpu *texture)
Sets a textured for types of light that support it.
@ Type180
Definition: OgreIesLoader.h:52
const Vector3 getCenterFrontTop(void) const
Gets the center of the corners 6, 7.
Definition: OgreVolumeOctreeNode.h:364
@ SPFM_DELETE_T
Use OGRE_DELETE_T to free (only MEMCATEGORY_GENERAL supported)
Definition: OgreSharedPtr.h:48
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
static const Aabb BOX_ZERO
Definition: C/OgreAabb.h:166
String getTopLeftBorderUVString() const
bool operator==(const TerrainLayerDeclaration &dcl) const
Definition: OgreTerrainMaterialGenerator.h:136
@ UNLIT_BLEND_SCREEN
Definition: OgreHlmsUnlitPrerequisites.h:70
SampleDescription(uint8 msaa=1u, MsaaPatterns::MsaaPatterns pattern=MsaaPatterns::Undefined)
Definition: OgreCommon.h:942
@ ID_STENCIL_VALUE
Definition: OgreScriptCompiler.h:953
static const size_t c_ForwardPlusNumFloat4PerDecal
Definition: OgreForwardPlusBase.h:48
bool useDefaultPool()
Will this texture need to be in the default pool?
virtual void collectLights(Camera *camera)
CompositorManager2 * getCompositorManager2() const
Definition: OgreRoot.h:331
GpuConstantDefinitionMap map
Total size of the bool buffer required.
Definition: OgreGpuProgramParams.h:498
void setBuffersToClear(uint32 buffersToClear)
Sets which buffers you want to clear for each attachment.
Definition: OgreCompositorPassClearDef.h:84
MaterialIterator getMaterialIterator(void)
Get an iterator over the materials in this LOD.
HardwareIndexBufferSharedPtr(HardwareIndexBuffer *buf)
size_t calculateSize(void) const
void saturate(void)
Clamps colour value to the range [0, 1].
Definition: OgreColourValue.h:111
bool suggestUsingSRGB(PbsTextureTypes type) const
Suggests the TextureMapType (aka texture category) for each type of texture (i.e.
void _notifyEntityMeshLodChanged(EntityMeshLodChangedEvent &evt)
Notify that an entity mesh LOD change event has occurred.
@ OT_PATCH_17_CONTROL_POINT
Definition: OgreHlmsPso.h:76
StencilStateOp()
Definition: OgreCommon.h:126
Real _m[16]
Definition: OgreMatrix4.h:91
static const String & getDirectionalLightExtruderVs_glslesDebug(void)
Get extruder program source for debug directional lights, compatible with glsles.
Definition: OgreShadowVolumeExtrudeProgram.h:272
static const IdString RenderDepthOnly
Definition: OgreHlms.h:870
virtual void deinitGPUProfiling(void)
unsigned int useCount() const
Definition: OgreSharedPtr.h:287
uint8 mLastRq
Definition: OgreInstantRadiosity.h:134
~D3D9HardwareOcclusionQuery()
Object destructor.
OGRE_STATIC_MUTEX(msPassGraveyardMutex)
std::size_t size_type
Definition: OgreMemorySTLAllocator.h:91
v1::SubEntity * subEntity
The sub-entity whose material's level of detail has changed.
Definition: OgreLodListener.h:76
uint32 getNumBlocksX(void) const
Definition: OgreIrradianceVolume.h:120
bool _getErrorsFromQueue() const
virtual void _notifyAttached(Node *parent)=0
Delegated to by ParticleSystem::_notifyAttached.
const AxisAlignedBox & getAABB() const
Get the AABB (local coords) of the entire terrain.
virtual bool sortLightsAffectingFrustum(LightList &lightList)
Hook to allow the listener to override the ordering of lights for the entire frustum.
Definition: OgreSceneManager.h:340
String manualName
Only relevant if mIsLodManual is true, the name of the alternative mesh to use.
Definition: OgreMesh.h:1061
Hlms::RenderableCache mergedCache
Definition: OgreHlmsDiskCache.h:136
Container struct to allow params to safely & update shared list of logical buffer assignments.
Definition: OgreGpuProgramParams.h:582
static String DEFAULT_RESOURCE_GROUP_NAME
Default resource group name.
Definition: OgreResourceGroupManager.h:286
void setMaterialAtlasingAttributes(Ogre::Material *material, IndexPositionMode mode, ushort offset, bool autoAdjustBorders)
Set the default attributes concerning atlas texture processing for a specific material.
@ M_GEOMETRY_VERTEX_DECLARATION
Definition: OgreMeshFileFormat.h:214
long long int64
Definition: OgrePlatform.h:466
bool getVSync(void) const
SharedPtr< LodInputProvider > LodInputProviderPtr
Definition: OgreLodPrerequisites.h:67
virtual RenderTarget * detachRenderTarget(const String &name)
static const Real EPSILON
Definition: OgreMatrix3.h:259
@ ID_MIRROR
Definition: OgreScriptCompiler.h:744
bool getEnabled(void) const
unsigned int getNumOutputs(void) const
virtual void _notifyTextureSlotChanged(const TexturePool *newPool, uint16 slice)
virtual const String & getType() const
virtual void stopMapRegion(void)
Must be called from main thread when the StagingBuffer is released.
vector< TextureAtlasRecord >::type TextureAtlasTable
Definition: OgreShaderExTextureAtlasSampler.h:68
Definition: OgreHlms.h:951
const D3D11_SIGNATURE_PARAMETER_DESC & getInputParamDesc(unsigned int index) const
void _setBoneBoundingRadius(Real radius)
Manually set the bone bounding radius.
void doSet(void *target, const String &val)
virtual void abortRequestsByChannel(uint16 channel)
Abort all previously issued requests in a given channel.
@ TextureEffectPlay_ASAP
Video starts out paused.
Definition: OgreExternalTextureSource.h:63
size_t getUsedMemory() const
Gets used memory in bytes (not including waste)
Vector3 reflNormal
Definition: OgrePlanarReflections.h:84
bool hasShadowCasterVertexProgram(void) const
Returns true if this pass uses a shadow caster vertex program.
Definition: OgrePass.h:198
ImageDownsamplerCube downscale2x_XA88_cube
Definition: OgreImageDownsampler.h:81
bool hasShaderBasedTechnique(const String &materialName, const String &srcTechniqueSchemeName, const String &dstTechniqueSchemeName) const
Checks if a shader based technique has been created for a given technique.
void setVendor(GPUVendor v)
Definition: OgreRenderSystemCapabilities.h:473
const String & getType(void) const
Get the type of the object to be created.
ExceptionCodes
Static definitions of error codes.
Definition: OgreException.h:106
void _deleteInitialData(void)
GLuint vertexBufferVbo
Definition: OgreGL3PlusVaoManager.h:101
size_t getVboPoolIndex(void)
Definition: OgreGL3PlusBufferInterface.h:67
GlyphInfo(CodePoint id, const UVRect &rect, Real aspect)
Definition: OgreFont.h:147
VectorImpl::const_reference const_reference
Definition: OgreCommon.h:460
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 void lodUpdateImpl(const size_t numNodes, ObjectData t, const Camera *camera, Real bias) const
virtual ~DefaultGpuBufferAllocator()
bool isNull()
Definition: OgreD3D11Device.h:62
GLuint getShaderID(void) const
Get the OGRE assigned shader ID.
Definition: OgreGLSLESShader.h:141
HlmsUnlitMobile(Archive *dataFolder, ArchiveVec *libraryFolders)
Block(size_t _offset, size_t _size)
Definition: OgreGL3PlusVaoManager.h:56
bool cubemapsAs2DArrays
Definition: OgreDescriptorSetTexture.h:181
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:163
void getValue(const String &name, T &value) const
Get a named property value.
Definition: OgreProperty.h:317
void addConfig()
Add any special config values to the system.
void importSkeleton(DataStreamPtr &stream, Skeleton *pDest)
Imports Skeleton and animation data from a .skeleton file DataStream.
FrustrumExtentsType
Specify how the frustrum extents are represented.
Definition: OgreFrustum.h:83
GLSL program writer factory implementation.
Definition: OgreShaderGLSLProgramWriter.h:122
String token
Definition: OgreScriptCompiler.h:71
String path
Path name; separated by '/' and ending with '/'.
Definition: OgreArchive.h:58
Definition: OgreNULLVaoManager.h:95
PageContentCollectionFactory()
Definition: OgrePageContentCollectionFactory.h:50
virtual void setPreferredIntegerBitDepth(ushort bits, bool reloadTextures=true)
Sets preferred bit depth for integer pixel format textures.
Atom XInternAtom(Display *nativeDisplayType, char *name, X11Bool isTrue)
GLES2Context * clone() const
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
CSGNegateSource(void)
Constructor.
static D3DBLENDOP get(SceneBlendOperation sbo)
return a D3D9 equivalent for a Ogre SceneBlendOperation value
An animation sequence.
Definition: OgreAnimation.h:92
@ SPC_TEXTURE_ARRAY
Definition: OgreShaderParameter.h:296
virtual bool getOptionValues(const String &strKey, StringVector &refValueList)
Method for getting all possible values for a specific option.
Definition: OgreSceneManager.h:1829
virtual DataStreamPtr open(const String &filename, bool readOnly=true)=0
Open a stream on a given file.
void fillBuffer(Ogre::v1::IndexData *data)
if NULL, then the previous Lod level's buffer is used. (compression)
TextureBox map(uint32 slice)
Maps the buffer for CPU access.
struct Ogre::Volume::ChunkRequest ChunkRequest
Data being passed around while loading.
Real getDistance(const Vector3 &rkPoint) const
This is a pseudodistance.
ConstVectorRange(const T &c)
Constructor.
Definition: OgreIteratorRange.h:192
CompositorShadowNode * findOrCreateShadowNode(IdString nodeDefName, bool &bCreated)
Finds a shadow node given it's definition name.
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 _notifyStagingBufferLeftZeroRef(StagingBuffer *stagingBuffer)
virtual HardwareVertexBufferSharedPtr allocateVertexBufferCopy(const HardwareVertexBufferSharedPtr &sourceBuffer, BufferLicenseType licenseType, HardwareBufferLicensee *licensee, bool copyData=false)
Allocates a copy of a given vertex buffer.
virtual ConfigOptionMap & getConfigOptions(void)
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:214
virtual ~ShadowCameraSetup()
Need virtual destructor in case subclasses use it.
Definition: OgreShadowCameraSetup.h:80
@ ID_COMP_FUNC
Definition: OgreScriptCompiler.h:963
virtual void addMicrocodeToCache(const String &source, const Microcode µcode)
Adds a microcode for a program to the microcode cache.
Command object for setting the caption.
Definition: OgreTextAreaOverlayElement.h:167
@ FFP_PS_TEXTURING
Definition: OgreShaderFFPRenderState.h:60
virtual bool isReloadable(void) const
Returns true if the Resource is reloadable, false otherwise.
Definition: OgreResource.h:289
static const ArrayReal INFINITEA
Definition: OgreMathlibC.h:59
virtual ~NULLAsyncTicket()
void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
GL3PlusMultiSourceVertexBufferPool(size_t vboPoolIndex, GLuint vboName, const VertexElement2VecVec &vertexElementsBySource, size_t maxVertices, BufferType bufferType, size_t internalBufferStart, VaoManager *vaoManager)
void skip(long count)
Skip a defined number of bytes.
Vector3 mC0
Definition: OgreVolumeDualGridGenerator.h:45
@ VET_USHORT4
Definition: OgreVertexElements.h:94
virtual Page * getPage(PageID pageID)
Retrieves a Page.
CbBase(uint16 cmdType)
Definition: OgreCbCommon.h:78
@ PT_UNSIGNED_INT
Definition: OgreStringInterface.h:56
SubEntity * getSubEntity(size_t index)
Gets a pointer to a SubEntity, ie a part of an Entity.
Real getBoneWeight(IdString boneName) const
Gets the current per-bone weight of a particular bone.
bool hasVertexProgram(void) const
Returns true if this pass uses a programmable vertex pipeline.
Definition: OgrePass.h:186
Definition: OgreCompositorNamedBuffer.h:47
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 setTextureNameAlias(const String &name)
Set the alias name used for texture frame names.
Real distance
Distance along the ray.
Definition: OgreSceneQuery.h:356
virtual void destroyAllAnimationStates(void)
Removes all animation states created using this SceneManager.
GL3PlusTextureManager(GL3PlusSupport &support)
SuperClass::iterator iterator
Definition: OgreMain/include/OgreSmallVector.h:332
const CompositorPass * getCurrentCompositorPass(void) const
Note: May be null.
Definition: OgreSceneManager.h:2409
uint8 getShadowMapSupportedLightTypes(void) const
Definition: OgreCompositorPassDef.h:284
virtual void resize(unsigned int width, unsigned int height)
Alter the size of the window.
static const IdString LightsDirectional
Definition: OgreHlms.h:844
virtual bool getForceDisableColourWrites(void) const
Used by depth texture views which need to disable colour writes when rendering to it PF_NULL targets ...
Definition: OgreGLES2DepthTexture.h:108
virtual uint8 waitForTailFrameToFinish(void)=0
Returns the current frame # (which wraps to 0 every mDynamicBufferMultiplier times).
void setSpaceWidth(Real width)
IndexMap blendIndexToBoneIndexMap
Definition: OgreSubMesh.h:116
~HardwareBufferLockGuard()
Definition: OgreHardwareBuffer.h:373
@ PF_ETC2_RGB8
ETC2 (Ericsson Texture Compression)
Definition: OgrePixelFormat.h:248
@ FILTER_GAUSSIAN
Applies gaussian filter over the image, then a point sampling reduction This is done at the same time...
Definition: OgreImage2.h:342
ArrayVector3 xAxis(void) const
Returns the X orthonormal axis defining the quaternion.
void increaseLodLevel(long x, long y, bool synchronous=false)
Loads terrain's next LOD level.
void getMinMaxDepthRange(const Frustum *shadowMapCamera, Real &outMin, Real &outMax) const
@See CompositorShadowNode::getMinMaxDepthRange
DefaultHardwareVertexBuffer(size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage)
ArrayVector3 yAxis(void) const
Returns the Y orthonormal axis defining the quaternion.
TextureGpu * createOrRetrieveTexture(const String &name, GpuPageOutStrategy::GpuPageOutStrategy pageOutStrategy, CommonTextureTypes::CommonTextureTypes type, const String &resourceGroup=BLANKSTRING, uint32 poolId=0)
void clearAutoConstants(void)
Clears all the existing automatic constants.
virtual ~GLES2MultiSourceVertexBufferPool()
virtual void setStencilBufferParams(uint32 refValue, const StencilParams &stencilParams)
This method allows you to set all the stencil buffer parameters in one call.
uint32 getHeight(void) const
Returns the height of the texture.
Definition: OgreTexture.h:221
ScriptCompilerListener * getListener()
Returns the currently set listener used for compiler instances.
list< Plane >::type * planes
Planes bounding a convex region, only applicable for WFT_PLANE_BOUNDED_REGION.
Definition: OgreSceneQuery.h:113
String getRenderSystemName(void) const
Get the identifier of the rendersystem from which these capabilities were generated.
Definition: OgreRenderSystemCapabilities.h:851
uint32 getNumThreadGroupsY(void) const
Definition: OgreHlmsComputeJob.h:199
void setLocalAabb(const Aabb box)
Sets the local axis-aligned bounding box for this object.
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create a counter buffer.
static AbsolutePixelCountLodStrategy * getSingletonPtr(void)
Override standard Singleton retrieval.
void setAutoBuildEdgeLists(bool autobuild)
Sets whether or not this Mesh should automatically build edge lists when asked for them,...
Definition: OgreMesh.h:921
POINT * pScrollOffset
Definition: OgreD3D11LegacySDKEmulation.h:76
virtual ~RenderSystem()
Destructor.
PageManager * getManager() const
Definition: OgrePageStrategy.h:88
SharedPtr< Parameter > ParameterPtr
Definition: OgreShaderPrerequisites.h:72
void doSet(void *target, const String &val)
virtual void setInheritOrientation(bool inherit)
Tells the OldNode whether it should inherit orientation from it's parent OldNode.
virtual void getBottomLeftGridSpace(int32 x, int32 y, int z, Vector3 &bl)
Get the (grid space) bottom-left of a cell.
virtual void setDuration(Real duration)
Sets the duration of the emitter.
void * lock(size_t offset, size_t length, LockOptions options)
Override HardwareBuffer to turn off all shadowing.
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
Create an instance of the SubRenderState based on script properties.
Definition: OgreShaderSubRenderState.h:253
FogMode
Fog modes.
Definition: OgreCommon.h:237
virtual void addConfig()=0
Add any special config values to the system.
RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
bool hasRenderState(const String &schemeName) const
Tells if a given render state exists.
virtual void worldGeometryStageStarted(const String &description)=0
This event is fired when a stage of loading linked world geometry is about to start.
WaveformType
Enumerates the wave types usable with the Ogre engine.
Definition: OgreCommon.h:274
Param * findParameter(const String &name)
Finds a parameter.
void clearBoneAssignments(void)
Removes all bone assignments for this mesh.
bool getUseDiffuseMapAsGrayscale(void) const
size_t firstBoneIndex
Definition: OgreSkeletonDef.h:77
String validateConfig(void)
Make sure all the extra options are valid.
static bool isBool(GpuConstantType c)
Definition: OgreGpuProgramParams.h:273
Codec specialized in images loaded using FreeImage.
Definition: OgreFreeImageCodec.h:49
static ResourceGroupManager & getSingleton(void)
Override standard Singleton retrieval.
virtual void setOrigin(const Vector3 &worldOrigin)
Set the origin of the grid in world space.
Definition: OgreGL3PlusTextureGpu.h:40
@ SPC_TEXTURE_COORDINATE6
Definition: OgreShaderParameter.h:294
void _updateFromShadow(void)
See HardwareBuffer.
void merge(const Vector3 &point)
Extends the box to encompass the specified point (if needed).
Definition: OgreAxisAlignedBox.h:390
const NodeTrackList & _getNodeTrackList(void) const
Fast access to NON-UPDATEABLE node track list.
Helper template which is the base for our ConstParameters.
Definition: OgreShaderParameter.h:574
@ GPU_IMAGINATION_TECHNOLOGIES
Definition: OgreRenderSystemCapabilities.h:315
virtual ~Cmd()
Definition: OgreObjCmdBuffer.h:60
void _update(void)
Updates the workspace's nodes.
const ColourValue & getColourBottom(void) const
Gets the colour of the bottom of the letters.
void _applyBaseKeyFrame(const VertexPoseKeyFrame *base)
void bindGpuProgramParameters(GpuProgramType gptype, GpuProgramParametersSharedPtr params, uint16 mask)
See RenderSystem.
Real squaredDistance(const Vector3 &v) const
Returns the squared minimum distance between a given point and any part of the box.
Definition: OgreAxisAlignedBox.h:743
@ LB_BlendVividLight
Definition: OgreShaderExLayeredBlending.h:70
@ Reinterpretable
When present, you may be creating another TextureGpu that accesses the internal resources of this Tex...
Definition: OgreTextureGpu.h:115
DelayedDownload(TextureGpu *_textureSrc, uint8 _mipLevel, bool _accurateTracking, TextureBox *_srcBox)
Definition: OgreAsyncTextureTicket.h:73
bool prepare(DataStreamPtr &stream)
Prepare terrain data from saved data.
Interface used to by the Terrain instance to allocate GPU buffers.
Definition: OgreTerrain.h:537
vector< GPUDeviceNameRule >::type GPUDeviceNameRuleList
Definition: OgreTechnique.h:115
virtual void copyFrom(const SubRenderState &rhs)
list< ConcreteNodePtr >::type ConcreteNodeList
Definition: OgreScriptCompiler.h:67
Definition: OgreInstantRadiosity.h:54
static const IdString UseSsr
Definition: OgreHlms.h:879
void _updateBoneStartTransforms(void)
Updates the contents of @mBoneStartTransforms.
const GpuProgramParameters_AutoConstantEntry * findFloatAutoConstantEntry(size_t logicalIndex)
Finds an auto constant that's affecting a given logical parameter index for floating-point values.
OGRE_DEPRECATED 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:293
~RadixSort()
Definition: OgreRadixSort.h:238
virtual ~LodStrategy()
Virtual destructor.
virtual ~GL3PlusVaoManager()
Information about predefined program constants.
Definition: OgreGpuProgramParams.h:153
map< String, OverlayContainer * >::type ChildContainerMap
Definition: OgreOverlayContainer.h:61
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:57
void * data
Pointer is never owned by us.
Definition: OgreTextureBox.h:53
static ParameterPtr createConstParamVector2(Vector2 val)
AtomicScalar< unsigned > useCount
Definition: OgreSharedPtr.h:62
@ PF_BYTE_LA
2 byte pixel format, 1 byte luminance, 1 byte alpha
Definition: OgrePixelFormat.h:59
@ PF_ASTC_RGBA_10X8_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 10x8)
Definition: OgrePixelFormat.h:281
~Item()
Default destructor.
InternalCubemapProbe(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager)
static IDirect3D9 * getDirect3D9()
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
void setActiveDevice(D3D9Device *device)
void destroyController(Controller< Real > *controller)
Removes & destroys the controller passed in as a pointer.
Template class for creating single-instance global classes.
Definition: OgreSingleton.h:65
vector< uint16 >::type availableSlots
Definition: OgreTextureGpuManager.h:72
const VertexElement & addElement(unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0)
See VertexDeclaration.
bool queryResult(MovableObject *obj, Real distance)
Self-callback in order to deal with execute which returns collection.
Real getSpeedFactor(void) const
Gets the 'speed factor' on this particle system.
Definition: OgreParticleSystem.h:406
ImageDownsamplerCube downscale2x_Signed_XXX888_cube
Definition: OgreImageDownsampler.h:123
bool isLoaded() const
Return whether the terrain is loaded.
Definition: OgreTerrain.h:755
static const Any & getEmptyUserAny()
Returns empty user any object.
Definition: OgreUserObjectBindings.h:100
void setGeometry(const Vector2 &pos, const Vector2 &size)
void setAllLoadActions(LoadAction::LoadAction loadAction)
GPUVendorRuleIterator getGPUVendorRuleIterator() const
Get an iterator over the currently registered vendor rules.
static String Type
The type of this class.
Definition: OgreShaderFunctionAtom.h:246
Factory object for creating Entity instances.
Definition: OgreRectangle2D.h:100
void setSkeletonName(const String &skelName)
Calculates.
Definition of a Plane that may be attached to a node, and the derived details of it retrieved simply.
Definition: OgreMovablePlane.h:55
TextureGpu * createTexture(const String &name, const String &aliasName, GpuPageOutStrategy::GpuPageOutStrategy pageOutStrategy, uint32 textureFlags, TextureTypes::TextureTypes initialType, const String &resourceGroup=BLANKSTRING, uint32 filters=0, uint32 poolId=0)
Real getCharHeight() const
virtual void reloadFrom(Archive *newDataFolder, ArchiveVec *libraryFolders=0)
Destroys all the cached shaders and in the next opportunity will recreate them from the new location.
virtual bool notifyRecreated(const TextureGpu *channel)
@See CompositorNode::notifyRecreated
String getNameStr(void) const
Definition: OgreCompositorWorkspaceDef.h:132
uint32 instanceCount
Definition: OgreCbDrawCall.h:107
static const uint16 WORKQUEUE_LOAD_LOD_DATA_REQUEST
Definition: OgreTerrainLodManager.h:90
void addRequestToQueue(LodConfig &lodConfig, LodCollapseCostPtr &cost, LodDataPtr &data, LodInputProviderPtr &input, LodOutputProviderPtr &output, LodCollapserPtr &collapser)
void destroy(pointer p)
Definition: OgreMemorySTLAllocator.h:178
const Vector4 getCenterValue(void) const
Gets the center value.
Definition: OgreVolumeOctreeNode.h:517
void _unload(void)
Internal method for unloading this pass.
bool operator>=(const ComPtr< T > &a, const ComPtr< T > &b) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:251
const Vector3 & getPositionForViewUpdate(void) const
Get the derived position of this frustum.
Specifies the minimum squared resolution & number of slices to keep around all the for time StagingTe...
Definition: OgreTextureGpuManager.h:234
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
@ ID_SCALE_Y
Definition: OgreScriptCompiler.h:793
const Vector3 & getOrigin(void) const
Gets the origin of the ray.
Definition: OgreRay.h:58
SceneObjAllocatedObject FXAlloc
Definition: OgreMemoryAllocatorConfig.h:310
void scrollAnimation(bool translateU, bool translateV)
scrollAnimation.
virtual void freeVertexBuffers(const HardwareVertexBufferSharedPtr &posbuf, const HardwareVertexBufferSharedPtr &deltabuf)=0
Free (or return to the pool) vertex buffers for terrain.
virtual bool removeRenderWindow(const String &renderWindowName)
GLint isLinked(void)
Return the shader link status.
Definition: OgreGLSLShader.h:199
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...
String translateWGLError()
Definition: OgreD3D11GpuProgramManager.h:38
ushort getStencilBufferBitDepth(void) const
Determines the bit depth of the hardware accelerated stencil buffer, if supported.
Definition: OgreRenderSystemCapabilities.h:562
bool isNaN() const
Check whether this quaternion contains valid values.
Definition: OgreQuaternion.h:323
virtual ~PageProvider()
Definition: OgrePageManager.h:61
vector< Library >::type LibraryVec
Definition: OgreHlms.h:196
void set(const T &v)
Definition: OgreAtomicScalar.h:432
bool operator<(const SmallVectorImpl &RHS) const
Definition: OgreMain/include/OgreSmallVector.h:594
virtual Real getShadowDirectionalLightExtrusionDistance(void) const
Gets the distance a shadow volume is extruded for a directional light.
virtual const String & getTypeName(void) const
See OverlayElementFactory.
virtual Camera * findCameraNoThrow(IdString name) const
Finds the camera with the given name.
void setInheritScale(bool inherit)
Tells the node whether it should inherit scaling factors from it's parent node.
IndexData * gpuIndexData
Index data on the gpu.
Definition: OgreTerrainQuadTreeNode.h:138
void destroyIndirectBuffer(IndirectBufferPacked *indirectBuffer)
Destroys the given indirect buffer created with createIndirectBuffer.
void unmap(const Destination *destinations, size_t numDestinations)
virtual ~GLES2TextureManager()
String doGet(const void *target) const
ConstVectorIterator< LinkedSkeletonAnimSourceList > LinkedSkeletonAnimSourceIterator
Definition: OgreSkeleton.h:347
static void scale(const TextureBox &src, PixelFormatGpu srcFormat, const TextureBox &dst, PixelFormatGpu dstFormat)
Definition: OgreImageResampler.h:181
ElementType
Defines the base element type of the auto constant.
Definition: OgreGpuProgramParams.h:1415
static D3DTEXTUREADDRESS get(TextureUnitState::TextureAddressingMode tam, const D3DCAPS9 &devCaps)
return a D3D9 equivalent for a Ogre TextureAddressingMode value
virtual FileInfoListPtr listFileInfo(bool recursive=true, bool dirs=false)=0
List all files in the archive with accompanying information.
static const Vector3 NEGATIVE_UNIT_X
Definition: OgreVector3.h:818
RenderStateList::const_iterator RenderStateConstIterator
Definition: OgreShaderRenderState.h:131
void push_back(const T &val)
Definition: OgreFastArray.h:182
static const IdString SignedIntTex
Definition: OgreUnlitProperty.h:44
@ PFG_RG16_UINT
Definition: OgrePixelFormatGpu.h:83
@ BT_DYNAMIC_PERSISTENT_COHERENT
Same as BT_DYNAMIC_PERSISTENT, but mapping will be persistent and cache coherent.
Definition: OgreBufferPacked.h:62
static const IdString FresnelWorkflow
Definition: OgreHlmsPbs.h:482
HlmsDatablock * getDefaultDatablock(void) const
Datablock to use when another datablock failed or none was specified.
HardwareOcclusionQuery * createHardwareOcclusionQuery()
Create an object for performing hardware occlusion queries.
void _setCustomCamera(Camera *camera)
Definition: OgreCompositorPassScene.h:102
float heightFactor
Definition: OgreTextureDefinition.h:106
void encodeToFile(MemoryDataStreamPtr &input, const String &outFileName, CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
D3D11HardwareBufferManagerBase as a Singleton.
Definition: OgreD3D11HardwareBufferManager.h:67
GL3PlusOldVertexArrayObject * getVertexArrayObject()
Definition: OgreGLSLProgram.h:142
virtual void _hlmsBlendblockCreated(HlmsBlendblock *newBlock)
bool mReadOnlyDepth
Definition: OgreCompositorPassDef.h:157
Real z
Definition: OgreVector4.h:48
Definition: OgreGL3PlusVaoManager.h:52
void destroyRenderTarget(const String &name)
struct DXGI_SWAP_CHAIN_FULLSCREEN_DESC DXGI_SWAP_CHAIN_FULLSCREEN_DESC
virtual void applyRebase(uint16 level, const MemoryPoolVec &newBasePtrs, const ArrayMemoryManager::PtrdiffVec &diffsList)
Called when the manager already grew it's memory pool to honour more node requests.
void update(SceneManager *sceneManager, uint32 numBounces, float thinWallCounter=1.0f, bool autoMultiplier=true, float rayMarchStepScale=1.0f, uint32 lightMask=0xffffffff)
static PropertyType getTypeForValue(const short &val)
Definition: OgreProperty.h:155
MeshSerializerImpl_v1_1()
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:235
LARGE_INTEGER GetDriverVersion()
Definition: OgreD3D11Device.h:69
bool hasDiffuseTex(void) const
Definition: OgreVctMaterial.h:56
static const IdString ObbRestraintApprox
Definition: OgreHlmsPbs.h:561
@ GCT_SUBROUTINE
Definition: OgreGpuProgramParams.h:98
@ PF_ASTC_RGBA_12X12_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 12x12)
Definition: OgrePixelFormat.h:287
@ PF_R16G16B16_UINT
48-bit pixel format, 16 bits red (unsigned int), 16 bits blue (unsigned int), 16 bits green (unsigned...
Definition: OgrePixelFormat.h:172
bool isTransparent(void) const
Determines if the material has any transparency with the rest of the scene (derived from whether any ...
const ResourceAccessMap & getUavsAccess(void) const
Definition: OgreCompositorWorkspace.h:195
@ LBX_DOTPRODUCT
dot product of color1 and color2
Definition: OgreBlendMode.h:103
GeneralAllocatedObject FactoryAlloc
Definition: OgreMemoryAllocatorConfig.h:309
@ SPC_NORMAL_OBJECT_SPACE
Normal in object space.
Definition: OgreShaderParameter.h:103
D3DDISPLAYMODE getDisplayMode() const
Definition: OgreD3D9VideoMode.h:58
void setPointRenderingEnabled(bool enabled)
Set whether or not the BillboardSet will use point rendering rather than manually generated quads.
@ PF_SHORT_RGB
48-bit pixel format, 16 bits for red, green and blue
Definition: OgrePixelFormat.h:144
virtual bool setDrawBuffer(ColourBufferType colourBuffer)
Definition: OgreSDLWindow.h:37
virtual void _setVertexArrayObject(const VertexArrayObject *vao)
Part of the low level rendering interface.
virtual const String & getName(void) const
Returns the name of the rendering system.
Definition: OgreLodCollapseCostOutside.h:43
@ VET_SHORT4_SNORM
Definition: OgreVertexElements.h:107
virtual void bindBufferDS(uint16 slot, size_t offset=0, size_t sizeBytes=0)=0
HlmsCache(uint32 _hash, HlmsTypes _type, const HlmsPso &_pso)
Definition: OgreHlmsCommon.h:202
void setNamedConstant(const String &name, const int *val, size_t count, size_t multiple=4)
Sets a multiple value constant integer parameter to the program.
size_t _getNumRenderedFaces(void) const
Internal method to retrieve the number of visible faces in the last render.
OldNodeAnimationTrack * createOldNodeTrack(unsigned short handle)
Creates a OldNodeAnimationTrack for animating a OldOldNode.
@ PFG_ASTC_RGBA_UNORM_6X6_sRGB
Definition: OgrePixelFormatGpu.h:256
String resourceName
Definition: OgreHlmsTextureManager.h:159
void _beginFrame(void)
See RenderSystem.
virtual ~ASTCCodec()
Definition: OgreASTCCodec.h:59
Real z
Z coordinate of the position.
Definition: OgreVolumeMeshBuilder.h:51
uint32 type
This is the id associated with the lexeme, which comes from a lexeme-token id mapping.
Definition: OgreScriptLexer.h:74
StencilParams mStencilParams
Definition: OgreCompositorPassStencilDef.h:49
@ BT_DYNAMIC_DEFAULT
Read access from GPU.
Definition: OgreBufferPacked.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.
#define OGRE_FRAME_STATS_SAMPLES
Definition: OgreFrameStats.h:42
void setTargetMode(TargetMode m)
Set the target mode.
Definition: OgreAnimationTrack.h:665
void * rsData
Definition: OgreHlmsPso.h:312
const FloatConstantList & getFloatConstantList() const
Get a reference to the list of float constants.
Definition: OgreGpuProgramParams.h:1894
Real ArrayReal
Definition: OgreArrayConfig.h:161
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.
virtual bool getUseRenderingDistance(void) const
Get whether this camera should use the 'rendering distance' on objects to exclude distant objects fro...
Definition: OgreCamera.h:687
virtual void setDisplaySceneNodes(bool display)
Tells the SceneManager whether it should render the SceneNodes which make up the scene as well as the...
static const uint16 CHUNK_VERSION
Definition: OgrePagedWorld.h:64
void setVertexShaderOutputsCompactPolicy(VSOutputCompactPolicy policy)
Set the vertex shader outputs compaction policy.
Definition: OgreShaderGenerator.h:469
Real distance
Definition: OgreCommon.h:655
void checkValidity(void) const
Structure used to define a box in a 3-D integer space.
Definition: OgreCommon.h:817
Definition: OgreTextureGpuManagerListener.h:48
bool empty(void) const
Definition: OgreDescriptorSetTexture.h:245
virtual_l2 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...
Class to provide aligned memory allocate functionality.
Definition: OgreAlignedAllocator.h:60
static void removeEmbbeddedFile(const String &name)
Remove an embedded file to the embedded file list.
SharedPtr< Material > MaterialPtr
Definition: OgrePrerequisites.h:394
static Matrix4 makeViewMatrix(const Vector3 &position, const Quaternion &orientation, const Matrix4 *reflectMatrix=0)
CbLowLevelMaterial(bool _casterPass, HlmsLowLevel *_hlmsLowLevel, const MovableObject *_movableObject, Renderable *_renderable)
@ ID_UAV_EXTERNAL
Definition: OgreScriptCompiler.h:977
virtual void blitFromMemory(const PixelBox &src_orig, const Box &dstBox)
Hardware implementation of blitFromMemory.
static const IdString DetailMap3
Definition: OgreHlmsPbs.h:475
void setColourAt(ColourValue const &cv, size_t x, size_t y, size_t z)
Set colour value at a certain location in the PixelBox.
Definition: OgreCompositorPassDef.h:252
int getCurrentLod() const
Get the current LOD index (only valid after calculateCurrentLod)
Definition: OgreTerrainQuadTreeNode.h:248
MemoryCategory
A set of categories that indicate the purpose of a chunk of memory being allocated.
Definition: OgreMemoryAllocatorConfig.h:160
virtual void copyTo(TextureGpu *dst, const TextureBox &dstBox, uint8 dstMipLevel, const TextureBox &srcBox, uint8 srcMipLevel, bool keepResolvedTexSynced=true)
size_t batchCount
Definition: OgreRenderTarget.h:80
virtual ChildIterator getChildIterator(void)
Gets an object for iterating over all the children of this object.
void addFactory(SceneManagerFactory *fact)
Register a new SceneManagerFactory.
bool mDirty
True if we must re-render to update the texture's contents. False when we don't.
Definition: OgreCubemapProbe.h:85
Sphere *RESTRICT_ALIAS boundingSphere
Definition: OgreCommon.h:688
D3D9GpuFragmentProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
ComPtr< ID3D11ShaderResourceView > createSrv(void) const
virtual SceneNode * createChildSceneNode(SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC, const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY)
Creates an unnamed new SceneNode as a child of this node.
LightweightMutex mMutex
Definition: OgreLog.h:121
GLSLShader * getDomainShader() const
Definition: OgreGLSLProgram.h:138
size_t avail() const
Returns number of bytes available for reading in cache after rewinding.
Definition: OgreDataStream.h:138
D3D9RenderWindow(HINSTANCE instance)
Constructor.
@ SOP_ZERO
Set the stencil value to zero.
Definition: OgreCommon.h:104
virtual ~GL3PlusRTTManager()
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:406
virtual void _updateFromParent(void)
Updates this elements transform based on it's parent.
virtual const Vector3 & _getDerivedScale(void) const
Gets the scaling factor of the OldNode as derived from all parents.
static const IdString UvRoughness
Definition: OgreHlmsPbsMobile.h:140
Real getMaxDistance() const
Definition: OgreShadowCameraSetup.h:83
virtual Real getSquaredViewDepth(const Camera *cam) const
Helper function, get the squared view depth.
void setListener(Listener *listener)
Sets a listener for this object.
Definition: OgreMovableObject.h:533
IdString inNode
Definition: OgreCompositorWorkspaceDef.h:66
virtual ~SubRenderStateFactory()
@ GPT_HULL_PROGRAM
Definition: OgreGpuProgram.h:53
bool hasLightList() const
Definition: OgreAutoParamDataSource.h:177
Real getValue(void) const
bool getFineLightMaskGranularity(void) const
Definition: OgreForwardPlusBase.h:238
bool mIsResolve
When true, the user is telling Ogre this pass just performs a custom FSAA resolve filter.
Definition: OgreCompositorPassQuadDef.h:93
Matrix4 getInverseTransposeViewProjMatrix() const
static StereoModeType parseStereoMode(const String &val, StereoModeType defaultValue=SMT_NONE)
Converts a String to a StereoModeType.
static const IdString NumShadowMapLights
Definition: OgreHlms.h:861
virtual void _beginFrame(void)
ComPtr & operator=(const ComPtr< U > &other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:170
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
void setVertexBufferBinding(VertexBufferBinding *binding)
virtual Response * handleRequest(const Request *req, const WorkQueue *srcQ)=0
The handler method every subclass must implement.
Real mFrame
Definition: OgreSkeletonTrack.h:44
void defragment(void)
Triggers on demand a defragmentation of the pools, so that all slots become contiguous in memory.
virtual Real getFarClipDistance(void) const
Retrieves the distance from the frustum to the far clipping plane.
virtual uint32 getFsaa() const
void parseString(const String &fsaaSetting)
~D3D9HardwareBufferManagerBase()
virtual void windowClosed(Window *rw)
Definition: OgreWindowEventUtilities.h:108
void copyContentsToMemory(TextureBox src, TextureBox dst, PixelFormatGpu dstFormat, bool automaticResolve=true)
Writes the current contents of the render target to the memory.
ParticleType
Type of particle.
Definition: OgreParticle.h:72
void pitch(const Radian &angle)
Pitches the camera up/down anticlockwise around it's local z axis.
ObjectMemoryManager & _getEntityMemoryManager(SceneMemoryMgrTypes sceneType)
Retrieves the main entity memory manager.
Definition: OgreSceneManager.h:1332
size_t getIndexSize(void) const
Get the size in bytes of each index.
Definition: OgreHardwareIndexBuffer.h:74
static const uint16 TERRAINGENERALINFO_CHUNK_VERSION
Definition: OgreTerrain.h:293
@ ID_ROTATE
Definition: OgreScriptCompiler.h:786
void setLightCountPerIteration(unsigned short c)
If light iteration is enabled, determine the number of lights per iteration.
void importMesh(DataStreamPtr &stream, Mesh *pDest)
Imports Mesh and (optionally) Material data from a .mesh file DataStream.
ConvexBody(const ConvexBody &cpy)
virtual void _executeSerial(TextureGpu *texture)
Gets executed after the TextureGpu is fully resident and fully loaded.
Definition: OgreTextureFilters.h:77
void removeResourceGroupListener(ResourceGroupListener *l)
Removes a ResourceGroupListener.
const value_type & const_reference
Definition: OgreMemorySTLAllocator.h:90
virtual ~HlmsUnlitDatablock()
@ SPC_DEPTH_VIEW_SPACE
Depth in view space.
Definition: OgreShaderParameter.h:282
@ PF_ASTC_SRGB8A8_4X4_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 4x4)
Definition: OgrePixelFormat.h:289
void destroy(Overlay *overlay)
Destroys an existing overlay.
GPUDeviceNameRule(const String &pattern, IncludeOrExclude ie, bool caseSen)
Definition: OgreTechnique.h:111
@ GPU_PROGRAM
Definition: OgreScriptCompiler.h:517
Real getScaleY(void) const
Gets the current Y scale value.
void setStart(size_t newStart)
Definition: OgreHlmsCommon.h:133
Real y
Definition: OgreVector2.h:53
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)
void setDiffuseColour(Real red, Real green, Real blue)
Sets the colour of the diffuse light given off by this source.
@ MethodForwardClustered
Definition: OgreForwardPlusBase.h:58
Camera * reflectionCamera
Definition: OgrePlanarReflections.h:50
virtual MovableObject * createInstance(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, const NameValuePairList *params=0)
Create a new instance of the object.
void addIndexData(IndexData *i_in, OperationType opType=OT_TRIANGLE_LIST)
Add a set of index data that references the vertex data.
@ ANT_PROPERTY
Definition: OgreScriptCompiler.h:84
virtual void bindBufferDS(uint16 slot)
virtual const String & getFunctionAtomType()=0
Return the type of this atom instance implementation.
@ ACT_SURFACE_ALPHA_REJECTION_VALUE
Surface alpha rejection value, not as set in Pass::setAlphaRejectionValue, but a floating number betw...
Definition: OgreGpuProgramParams.h:1028
NSOpenGLPixelFormat * getPixelFormat()
Grab the NSOpenGLPixelFormat if it exists.
void fireDeviceEvent(D3D9Device *device, const String &name)
Fires a device related event.
virtual void _timeUpdate(Real time)
Perform any fading / width delta required; internal method.
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.
GL3PlusNullTextureTarget(GL3PlusNullTexture *ultimateTextureOwner, const String &name, v1::HardwarePixelBuffer *buffer, uint32 zoffset)
virtual TransformKeyFrame * createNodeKeyFrame(Real timePos)
Creates a new KeyFrame and adds it to this animation at the given time index.
virtual void _update(void)
D3D11DynamicBuffer(ID3D11Buffer *vboName, size_t vboSize, D3D11Device &device)
void switchMode(uint32 width, uint32 height, short frequency)
Switch video modes.
FastArray< Slot > mUavs
Render-System specific data.
Definition: OgreDescriptorSetUav.h:243
virtual void _setSurfaceParams(const ColourValue &ambient, const ColourValue &diffuse, const ColourValue &specular, const ColourValue &emissive, Real shininess, TrackVertexColourType tracking=TVC_NONE)=0
Sets the surface properties to be used for future rendering.
virtual void setSource(const String &source)
Sets the source assembly for this program from an in-memory string.
void setActiveFragmentShader(GLSLShader *fragmentShader)
void setDetailNormalWeight(uint8 detailNormalMapIdx, Real weight)
Sets the normal mapping weight.
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Notifies the ultimate texture owner the buffer changed.
IdString textureName
Name of the texture (can come from input channel, local textures, or global ones) Not used if externa...
Definition: OgreCompositorPassUavDef.h:59
@ TypeCube
Definition: OgreTextureGpu.h:60
String getDescription() const
GpuProgramType progType
Definition: OgreMaterialSerializer.h:49
size_t bufferIdx
Definition: OgreVertexBufferDownloadHelper.h:79
virtual void destroyVertexBufferBinding(VertexBufferBinding *binding)
Destroys a VertexBufferBinding.
GLSLMonolithicProgram(GLSLShader *vertexProgram, GLSLShader *hullProgram, GLSLShader *domainProgram, GLSLShader *geometryProgram, GLSLShader *fragmentProgram, GLSLShader *computeProgram)
Constructor should only be used by GLSLMonolithicProgramManager.
void * getProcAddress(const char *procname) const
Get the address of a function.
void _setMorphRequired(bool morph)
Request internal implementation options for the terrain material to use, in this case vertex morphing...
Definition: OgreTerrain.h:1480
virtual void setClearColour(const ColourValue &clearColour)
Sets the clear colour to all entries.
virtual bool isBufferBound(unsigned short index) const
Gets whether a buffer is bound to the given source index.
@ RSC_ATOMIC_COUNTERS
Supports asynchronous hardware occlusion queries.
Definition: OgreRenderSystemCapabilities.h:196
FrameBufferDescKey(const RenderPassDescriptor &desc)
virtual void unprepareImpl(void)
bool isSampler() const
Definition: OgreGpuProgramParams.h:287
const AxisAlignedBox & getBoundingBox(void) const
Overridden from MovableObject.
void setVctFullConeCount(bool vctFullConeCount)
When false, we will use 4 cones for diffuse VCT.
Definition: OgreHlmsPbs.h:408
void _notifyIblSpecMipmap(uint8 numMipmaps)
const TextureDefinitionVec & getLocalTextureDefinitions(void) const
Definition: OgreTextureDefinition.h:308
bool isCapabilityRenderSystemSpecific(const Capabilities c) const
Returns true if capability is render system specific.
Definition: OgreRenderSystemCapabilities.h:582
void removeSection(unsigned int idx)
Removes the section with given index.
vector< Pso >::type PsoVec
Definition: OgreHlmsDiskCache.h:158
virtual ~GLES2HardwarePixelBuffer()
static const String & getPointLightExtruderVs_glsles(void)
Get extruder program source for point lights, compatible with glsles.
Definition: OgreShadowVolumeExtrudeProgram.h:241
BufferType getIndexBufferDefaultType(void) const
Gets the usage setting for this meshes index buffers.
Definition: OgreMesh2.h:396
Command object for accurate facing(see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:106
Real x
Definition: OgreQuaternion.h:320
VertexArrayObject * createVertexArrayObject(const VertexBufferPackedVec &vertexBuffers, IndexBufferPacked *indexBuffer, OperationType opType)
Creates a VertexArrayObject that binds all the vertex buffers with their respective declarations,...
bool OrderParamVecByKey(const std::pair< IdString, String > &_left, const std::pair< IdString, String > &_right)
Definition: OgreHlmsCommon.h:167
virtual size_t calculateSize(void) const
Calculate the size of a resource; this will only be called after 'load'.
GL3PlusContext * _getMainContext()
Returns the main context.
Definition: OgreGL3PlusRenderSystem.h:463
String validateConfig()
Make sure all the extra options are valid.
@ MESH_VERSION_LATEST
Latest version available.
Definition: OgreMeshSerializer.h:45
bool getColumnMajorMatrices(void) const
Gets whether matrix packed in column-major order.
Definition: OgreD3D11HLSLProgram.h:325
void doSet(void *target, const String &val)
D3D11DepthTextureTarget(D3D11DepthTexture *ultimateTextureOwner, const String &name, v1::HardwarePixelBuffer *buffer, uint32 zoffset)
std::vector< Vector4, STLAllocator< Vector4, CategorisedAlignAllocPolicy< MEMCATEGORY_GEOMETRY > > > TriangleFaceNormalList
Array of 4D vector of triangle face normal, which is unit vector orthogonal to the triangles,...
Definition: OgreEdgeListBuilder.h:92
void toTransformationMatrix(Matrix4 &kTrans) const
Convert a dual quaternion to a 4x4 transformation matrix.
void destroy()
Delete any input data if this struct is set to do so.
Definition: OgreTerrain.h:479
virtual ProgramWriter * create(void)
Definition: OgreShaderHLSLProgramWriter.h:136
@ PFG_RGB8_UNORM_SRGB
Definition: OgrePixelFormatGpu.h:187
MapIterator< ParticleAffectorFactoryMap > ParticleAffectorFactoryIterator
Definition: OgreParticleSystemManager.h:333
const TextureSources & getTextureSources(void) const
Definition: OgreCompositorPassUavDef.h:134
Command object for specifying border sizes (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:193
void _transitionTo(GpuResidency::GpuResidency newResidency, uint8 *sysRamCopy, bool autoDeleteSysRamCopy=true)
This function may be called manually (if user is manually managing a texture) or automatically (e....
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.
Real mVplQuadAtten
Definition: OgreInstantRadiosity.h:206
void setActiveFragmentShader(GLSLESShader *fragmentShader)
Set the active fragment shader for the next rendering state.
void swapCommitted(ObjCmdBuffer *workerThread)
SceneMemoryMgrTypes getMemoryManagerType() const
Definition: OgreNodeMemoryManager.h:88
const String & getName(void) const
Gets the name of this animation.
@ COLOUR
Definition: OgreAnimable.h:87
virtual bool isVertexCompressionSupported() const =0
Compressed vertex format supported?
static ArrayMaskI And(ArrayMaskI a, ArrayInt b)
Definition: OgreMathlibC.h:152
v1::MeshPtr mesh
Definition: OgreLodConfig.h:127
Vector3 getCenter(void) const
Gets the centre of the box.
Definition: OgreAxisAlignedBox.h:673
void invalidateMaterial(const String &schemeName, const String &materialName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Invalidate specific material scheme.
ParticleAffector(ParticleSystem *parent)
Definition: OgreParticleAffector.h:82
static const Matrix3 IDENTITY
Definition: OgreMatrix3.h:261
void display(const String &errorMessage, String logName="")
static Real Sqrt(Real fValue)
Square root function.
Definition: OgreMath.h:413
virtual void getChunksOfLevel(const size_t level, VecChunk &result) const
Gathers all visible chunks (containing triangles) of a specific LOD level.
@ PF_L8
8-bit pixel format, all bits luminance.
Definition: OgrePixelFormat.h:48
virtual void getRenderOperation(v1::RenderOperation &op, bool casterPass) OGRE_OVERRIDE
ConstMapRange(const T &c)
Constructor.
Definition: OgreIteratorRange.h:295
void stopUsingSkeletonInstanceFromMaster()
Stops sharing the SkeletonInstance with other Items.
Material * getParent(void) const
Gets the parent Material.
Definition: OgreTechnique.h:172
virtual Real computeEdgeCollapseCost(LodData *data, LodData::Vertex *src, LodData::Edge *dstEdge)
Returns the collapse cost of the given edge.
TextureGpu * getEmissiveTexture(void) const
TextureGpu(GpuPageOutStrategy::GpuPageOutStrategy pageOutStrategy, VaoManager *vaoManager, IdString name, uint32 textureFlags, TextureTypes::TextureTypes initialType, TextureGpuManager *textureManager)
void getManualValue(T &value) const
Returns the value.
Definition: OgreShaderParams.h:122
virtual v1::AnimationState * getAnimationState(const String &animName) const
Retrieves animation state as previously created using createAnimationState.
virtual void processSkeletonName(Mesh *mesh, String *name)=0
Called to override the reference to a skeleton.
void doSet(void *target, const String &val)
static const IdString BlendModeIndex7
Definition: OgreUnlitProperty.h:118
uint16 variability
How the contents of this slot vary.
Definition: OgreGpuProgramParams.h:572
singleton class for storing the capabilities of the graphics card.
Definition: OgreRenderSystemCapabilities.h:334
uint16 getDepthLevel() const
Returns how deep in the hierarchy we are (eg. 0 -> root node, 1 -> child of root)
Definition: OgreBone.h:125
TextureGpu * reservePoolId(uint32 poolId, uint32 width, uint32 height, uint32 numSlices, uint8 numMipmaps, PixelFormatGpu pixelFormat)
Reserves and preallocates a pool with the given parameters Returns the master texture that owns the p...
@ ID_OUT
Definition: OgreScriptCompiler.h:826
@ DXGI_SCALING_NONE
Definition: OgreD3D11LegacySDKEmulation.h:51
@ ID_USE_PREPASS
Definition: OgreScriptCompiler.h:921
~LodOutputProviderCompressedMesh()
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...
@ ID_CUSTOM_ID
Definition: OgreScriptCompiler.h:829
@ D3D_FUSAGE_MIN
min filter
Definition: OgreD3D9Mappings.h:61
multimap< Window *, WindowEventListener * >::type WindowEventListeners
Definition: OgreWindowEventUtilities.h:184
void cleanUnfencedHazards(void)
@ GPT_DOMAIN_PROGRAM
Definition: OgreGpuProgram.h:54
EGLContext(EGLDisplay eglDisplay, const EGLSupport *glsupport, ::EGLConfig fbconfig, ::EGLSurface drawable)
ArrayVector3 mCenter
Definition: C/OgreArrayAabb.h:72
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
RenderWindow * createWindow(bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle)
void windowHasResized(void)
String manualMeshName
Set's a mesh as the Lod Level for given distance.
Definition: OgreLodConfig.h:110
virtual_l2 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:2531
ImageDownsamplerCube downscale2x_Signed_XX88_cube
Definition: OgreImageDownsampler.h:124
virtual_l1 MeshPtr convertToMesh(const String &meshName, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, bool buildShadowMapBuffers=true)
Convert this object to a Mesh.
void setStaticShadowMapDirty(size_t shadowMapIdx, bool includeLinked=true)
Tags a static shadow map as dirty, causing Ogre to update it on the next time this Shadow node gets e...
~D3D11HLSLProgramFactory()
Hlms * getHlms(HlmsTypes type)
Returns a registered HLMS based on type. May be null.
Definition: OgreHlmsManager.h:156
PrePassMode mPrePassMode
This is a depth pre-pass.
Definition: OgreCompositorPassSceneDef.h:102
D3D9VideoMode(D3DDISPLAYMODE d3ddm)
Definition: OgreD3D9VideoMode.h:47
Factory for creating TextAreaOverlayElement instances.
Definition: OgreOverlayElementFactory.h:100
@ PFG_P8
Definition: OgrePixelFormatGpu.h:176
virtual void setFarClipDistance(Real farDist)
Sets the distance to the far clipping plane.
Defines the interface which all components wishing to supply OverlayElement subclasses must implement...
Definition: OgreOverlayElementFactory.h:59
const uint * getUnsignedIntPointer(size_t pos) const
Get a pointer to the 'nth' item in the uint buffer.
Definition: OgreGpuProgramParams.h:784
SceneObjAllocatedObject MovableAlloc
Definition: OgreMemoryAllocatorConfig.h:314
virtual void setStencilBufferParams(uint32 refValue, const StencilParams &stencilParams)
See RenderSystem.
ParamDictionary()
Definition: OgreStringInterface.h:130
void merge(const ArrayVector3 &points)
Extends the box to encompass the specified point (if needed).
void removeLodLevels(void)
Removes all LOD data from this Mesh.
iterator end()
Definition: OgreFastArray.h:368
Quaternion()
Default constructor, initializes to identity rotation (aka 0°)
Definition: OgreQuaternion.h:60
virtual ~MeshLodGenerator()
virtual void setWriteOnly(bool writeOnly)
Same as setReadable, but with the invese scemantic.
Definition: OgreManualObject.h:186
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.
virtual_l2 Vector3 getPosition(void) const
Gets the position of the node relative to it's parent.
static ArrayMaskI AndNot(ArrayMaskI a, ArrayInt b)
Definition: OgreMathlibC.h:195
void endOcclusionQuery()
Ends the hardware occlusion test.
Ogre::MaterialPtr getShadowCasterMaterial() const
return this material specific shadow casting specific material
StdVector< Plane > PlaneList
Definition: OgrePlaneBoundedVolume.h:55
bool isIndexBufferShadowed(void) const
Gets whether or not this meshes index buffers are shadowed.
Definition: OgreMesh.h:640
ushort getNumWorldMatrices(void) const
Definition: OgreRenderSystemCapabilities.h:534
uint32 getVisibilityMask(void) const
Gets a per-viewport visibility mask.
Definition: OgreViewport.h:258
virtual void _notifyManualBonesDirty(void)
Internal method for marking the manual bones as dirty.
void setResolveStageFlags(unsigned int flags)
Set the resolve stage flags that this sub render state will produce.
Definition: OgreShaderFFPColour.h:97
String doGet(const void *target) const
static void addWindowEventListener(Window *window, WindowEventListener *listener)
@ PrePassUse
This pass will be using the results of a previous pre-pass.
Definition: OgreCommon.h:80
Source which does a unary operation to another one.
Definition: OgreVolumeCSGSource.h:302
@ ID_MSAA
Definition: OgreScriptCompiler.h:857
void setShaderLibraryPath(String path)
Set shader library path.
Definition: OgreGLES2Support.h:114
Records the state of all the vertex buffer bindings required to provide a vertex declaration with the...
Definition: OgreHardwareVertexBuffer.h:502
virtual void setCellRange(int32 minX, int32 minY, int32 maxX, int32 maxY)
Set the index range of all cells (values outside this will be ignored)
void _setRenderSystemData(const Any &data) const
Internal method that the RenderSystem might use to store optional data.
Definition: OgreGpuProgramParams.h:802
Definition: OgreScriptTranslator.h:256
static const IdString EmissiveConstant
Definition: OgreHlmsPbs.h:524
Specialisation of HardwareVertexBuffer for D3D9.
Definition: OgreD3D9HardwareVertexBuffer.h:39
@ CMPF_GREATER_EQUAL
Definition: OgreCommon.h:93
uint32 getHlmsCasterHash(void) const
Definition: OgreRenderable.h:379
void importMesh(DataStreamPtr &stream, Mesh *pDest, MeshSerializerListener *listener)
Imports Mesh and (optionally) Material data from a .mesh file DataStream.
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
virtual void setClearColour(uint8 idx, const ColourValue &clearColour)
Sets the clear colour to specific entry.
@ PFG_ETC2_RGB8_UNORM_SRGB
Definition: OgrePixelFormatGpu.h:217
void addGPUDeviceNameRule(const GPUDeviceNameRule &rule)
Add a rule which manually influences the support for this technique based on a pattern that matches a...
void setTexture(uint8 slotIdx, const DescriptorSetTexture2::TextureSlot &newSlot, const HlmsSamplerblock *refParams=0)
Sets a texture buffer at the given slot ID.
static bool isDouble(GpuConstantType c)
Definition: OgreGpuProgramParams.h:207
static FORCEINLINE uint32 firstPO2From(uint32 n)
Returns the closest power-of-two number greater or equal to value.
Definition: OgreBitwise.h:157
@ SPC_POSTOLIGHT_VIEW_SPACE5
Definition: OgreShaderParameter.h:152
This abstract class defines an interface which is called back during resource group loading to indica...
Definition: OgreResourceGroupManager.h:92
VertexMorphKeyFrame(const AnimationTrack *parent, Real time)
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
virtual uint32 peekNextChunkID()
Call this to 'peek' at the next chunk ID without permanently moving the stream pointer.
void createBuffer(IDirect3DDevice9 *d3d9Device, D3DPOOL ePool, bool updateNewBuffer)
Real getNumFrames(void) const
Gets the frame count.
OperationType operationType
The type of operation to perform.
Definition: OgreRenderOperation.h:62
Matrix4(const Matrix3 &m3x3)
Creates a standard 4x4 transformation matrix with a zero translation part from a rotation/scaling 3x3...
Definition: OgreMatrix4.h:134
Real getAttenuationLinear(void) const
Returns the linear factor in the attenuation formula.
Definition: OgreLight.h:240
void blitFromMemory(const PixelBox &src, const Box &dstBox)
RegionIterator getRegionIterator(void)
Get an iterator over the regions in this geometry.
void rebind(v1::D3D11HardwarePixelBuffer *buffer)
void destroyBlendMask()
Destroy the currently set blend mask.
uint16 mShaderTypeSamplerCount[NumShaderTypes]
Definition: OgreDescriptorSetSampler.h:56
void compile(bool autoManageTextureUnits=true)
'Compiles' this Material.
virtual void load()=0
Load - will be called in main thread.
virtual void postLoadImpl()
overridden from Resource
static void optimizeForShadowMapping(const VertexShadowMapHelper::GeometryVec &inGeom, VertexShadowMapHelper::GeometryVec &outGeom)
Reads all the vertex & index buffer from all the LOD levels in inVao, optimizes the buffers for shado...
vector< Profile * >::type ProfileList
List of profiles - NB should be ordered in descending complexity.
Definition: OgreTerrainMaterialGenerator.h:212
ushort getMaximumResolution2D(void) const
Maximum resolution (width or height)
Definition: OgreRenderSystemCapabilities.h:766
@ PFF_FLOAT
This is a floating point format.
Definition: OgrePixelFormat.h:376
T * getPointer() const
Definition: OgreSharedPtr.h:295
const String & getPreprocessorDefines(void) const
Sets the preprocessor defines use to compile the program.
Definition: OgreGLSLESShader.h:90
void normalise(void)
Unlike Vector3::normalise(), this function does not return the length of the vector because such valu...
GeneralAllocatedObject FileSystemLayerAlloc
Definition: OgreMemoryAllocatorConfig.h:346
const GpuProgramParameters_AutoConstantEntry * findIntAutoConstantEntry(size_t logicalIndex)
Finds an auto constant that's affecting a given logical parameter index for integer values.
void _notifyDefaultDimensions(Real width, Real height)
Tells the renderer that the particle default size has changed.
Real getFrameSmoothingPeriod(void) const
Gets the period over which OGRE smooths out fluctuations in frame times.
Definition: OgreRoot.h:955
Definition: OgreX11EGLSupport.h:75
@ LBS_SPECULAR
the interpolated specular colour from the vertices
Definition: OgreBlendMode.h:121
virtual void setDefaultHeight(Real height)
See setDefaultDimensions - this sets 1 component individually.
Texture surface.
Definition: OgreMetalHardwarePixelBuffer.h:85
static const uint8 A_MASK
Definition: OgreHlmsUnlitDatablock.h:65
@ GCT_FLOAT2
Definition: OgreGpuProgramParams.h:74
SharedPtr< D3D11HLSLProgram > D3D11HLSLProgramPtr
Definition: OgreD3D11Prerequisites.h:131
@ ID_MAX_ANISOTROPY
Definition: OgreScriptCompiler.h:751
void setStartEnabled(bool enabled)
Whether the node should be start as enabled when instantiated.
Definition: OgreCompositorNodeDef.h:115
virtual size_t getConstBufferSize(void)
ImageDownsamplerCube downscale2x_sRGB_XXX888_cube
Definition: OgreImageDownsampler.h:194
@ SPC_LIGHTDIRECTION_VIEW_SPACE3
Definition: OgreShaderParameter.h:190
map< TextureGpu *, uint16 >::type DepthBufferRefMap
Definition: OgreRenderSystem.h:58
Definition: OgreCompositorPassMipmapDef.h:48
void sh_hash_combine(uint32 &seed, T const &v)
Utility function with same style as boost::hash_combine.
Definition: OgreShaderPrerequisites.h:80
virtual void combineWithSource(CSGOperationSource *operation, Source *source, const Vector3 ¢er, Real radius)
Updates this grid with another source in a certain area.
TextureGpu * getTexturePool(void) const
Definition: OgreVctMaterial.h:113
virtual ~HardwareBufferLicensee()
Definition: OgreHardwareBufferManager.h:65
virtual void createInternalResources(void)
Creates the internal texture resources for this texture.
Class for serializing RenderSystemCapabilities to / from a .rendercaps script.
Definition: OgreRenderSystemCapabilitiesSerializer.h:50
static const size_t MinCubemapProbeRq
Definition: OgreForwardPlusBase.h:74
virtual void _setSamplers(uint32 slotStart, const DescriptorSetSampler *set)
UnlitBlendModes
Definition: OgreHlmsUnlitPrerequisites.h:61
StencilParams()
Definition: OgreCommon.h:163
vector< PixelFormatGpu >::type PixelFormatGpuVec
Definition: OgreTextureDefinition.h:93
A factory that enables creation of FFPFog instances.
Definition: OgreShaderFFPFog.h:177
size_t getNumShadowContentTextures(void) const
Definition: OgrePass.h:526
~GLSLMonolithicProgram(void)
A TerrainMaterialGenerator which can cope with normal mapped, specular mapped terrain.
Definition: OgreTerrainMaterialGeneratorA.h:53
@ ST_INTERIOR
Definition: OgreSceneManager.h:2840
Log::Stream stream(LogMessageLevel lml=LML_NORMAL, bool maskDebug=false)
Get a stream on the default log.
static const IdString NormalMapTex
Definition: OgreHlmsPbsMobile.h:107
@ ID_RESOLVE_MIP
Definition: OgreScriptCompiler.h:835
virtual IntersectionSceneQueryResult & getLastResults(void) const
Gets the results of the last query that was run using this object, provided the query was executed us...
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information from this texture.
SmallVector(const SmallVector &RHS)
Definition: OgreMain/include/OgreSmallVector.h:754
ArchiveManager()
Default constructor - should never get called by a client app.
static const IdString UvDiffuse8
Definition: OgreUnlitProperty.h:85
int line
Definition: OgreScriptCompiler.h:201
bool hasTextureResource(const String &aliasName, const String &resourceGroup) const
Returns true if a texture with the given aliasName exists, or if a ResourceGroupListener provides suc...
virtual ~D3D9StereoDriverImpl()
Definition: OgreD3D9StereoDriverImpl.h:44
TextureGpuVec usedSlots
Definition: OgreTextureGpuManager.h:73
static Real Exp(Real fValue)
Definition: OgreMath.h:325
size_t indexCount
The number of indexes to use from the buffer.
Definition: OgreVertexIndexData.h:305
vector< TextureEntry >::type TextureEntryVec
Definition: OgreHlmsTexturePack.h:56
Callback class when the user needs information about the triangles of chunks of a LOD level.
Definition: OgreVolumeMeshBuilder.h:108
size_t getCurrentChunkDepth() const
Report the current depth of the chunk nesting, whether reading or writing.
Definition: OgreStreamSerialiser.h:157
@ SPC_LIGHTDIRECTION_OBJECT_SPACE6
Definition: OgreShaderParameter.h:173
~ParallaxCorrectedCubemapAuto()
@ ID_POLYGON_MODE_OVERRIDEABLE
Definition: OgreScriptCompiler.h:700
MovableObject const * movableObject
Definition: OgreCbLowLevelMaterial.h:39
virtual void scriptParseEnded(const String &scriptName, bool skipped)=0
This event is fired when the script has been fully parsed.
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.
void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
Update the GPU programs constant parameters before a renderable is rendered.
void setShadingMode(ShadeOptions mode)
Sets the type of light shading required.
static uint8 getIblNumMipmaps(uint32 width, uint32 height)
static const Matrix4 ZERO
Definition: OgreMatrix4.h:559
@ VIEW_SPACE_CORNERS_NORMALIZED
When normalized, then the corner is divided by the far plane.
Definition: OgreCompositorPassQuadDef.h:75
@ HLMS_USER2
Definition: OgreHlmsCommon.h:185
Material * mMaterial
Definition: OgreScriptCompiler.h:502
SlotType
Definition: OgreDescriptorSetUav.h:56
IndexType
Definition: OgreIndexBufferPacked.h:40
void FromOrthoDet1RotationMatrix(const ArrayReal *RESTRICT_ALIAS matrix)
void rotationAnimation(bool rotate)
rotationAnimation.
virtual const String & getType() const
static const IdString BlendModeIndex2
Definition: OgreHlmsPbs.h:532
bool hasEdgeList(void)
Overridden member from ShadowCaster.
void download(TextureGpu *textureSrc, uint8 mipLevel, bool accurateTracking, TextureBox *srcBox=0, bool bImmediate=false)
Downloads textureSrc into this ticket.
@ ID_CUBEMAP_ARRAY
Definition: OgreScriptCompiler.h:867
const String & getTypeNameStr(void) const
Definition: OgreHlms.h:456
@ PASS_STENCIL
Definition: OgreCompositorPassDef.h:57
TextureMipmap
Enum identifying special mipmap numbers.
Definition: OgreTexture.h:107
String doGet(const void *target) const
vector< LodIndexBuffer >::type genIndexBuffers
Definition: OgreLodBuffer.h:78
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
bool watchForMin(void)
Definition: OgreProfiler.h:317
A compositor workspace is the main interface to render into an RT, be it a RenderWindow or an RTT (Re...
Definition: OgreCompositorWorkspace.h:85
void _update(void)
Internal method to update the element based on transforms applied.
void setVSyncEnabled(bool vsync)
RenderWindow::setVSyncEnabled
uint32 getNumThreadGroupsZ(void) const
Definition: OgreHlmsComputeJob.h:200
virtual void setAssociatedAnimable(const AnimableValuePtr &val)
Sets the associated animable object which will be automatically affected by calls to 'apply'.
@ ACT_VIEW_SIDE_VECTOR
This variable provides the view side vector (world space).
Definition: OgreGpuProgramParams.h:1268
GLSLSeparableProgramManager(const GL3PlusSupport &support)
CreateHighLevelGpuProgramScriptCompilerEvent(const String &file, const String &name, const String &resourceGroup, const String &source, const String &language, GpuProgramType programType)
Definition: OgreScriptCompiler.h:572
static const IdString NumTextureSlots
Definition: OgreHlmsCompute.h:205
virtual const String & getSourceFile(void) const
Gets the name of the file used as source for this program.
Definition: OgreGpuProgram.h:275
OverlayElement * createOverlayElementFromFactory(const String &typeName, const String &instanceName)
void setCurrentFrame(unsigned int frameNumber)
Changes the active frame in an animated or multi-image texture.
TextureGpu * getIrradianceTex(void) const
Definition: OgreIrradianceField.h:299
String _compile(bool autoManageTextureUnits)
Internal compilation method; see Material::compile.
ConstVectorIterator(typename T::const_iterator start, typename T::const_iterator last)
Constructor.
Definition: OgreIteratorWrapper.h:223
static CompareFunction parseCompareFunction(const char *value)
void needUpdate(bool forceParentUpdate=false)
AbstractNodeList values
Definition: OgreScriptCompiler.h:136
const GpuNamedConstants & getConstantDefinitions() const
Get the full list of GpuConstantDefinition instances.
void copyMatchingNamedConstantsFrom(const GpuProgramParameters &source)
Copies the values of all matching named constants (including auto constants) from another GpuProgramP...
bool wantsToGoFullscreen(void) const
Returns true if we are in windowed mode right now, but want to go fullscreen.
@ PF_ASTC_RGBA_8X6_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 8x6)
Definition: OgrePixelFormat.h:273
void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Overridden from OverlayElement.
@ DerivedOrientation
Definition: OgreArrayMemoryManager.h:311
Matrix4 getInverseWorldViewProjMatrix() const
VertexAnimationTrack(Animation *parent, unsigned short handle, VertexAnimationType animType, VertexData *targetData, TargetMode target=TM_SOFTWARE)
Constructor, associates with target VertexData and temp buffer (for software)
String name
Definition: OgreScriptCompiler.h:177
std::pair< bool, Real > intersects(const AxisAlignedBox &box) const
Tests whether this ray intersects the given box.
Definition: OgreRay.h:111
unsigned int uint32
Definition: OgrePlatform.h:454
IdString getReferencedTextureName() const
Gets the name of the texture in the compositor that this texture references.
Definition: OgreTextureUnitState.h:1006
Definition: OgreRenderQueue.h:291
TextureUnitState(Pass *parent, const String &texName, unsigned int texCoordSet=0)
Name-based constructor.
@ M_MESH_BONE_ASSIGNMENT
Definition: OgreMeshFileFormat.h:230
virtual ~DefaultWorkQueueBase()
const ColourValue & getEmissive(void) const
Gets the self illumination colour of the pass.
Definition: OgrePass.h:443
Pass(Technique *parent, unsigned short index, const Pass &oth)
Copy constructor.
virtual void setOptimizationStrategy(OptimizationStrategy optimizationStrategy)
Not supported.
Definition: OgreHlmsUnlit.h:113
static void bulkPixelConversion(void *src, PixelFormat srcFormat, void *dst, PixelFormat dstFormat, unsigned int count)
Convert consecutive pixels from one format to another.
static GLuint getAttributeIndexFor(VertexElementSemantic semantic)
DepthBuffer(uint16 poolId, uint16 bitDepth, uint32 width, uint32 height, uint32 fsaa, const String &fsaaHint, PixelFormat pixelFormat, bool isDepthTexture, bool manual, RenderSystem *renderSystem)
struct DXGI_PRESENT_PARAMETERS DXGI_PRESENT_PARAMETERS
GeneralAllocatedObject UtilityAlloc
Definition: OgreMemoryAllocatorConfig.h:341
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:228
@ VES_BLEND_WEIGHTS
Blending weights.
Definition: OgreVertexElements.h:43
@ NoMipmaps
Do not generate mipmaps when TextureFilter::TypeGenerateDefaultMipmaps is used.
Definition: OgreTextureGpuManager.h:88
static const IdString HwGammaRead
Definition: OgreHlmsPbs.h:451
Definition: OgreDescriptorSetUav.h:61
void setMacroblock(const HlmsMacroblock ¯oblock)
Sets the macroblock every pass has with the existing contents of the scene.
static void bulkPixelVerticalFlip(const PixelBox &box)
Flips pixels inplace in vertical direction.
void FromEulerAnglesXZY(const Radian &fYAngle, const Radian &fPAngle, const Radian &fRAngle)
virtual void _renderNoBaseInstance(const v1::CbDrawCallIndexed *cmd)
Definition: OgreRenderSystem.h:1080
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:144
virtual void createInternalResourcesImpl(void)
void _cleanupDepthBuffers(IDirect3DSurface9 *manualSurface)
This function does NOT override RenderSystem::_cleanupDepthBuffers(bool) functionality.
virtual void prepareForClearScene(void)
Destroys the Proxy Items.
unsigned int getWidth() const
Definition: OgreD3D9VideoMode.h:53
bool operator==(const HashedVector< T > &b)
Definition: OgreCommon.h:622
GeneralAllocatedObject TerrainAlloc
Definition: OgreTerrainPrerequisites.h:40
uint16 getDefaultGlobalColourMapSize() const
Get the default size of the terrain global colour map for a new terrain.
Definition: OgreTerrain.h:2068
uint8 mExecutionMask
Definition: OgreCompositorPassDef.h:177
CompositorNamedBuffer(IdString _name, UavBufferPacked *_buffer)
Definition: OgreCompositorNamedBuffer.h:52
virtual ObjectIterator getAttachedObjectIterator(void)
Retrieves an iterator which can be used to efficiently step through the objects attached to this node...
void removeAllPoses(void)
Destroy all poses.
uint16 mRefCount
Render-System specific data.
Definition: OgreHlmsDatablock.h:55
Definition: OgreCompositorPassComputeDef.h:50
CompositorTexture(IdString _name, TextureGpu *_texture)
Definition: OgreCompositorPass.h:59
Quaternion(const Radian &rfAngle, const Vector3 &rkAxis)
Construct a quaternion from an angle/axis.
Definition: OgreQuaternion.h:77
bool isProgrammable(void) const
Returns true if this pass is programmable i.e. includes either a vertex or fragment program.
Definition: OgrePass.h:182
vector< Triangle >::type TriangleList
Definition: OgreEdgeListBuilder.h:99
TerrainLayerBlendMap(Terrain *parent, uint8 layerIndex, HardwarePixelBuffer *buf)
Constructor.
virtual bool prepare(StreamSerialiser &ser)=0
Prepare data - may be called in the background.
Real getAttenuationConstant(void) const
Returns the constant factor in the attenuation formula.
Definition: OgreLight.h:236
virtual ~GLES2VaoManager()
Can either be used as an input or output value.
Definition: OgreController.h:105
void setGamma(float g)
Sets the gamma adjustment factor applied to this texture on loading the data.
Definition: OgreTexture.h:172
virtual_l1 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.
virtual void endCurrent()
This is called before another context is made current.
~DefaultHardwareIndexBuffer()
void _setAlphaRejectSettings(CompareFunction func, unsigned char value, bool alphaToCoverage)
virtual int getExecutionOrder() const
virtual void releaseContext()
Release the render context.
Definition: OgreGL3PlusContext.h:70
void setConsecutive()
Set the rowPitch and slicePitch so that the buffer is laid out consecutive in memory.
@ LightGatherForward
Definition: OgreHlms.h:87
virtual void _changeRenderSystem(RenderSystem *newRs)
@ ID_DIRECTIONAL
Definition: OgreScriptCompiler.h:717
virtual ~GLES2NullPixelBuffer()
CSGUnionSource(void)
Constructor, sets the sources to null.
SlotType slotType
Definition: OgreDescriptorSetUav.h:152
void getTextureSource(IdString name, size_t &index, TextureSource &textureSource) const
Retrieves in which container to look for when looking to which texture is a given name associated wit...
virtual_l1 void textureCoord(Real u)
Add a texture coordinate to the current vertex.
void _switchContext(GLES2Context *context)
Switch GL context, dealing with involved internal cached states too.
virtual void calcViewMatrixRelative(const Vector3 &relPos, Matrix4 &matToUpdate) const
Calculate a view matrix for this frustum, relative to a potentially dynamic point.
Factory for creating PanelOverlayElement instances.
Definition: OgreOverlayElementFactory.h:74
GpuParamVariability
The variability of a GPU parameter, as derived from auto-params targeting it.
Definition: OgreGpuProgramParams.h:133
virtual bool _isDataReadyImpl(void) const
For internal use.
String doGet(const void *target) const
BillboardChain(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, size_t maxElements=20, size_t numberOfChains=1, bool useTextureCoords=true, bool useColours=true, bool dynamic=true)
Constructor (don't use directly, use factory)
FastArray< unsigned short > IndexMap
Definition: OgreSubMesh2.h:65
@ PF_ASTC_RGBA_10X6_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 10x6)
Definition: OgrePixelFormat.h:279
void _updateBounds(void)
Internal method for updating the bounds of the particle system.
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:121
@ GPT_VERTEX_PROGRAM
Definition: OgreGpuProgram.h:50
StdList< DataStreamPtr > DataStreamList
List of DataStream items.
Definition: OgreDataStream.h:308
Definition: OgreLodOutputProviderBuffer.h:42
#define OGRE_MAX_CUBE_PROBES
Definition: OgreParallaxCorrectedCubemap.h:40
virtual void _notifyParticleCleared(list< Particle * >::type ¤tParticles)
Optional callback notified when particles cleared.
Definition: OgreParticleSystemRenderer.h:94
virtual const Vector3 * getWorldSpaceCorners(void) const
Gets the world space corners of the frustum.
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:899
@ RSC_TEXTURE_1D
Supports 1d textures.
Definition: OgreRenderSystemCapabilities.h:186
virtual void destroyProbe(CubemapProbe *probe)
void _calcTempSquareDist(const Vector3 &worldPos)
Internal method for calculating current squared distance from some world position.
size_t getWastedMemory() const
Gets wasted memory (perform a cleanup to fix)
int * value
Definition: OgreX11EGLSupport.h:91
@ ID_COLOUR_BLEND
Definition: OgreScriptCompiler.h:654
Matrix4 mTrackedViewProjMatrix
When mTrackedPosition is not inside any probe, we'll use the view-projection matrix to select the clo...
Definition: OgreParallaxCorrectedCubemap.h:66
void setConstant(size_t index, const Matrix4 *m, size_t numEntries)
Sets a list of Matrix4 parameters to the program.
D3D11Device & _getDevice()
Definition: OgreD3D11RenderSystem.h:342
void setTo(Vector3 to)
Setter for the to-part of this cell.
Definition: OgreVolumeOctreeNode.h:166
void destroy(void)
Overridden - see RenderWindow.
const String & getRendererName(void) const
Gets the name of the ParticleRenderer to be used to render this particle system.
String getErrorDescription(long errorNumber) const
See RenderSystem.
DescriptorSetUav()
Definition: OgreDescriptorSetUav.h:245
virtual bool isStereoEnabled(const String &renderWindowName)
Definition: OgreD3D11ConstBufferPacked.h:38
void addGPUVendorRule(GPUVendor vendor, IncludeOrExclude includeOrExclude)
Add a rule which manually influences the support for this technique based on a GPU vendor.
virtual Camera * findCamera(IdString name) const
Finds the camera with the given name.
virtual void savingChangeTextureNameOriginal(const String &aliasName, String &inOutResourceName, String &inOutFilename)
Gives you a chance to completely change the name of the texture when saving a material.
Definition: OgreHlmsDatablock.h:236
static void gaussFilterZ(float *RESTRICT_ALIAS dstData, float *RESTRICT_ALIAS srcData, size_t texWidth, size_t texHeight, size_t texDepth, const float *RESTRICT_ALIAS kernel, int kernelStart, int kernelEnd)
virtual ~Listener()
Definition: OgreSceneManager.h:256
Default scene manager.
Definition: OgreSceneManagerEnumerator.h:60
virtual T calculate(T sourceValue)=0
void addConfig(void)
Add any special config values to the system.
SubRenderStateSet & getSubRenderStateInstanceSet()
Return a set of all instances of the template SubRenderState.
Definition: OgreShaderSubRenderState.h:195
virtual void setScale(Real x, Real y, Real z)
Sets the scaling factor applied to this OldNode.
HashedVector(size_type n)
Definition: OgreCommon.h:514
@ PM_WIREFRAME
Wireframe models are rendered.
Definition: OgreCommon.h:296
void _updateCullPhase01(Camera *renderCamera, Camera *cullCamera, const Camera *lodCamera, uint8 firstRq, uint8 lastRq, bool reuseCullData)
Instructs the viewport to updates its contents.
DefaultTextureParameters()
Definition: OgreHlmsTextureManager.h:117
@ OT_PATCH_24_CONTROL_POINT
Definition: OgreHlmsPso.h:83
const Vector3 getCenterRightTop(void) const
Gets the center of the corners 5, 6.
Definition: OgreVolumeOctreeNode.h:400
static ArrayReal InvSqrtNonZero4(ArrayReal f)
Returns the squared root of the reciprocal of x.
Definition: OgreMathlibC.h:364
@ ID_AUTOMATIC_BATCHING
Definition: OgreScriptCompiler.h:807
void removeAllConstantDefinitions()
Remove a constant definition from this shared set of parameters.
size_t offset
Definition: OgreGLES2VaoManager.h:103
Definition: OgreShaderProgramWriterManager.h:62
static ArrayMaskR getMask(bool booleans[ARRAY_PACKED_REALS])
void setGlobalInstanceVertexBufferVertexDeclaration(v1::VertexDeclaration *val)
Sets vertex declaration for the global vertex buffer for the global instancing.
virtual void shutdown(void)
Shutdown the renderer and cleanup resources.
void stop(void)
Stop anything special.
@ RSC_TEXTURE_COMPRESSION
Supports compressed textures.
Definition: OgreRenderSystemCapabilities.h:140
virtual void preparePassHash(const CompositorShadowNode *shadowNode, bool casterPass, bool dualParaboloid, SceneManager *sceneManager, Hlms *hlms)
Called right before creating the pass cache, to allow the listener to add/remove properties.
Definition: OgreHlmsListener.h:110
static unsigned short POSITION_BUFFER
Buffer binding used for holding positions.
Definition: OgreTerrainQuadTreeNode.h:261
@ PF_DXT5
DDS (DirectDraw Surface) DXT5 format.
Definition: OgrePixelFormat.h:120
size_t getIntLogicalIndexForPhysicalIndex(size_t physicalIndex)
Retrieves the logical index relating to a physical index in the int buffer, for programs which suppor...
@ LBX_BLEND_CURRENT_ALPHA
as LBX_BLEND_DIFFUSE_ALPHA, but use current alpha from previous stages
Definition: OgreBlendMode.h:99
PixelFormatGpu getPixelFormat(void) const
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:703
virtual void switchMode(uint &width, uint &height, short &frequency)=0
vector< VertexElement2Vec >::type VertexElement2VecVec
Definition: OgreVertexBufferPacked.h:85
virtual void notifyTextureChanged(TextureGpu *texture, TextureGpuListener::Reason reason, void *extraData)
Called when a TextureGpu changed in a way that affects how it is displayed:
~D3D11BufferInterfaceBase()
map< uint32, uint32 >::type IndexToIndexMap
Definition: OgreSkeletonDef.h:84
SceneManager * getSceneManager(void) const
void saveWorld(PagedWorld *world, const DataStreamPtr &stream)
Save a PagedWorld instance to a file.
bool freeOnDestruction
Definition: OgreImageCodec2.h:77
TextureType
Enum identifying the texture type.
Definition: OgreTexture.h:89
virtual void _changeRenderSystem(RenderSystem *newRs)
bool mReinterpretingGS
Definition: OgreD3D11HLSLProgram.h:367
VertexElementSemantic semantic
Definition: OgreVertexIndexData.h:240
VertexData * vertexData[NumVertexPass]
Dedicated vertex data (only valid if useSharedVertices = false).
Definition: OgreSubMesh.h:91
uchar * getData(void)
Returns a pointer to the internal image buffer.
@ ID_QUAD_NORMALS
Definition: OgreScriptCompiler.h:931
void setDetailMapOffsetScale(uint8 detailMap, const Vector4 &offsetScale)
Sets the scale and offset of the detail map.
iterator erase(iterator toErase)
Definition: OgreFastArray.h:235
const Vector3 getCorner7(void) const
Gets the coordinate of corner 7.
Definition: OgreVolumeOctreeNode.h:499
ImageDownsamplerCube downscale2x_XXXA8888_cube
Definition: OgreImageDownsampler.h:76
virtual void getBestDepthStencil(PixelFormat depthFormat, PixelFormat fboFormat, GLenum *outDepthFormat, GLenum *outStencilFormat)
Get best depth and stencil supported for given internalFormat.
void setRotateAnimation(Real speed)
Sets up an animated texture rotation for this layer.
@ TEXTURE_TYPE_DETAIL_NORMAL_MAP
Definition: OgreHlmsTextureManager.h:139
void useFilename()
Set to use file name.
virtual void setClearColour(const ColourValue &clearColour)
Sets the clear colour to all entries.
virtual const String & getType() const
uint8 mFresnelTypeSizeBytes
Definition: OgrePbsMobileShaderCreationData.h:57
static const String & getDirectionalLightExtruderVs_4_0Finite(void)
Get FINITE extruder program source for directional lights, compatible with vs_4_0.
Definition: OgreShadowVolumeExtrudeProgram.h:295
GLES2TexBufferEmulatedPacked(size_t internalBufStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, GLES2BufferInterface *bufferInterface, Ogre::PixelFormat pf)
@ GCT_MATRIX_DOUBLE_3X4
Definition: OgreGpuProgramParams.h:108
void setExternalMicrocode(ID3DXBuffer *pMicrocode)
Tells the program to load from some externally created microcode instead of a file or source.
void _pushCurrentSceneManager(SceneManager *sm)
Pushes the scene manager currently being used to render.
virtual void estimateVertexCount(size_t vcount)
Estimate the number of vertices ahead of time.
@ ID_CONNECT_OUTPUT
Definition: OgreScriptCompiler.h:821
static const uint32 CHUNK_ID
Definition: OgrePagedWorld.h:63
HighLevelGpuProgramPtr createProgram(const String &name, const String &groupName, const String &language, GpuProgramType gptype)
Create a new, unloaded HighLevelGpuProgram.
vector< RenderTargetViewEntry >::type RenderTargetViewEntryVec
Definition: OgreTextureDefinition.h:72
virtual VertexMorphKeyFrame * createVertexMorphKeyFrame(Real timePos)
Creates a new morph KeyFrame and adds it to this animation at the given time index.
void lock(const SharedPtr< T > &p, size_t offset, size_t length, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:404
void getPositionAlign(Real x, Real y, Real z, Alignment align, Vector3 *outWSpos) const
Convert a position from terrain basis space to world space based on a specified alignment.
void _notifyManager(SceneManager *man)
Notify the object of it's manager (internal use only)
Definition: OgreMovableObject.h:164
String file
Definition: OgreScriptCompiler.h:71
@ Read
Definition: OgreResourceTransition.h:113
void setVertexFormat(const VertexElement2VecVec &vertexElements, OperationType operationType, bool enablePrimitiveRestart)
This function can be skipped if no vertex buffer is used (e.g.
static const IdString ThreadsPerGroupY
Definition: OgreHlmsCompute.h:197
@ ENDIAN_NATIVE
Use the platform native endian.
Definition: OgreSerializer.h:68
void exportQueued(const String &filename, const bool includeProgDef=false, const String &programFilename="")
Exports queued material(s) to a named material script file.
Matrix4 getTransposeProjectionMatrix() const
Real getSquaredViewDepth(const Camera *cam) const
void load(DataStreamPtr &dataStream, IdString &hashedString)
void setAutoHardwareBufferManagement(bool autoManagement)
Set/Get automatic hardware buffers management.
Definition: OgreD3D9ResourceManager.h:92
Builds the union between two sources.
Definition: OgreVolumeCSGSource.h:247
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:111
@ TU_RENDERTARGET
This texture will be a render target, i.e.
Definition: OgreTexture.h:66
virtual void synchroniseBaseSettingsWith(const Camera *cam)
Synchronise core camera settings with another.
@ PBSM_BLEND_MULTIPLY2X
Definition: OgreHlmsPbsPrerequisites.h:86
bool mFlushCommandBuffersAfterShadowNode
Same as CompositorPassDef::mFlushCommandBuffers, but executed after the shadow node Note you may end ...
Definition: OgreCompositorPassSceneDef.h:152
void destroySection(PagedWorldSection *sec)
Destroy a section of world.
static ArrayMaskI AndNot(ArrayInt a, ArrayMaskI b)
Definition: OgreMathlibC.h:200
DecodeResult decode(DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
Class for serialising skeleton data to/from an OGRE .skeleton file.
Definition: OgreSkeletonSerializer.h:71
virtual bool getUseIdentityViewProjMatrixIsDynamic(void) const
Returns whether the Hlms implementation should evaluate getUseIdentityProjection per object at runtim...
Definition: OgreRenderable.h:177
static const AutoConstantDefinition * getAutoConstantDefinition(const String &name)
gets the auto constant definition associated with name if found else returns NULL
@ GCT_SAMPLER_WRAPPERCUBE
Definition: OgreGpuProgramParams.h:123
virtual void bindBufferDS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
void setConfigOption(const String &name, const String &value)
See RenderSystem.
static void fillResourcesLayout(ResourceLayoutMap &outResourcesLayout, const CompositorChannelVec &compositorChannels, ResourceLayout::Layout layout)
Overrides a resource with the given layout if it's already in outResourcesLayout.
virtual bool getAutoextend(void) const
Returns true if the billboard pool automatically extends.
virtual Animation * createAnimation(const String &name, Real length)
Creates a new Animation object for animating this skeleton.
static Quaternion SlerpExtraSpins(Real fT, const Quaternion &rkP, const Quaternion &rkQ, int iExtraSpins)
void initialiseExtensions(void)
Initialises GL extensions, must be done AFTER the GL context has been established.
GLuint getTemporaryFBO(size_t i)
Get a FBO without depth/stencil for temporary use, like blitting between textures.
signed char int8
Definition: OgrePlatform.h:459
@ ID_DEPTH_COPY
Definition: OgreScriptCompiler.h:877
@ PFG_AYUV
Definition: OgrePixelFormatGpu.h:163
virtual void _setDestinationRenderSystem(RenderSystem *sys)
Notifies the scene manager of its destination render system.
void setMaterialName(const String &name, const String &groupName)
Sets the name of the Material to be used. Prefer using HLMS @See setHlms.
static InterpolationMode getDefaultInterpolationMode(void)
Gets the default interpolation mode for all animations.
void doSet(void *target, const String &val)
virtual OperationType getOutputOperationType(void) const
Returns the operation type that this geometry program will emit.
Definition: OgreGLSLShader.h:114
@ UNLIT_BLEND_NORMAL_PREMUL
Premultiplied alpha blending.
Definition: OgreHlmsUnlitPrerequisites.h:65
A barrier is a synchronization mechanism where multiple threads wait until all of them have reached t...
Definition: OgreBarrier.h:63
static const IdString TargetEnvprobeMap
Definition: OgreHlmsPbs.h:546
bool requiresTextureFlipping() const
Definition: OgreD3D9MultiRenderTarget.h:49
Definition: OgreCompositorWorkspaceListener.h:47
@ SceneNodes
Definition: OgreSceneFormatBase.h:49
virtual GuiMetricsMode getMetricsMode(void) const
Retrieves the current settings of how the element metrics are interpreted.
void removeNodeDefinition(IdString nodeDefName)
Removes the node definition with the given name. Throws if not found.
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.
VertexArrayObject(uint32 vaoName, uint32 renderQueueId, uint16 inputLayoutId, const VertexBufferPackedVec &vertexBuffers, IndexBufferPacked *indexBuffer, OperationType operationType)
static PixelFormat getClosestOGREFormat(GLenum format)
Function to get the closest matching OGRE format to an internal GL format.
void destroyIndexBuffer(IndexBufferPacked *indexBuffer)
Destroys the given index buffer created with createIndexBuffer.
DecodeResult decode(DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
virtual_l1 void position(const Vector3 &pos)
Add a vertex position, starting a new vertex at the same time.
CubemapProbe * getCubemapProbe(void) const
virtual unsigned short getNextFreeTextureCoordinate() const
Return the index of the next free texture coordinate set which may be added to this declaration.
void copy(const MeshPtr &destination, int vertexBufferType=-1, int indexBufferType=-1)
Will copy this mesh into the destination mesh.
static const ArrayReal MAX_NEG
Definition: OgreMathlibC.h:60
virtual bool isFrameFinished(uint32 frameCount)=0
If this returns true, then waitForSpecificFrameToFinish is guaranteed to return immediately.
@ TLSS_NORMAL
Tangent-space normal information from a detail texture.
Definition: OgreTerrainMaterialGenerator.h:61
virtual_l1 void setScale(const Vector3 &scale)
Sets the scaling factor applied to this node.
virtual bool getSortByDistance(void) const
Gets whether the results are sorted by distance.
AllocatedObject< ScriptingAllocPolicy > ScriptingAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:284
float getPoseWeight(size_t index) const
virtual void _useLights(const LightList &lights, unsigned short limit)
Tells the rendersystem to use the attached set of lights (and no others) up to the number specified (...
size_t getNumTargetPasses(void) const
Gets the number of passes in this node.
Definition: OgreCompositorNodeDef.h:164
void setResourceGroup(const String &grp)
Set the resource group in which files will be located.
Definition: OgreTerrainGroup.h:163
void CreateDomainShader()
LayerInstance()
Definition: OgreTerrain.h:308
@ VIEW_SPACE_CORNERS
Definition: OgreCompositorPassQuadDef.h:71
@ Depth
Definition: OgreRenderPassDescriptor.h:172
@ TEX_TYPE_2D_RECT
2D non-square texture, used in combination with 2D texture coordinates
Definition: OgreTexture.h:101
bool getPolygonModeOverrideable(void) const
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setti...
Definition: OgreBorderPanelOverlayElement.h:343
ColourValue getDerivedSceneColour(void) const
Definition: OgreX11EGLSupport.h:94
void setNormalMapTextureName(const String &textureName)
Set the normal map texture name.
Definition: OgreShaderExNormalMapLighting.h:135
virtual void postCommandBufferExecution(CommandBuffer *commandBuffer)
This gets called after executing the command buffer.
Definition: OgreHlms.h:747
virtual void setUseRenderingDistance(bool use)
Set whether this camera should use the 'rendering distance' on objects to exclude distant objects fro...
Definition: OgreCamera.h:683
~ItemFactory()
Definition: OgreItem.h:268
Bridge interface from the render system to the stereo driver.
Definition: OgreD3D11StereoDriverBridge.h:46
virtual Animation * createAnimation(const String &name, Real length)
Creates a new Animation object for vertex animating this mesh.
const Vector3 * getAllCorners(void) const
Returns a pointer to an array of 8 corner points, useful for collision vs.
Definition: OgreAxisAlignedBox.h:300
@ ID_START_LIGHT
Definition: OgreScriptCompiler.h:709
virtual ~D3D11WindowSwapChainBased()
Definition: OgreCbLowLevelMaterial.h:36
static ParameterPtr createInIndices(int index)
int Stereo
Definition: OgreD3D11LegacySDKEmulation.h:57
AxisAlignedBoxSceneQuery(SceneManager *mgr)
virtual void setFsaaResolved()
Definition: OgreGLES2NullTexture.h:108
uint8 getRetryCount() const
Get the remaining retry count.
Definition: OgreWorkQueue.h:119
LwString & a(int32 a0)
Definition: OgreLwString.h:228
static const IdString UvAtlas6
Definition: OgreHlmsUnlitMobile.h:149
uint32 getUpdateCounter(void) const
Definition: OgreShaderParams.h:153
@ ID_ADD
Definition: OgreScriptCompiler.h:755
virtual void execute(IntersectionSceneQueryListener *listener)=0
Executes the query and returns each match through a listener interface.
const TexturePtr & getGlobalColourMap() const
Get access to the global colour map, if enabled.
Definition: OgreTerrain.h:1426
int getVBlankMissCount(D3D9RenderWindow *renderWindow)
CbTexture(uint16 _texUnit, TextureGpu *_texture, const HlmsSamplerblock *_samplerBlock=0)
~D3D9RenderTexture()
Definition: OgreD3D9Texture.h:226
virtual bool hasAnisotropicMipMapFilter() const
Determines if the system has anisotropic mip map filter support.
Definition: OgreNULLRenderSystem.h:182
virtual void hlmsTypeChanged(bool casterPass, CommandBuffer *commandBuffer, const HlmsDatablock *datablock)
Called when the last Renderable processed was of a different Hlms type, thus we need to rebind certai...
Definition: OgreHlmsListener.h:131
void begin_context(RenderTarget *_target=0)
uint16 emissiveTexIdx
Definition: OgreVctMaterial.h:50
Definition: OgreRenderPassDescriptor.h:145
Definition: OgreException.h:218
Real mInvNextFrameDistance
Definition: OgreSkeletonTrack.h:45
size_t getParticleQuota(void) const
Returns the maximum number of particles this system is allowed to have active at once.
Renderbuffer surface.
Definition: OgreGLES2HardwarePixelBuffer.h:86
Sphere()
Standard constructor - creates a unit sphere around the origin.
Definition: OgreSphere.h:57
NodeMemoryManager & _getTagPointNodeMemoryManager(void)
Definition: OgreSceneManager.h:1324
NullEntity()
Definition: OgreMovableObject.h:634
static WindowList _msWindows
Definition: OgreWindowEventUtilities.h:186
void doSet(void *target, const String &val)
Usage: OGRE_NEW SceneNode( Id::generateNewId< Node >() )
Definition: OgreId.h:43
virtual void _setPipelineStateObject(const HlmsPso *pso)
@See HlmsPso
VertexData * _getSoftwareVertexAnimVertexData(void)
Advanced method to get the temporarily blended software morph vertex information.
D3DFORMAT _getDepthStencilFormatFor(D3DFORMAT fmt)
Check which depthStencil formats can be used with a certain pixel format, and return the best suited.
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
String doGet(const void *target) const
String doGet(const void *target) const
virtual bool isEquivalentFormatSupported(TextureType ttype, PixelFormat format, int usage)
Returns whether this render system can support the texture format requested with the given usage opti...
float mDepthBiasConstant
When polygons are coplanar, you can get problems with 'depth fighting' where the pixels from the two ...
Definition: OgreHlmsDatablock.h:98
virtual void _setComputePso(const HlmsComputePso *pso)
Unlike _setPipelineStateObject, the RenderSystem will check if the PSO has changed to avoid redundant...
uint8 dataSizeBytes
Size in bytes from dataBytes.
Definition: OgreShaderParams.h:72
void shutdownAll(void)
Shutdown all ResourceManagers, performed as part of clean-up.
virtual void execute(SceneQueryListener *listener)
See RayScenQuery.
@ Scale
Definition: OgreBoneArrayMemoryManager.h:60
static const IdString ForwardPlusDebug
Definition: OgreHlms.h:885
void _waitForPendingGpuToCpuSyncs(TextureGpu *texture)
Do not use directly. See TextureGpu::waitForPendingSyncs.
vector< Camera * >::type CameraList
Definition: OgrePageManager.h:407
static const char * DetailWeightMap
Definition: OgreHlmsPbs.h:468
@ OPT_0
Optimisation level 0.
Definition: OgreD3D9HLSLProgram.h:154
void nodeAttached(BoneTransform &outTransform, size_t depth)
Requests memory for the given transform to be attached, transferring existing values inside to the ne...
uint16 getType() const
Get the type of this request within the given channel.
Definition: OgreWorkQueue.h:115
bool hasWorkspaceDefinition(IdString name) const
Returns true if a workspace definition with the given name exists.
const Quaternion & _getCachedRealOrientation(void) const
Definition: OgreCamera.h:444
TextureGpu * findTextureNoThrow(IdString name) const
type4(const Vector2 &valXY, const Vector2 &valZW)
Definition: OgreShaderPrimitives.h:53
void FromAngleAxis(const Vector3 &rkAxis, const Radian &fRadians)
#define OGRE_FREE(ptr, category)
Free the memory allocated with OGRE_MALLOC or OGRE_ALLOC_T. Category is required to be restated to en...
Definition: OgreMemoryAllocatorConfig.h:457
int format
Definition: OgreX11EGLSupport.h:94
SharedPtr< ThreadHandle > ThreadHandlePtr
Definition: OgreThreads.h:120
NSWindow * ogreWindow() const
Definition: OgreOSXCocoaWindow.h:76
Matrix4 getInverseProjectionMatrix() const
time_t getModifiedTime(const String &filename)
Retrieve the modification time of a given file.
static Radian ASin(Real fValue)
Arc sine function.
bool isDouble() const
Definition: OgreGpuProgramParams.h:202
static void * GetTls(TlsHandle tlsHandle)
vector< KeyFrameRigVec::const_iterator >::type KnownKeyFramesVec
Definition: OgreSkeletonAnimation.h:42
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:482
void _prepare(void)
Internal method for preparing to load this pass.
const ResourceLayoutMap & getResourcesLayout(void) const
Definition: OgreCompositorWorkspace.h:194
uint32 ARGB
Definition: OgreColourValue.h:42
@ Index32bit
Definition: OgreVctVoxelizer.h:51
@ ID_TEXTURE
Definition: OgreScriptCompiler.h:726
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
ushort getWeightCount()
Returns the number of weights/bones affecting a vertex.
static size_t parseSizeT(const String &val, size_t defaultValue=0)
Converts a String to size_t.
void swapBuffers()
Overridden - see RenderWindow.
virtual ~SceneManager()
Default destructor.
GLuint getDepthBuffer() const
Definition: OgreGL3PlusDepthBuffer.h:68
int getSoftwareAnimationNormalsRequests(void) const
Returns the number of requests that have been made for software animation of normals.
Definition: OgreEntity.h:522
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.
MovablePlane(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, const Plane &rhs)
~GL3PlusHardwareBufferManagerBase()
void attachRenderWindow(D3D9RenderWindow *renderWindow)
@ ID_WRITE
Definition: OgreScriptCompiler.h:982
virtual_l2 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...
~DefaultPlaneBoundedVolumeListSceneQuery()
static const IdString BrdfCookTorrance
Definition: OgreHlmsPbs.h:565
virtual Real getLoadRadiusInCells()
Get the load radius as a multiple of cells.
Definition: OgreGrid2DPageStrategy.h:173
virtual void getCustomAttribute(const String &name, void *pData)
@ Continue
Definition: OgreAssert.h:46
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 touch(void)
'Touches' the resource to indicate it has been used.
Definition: OgreMaterial.h:527
GpuProgram * _getBindingDelegate(void)
Returns the GpuProgram which should be bound to the pipeline.
Definition: OgreHighLevelGpuProgram.h:134
@ ACT_RENDER_TARGET_FLIPPING
render target related values
Definition: OgreGpuProgramParams.h:1005
StringVectorPtr findResourceLocation(const String &groupName, const String &pattern)
Find all resource location names matching a given pattern in a resource group.
virtual void _endFrame(void)=0
Ends rendering of a frame to the current viewport.
Vector3 GetColumn(size_t iCol) const
virtual void buildDiffList(uint16 level, const MemoryPoolVec &basePtrs, ArrayMemoryManager::PtrdiffVec &outDiffsList)
Called when the manager needs to grow it's memory pool to honour more node requests.
const String & getShaderLibraryPath(void) const
Get shader library path.
Definition: OgreGL3PlusSupport.h:94
Definition: OgreCompositorShadowNode.h:345
static const uint32 TERRAINGENERALINFO_CHUNK_ID
Definition: OgreTerrain.h:292
@ SPC_LIGHTDIRECTION_TANGENT_SPACE5
Definition: OgreShaderParameter.h:202
const Plane * _getCachedFrustumPlanes(void) const
Returns the frustum planes, doesn't check if dirty.
Definition: OgreFrustum.h:466
virtual void *RESTRICT_ALIAS_RETURN map(size_t elementStart, size_t elementCount, MappingState prevMappingState, bool advanceFrame=true)
Real nX
X component of the normal.
Definition: OgreVolumeMeshBuilder.h:54
virtual void setMaterial(const MaterialPtr &material)
Sets a Material to be used.
virtual ~Pool()
Definition: OgreResourceManager.h:56
virtual ~LodCollapseCost()
Definition: OgreLodCollapseCost.h:42
ConcreteNodeType
These enums hold the types of the concrete parsed nodes.
Definition: OgreScriptCompiler.h:53
virtual bool queryIsTransferDone(void)
virtual void bindBufferCS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Vector2 getActualDimensions(void) const
Quaternion getAsQuaternion(size_t index) const
Prefer using.
Definition: C/OgreArrayQuaternion.h:92
@ PFG_RG8_UINT
Definition: OgrePixelFormatGpu.h:96
vector< PageContentCollection * >::type ContentCollectionList
Definition: OgrePage.h:53
Command object for billboard rotation type (see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:78
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:260
void _bakeUnusedSlots(void)
Takes all KeyFrames and repeats the KfTransforms for every unused slot by a pattern based on the numb...
SharedPtr(const SharedPtr< Y > &r)
Definition: OgreSharedPtr.h:209
uint8 getMaxLayers(const Terrain *terrain) const
Get the number of layers supported.
virtual void frameStart(Real timeSinceLastFrame)
Called when the frame starts.
uint16 textureArrayIndex
Definition: OgreDescriptorSetUav.h:111
FileStreamDataStream(std::ifstream *s, bool freeOnClose=true)
Construct a read-only stream from an STL stream.
@ ID_SRC_COLOUR
Definition: OgreScriptCompiler.h:658
virtual_l1 void setScale(Real x, Real y, Real z)
Sets the scaling factor applied to this node.
static const IdString LightProfilesTexture
Definition: OgreHlmsPbs.h:542
virtual void _sortBillboards(void)
Sort the billboard set.
void setMaxThreadsPerThreadgroupAxis(const uint32 value[3])
Definition: OgreRenderSystemCapabilities.h:972
vector< HlmsCache * >::type HlmsCacheVec
Definition: OgreHlmsCommon.h:208
virtual void _renderNoBaseInstance(const v1::CbDrawCallStrip *cmd)
Definition: OgreD3D11DriverList.h:39
~NumericKeyFrame()
Definition: OgreKeyFrame.h:87
Definition: OgreD3D9VideoModeList.h:38
void retain(ArrayMaskR orientation, ArrayMaskR scale)
Strips orientation and/or scale components out of this matrix based on the input using branchless sel...
void setBlendIndicesGpuRedundant(bool redundant)
Sets whether blend indices information needs to be passed to the GPU.
Definition: OgreRoot.h:1019
@ GCT_MATRIX_DOUBLE_4X4
Definition: OgreGpuProgramParams.h:111
static T Clamp(T val, T minval, T maxval)
Clamp a value within an inclusive range.
Definition: OgreMath.h:721
void preDeltaCalculation(const Rect &rect)
Notify the node (and children) that deltas are going to be calculated for a given range.
Definition: OgreMetalDepthTexture.h:94
HlmsDatablock * getDatablockNoDefault(IdString name) const
@See getDatablock.
T::iterator efficientVectorRemove(T &container, typename T::iterator &iterator)
Used for efficient removal in std::vector and std::deque (like an std::list) However it assumes the o...
Definition: OgreCommon.h:1050
uint size
Definition: OgreTerrainLodManager.h:83
virtual void frameEnd(Real timeElapsed)=0
Called when the frame ends.
MetalTextureGpuWindow(GpuPageOutStrategy::GpuPageOutStrategy pageOutStrategy, VaoManager *vaoManager, IdString name, uint32 textureFlags, TextureTypes::TextureTypes initialType, TextureGpuManager *textureManager, MetalWindow *window)
virtual void _setTextureBlendMode(size_t unit, const LayerBlendModeEx &bm)
Sets the texture blend modes from a TextureUnitState record.
Definition: OgreNULLVertexArrayObject.h:39
stdext::hash_compare< _StringBase, std::less< _StringBase > > _StringHash
Definition: OgreString.h:226
const AxisAlignedBox & getBox(void) const
Gets the box which is being used for this query.
virtual void setTextureType(TextureTypes::TextureTypes textureType)
~MeshSerializerImpl_v1_41()
String doGet(const void *target) const
Listener which gets called back on Node events.
Definition: OgreNode.h:80
virtual void endProfileEvent(void)
Ends the currently active GPU profiling event.
uint32 top
Definition: OgreCommon.h:818
virtual void setNumberOfChains(size_t numChains)
Set the number of chain segments (this class can render multiple chains at once using the same materi...
UniformParameterPtr getParameterByType(GpuConstantType type, int index)
Get parameter by a given type and index.
static const IdString NumThreadGroupsZ
Definition: OgreHlmsCompute.h:201
SceneBlendOperation
Blending operations controls how objects are blended into the scene.
Definition: OgreBlendMode.h:254
virtual ~IntersectionSceneQueryListener()
StrideChanger()
Definition: OgreGL3PlusVaoManager.h:63
uint32 getDecalsPerCell(void) const
Definition: OgreForwardClustered.h:132
virtual void write(const bool *boolean, size_t count=1)
virtual ~SubRenderState()
Class destructor.
friend class SGPass
Definition: OgreShaderGenerator.h:1080
void destroyWorld(const String &name)
Destroy a world.
void removeConstantDefinition(const String &name)
Remove a constant definition from this shared set of parameters.
bool operator<(const HashedVector< T > &b)
Definition: OgreCommon.h:625
~HashedVector()
Definition: OgreCommon.h:526
virtual BackgroundProcessTicket unload(const String &resType, const String &name, Listener *listener=0)
Unload a single resource in the background.
virtual void _hlmsMacroblockDestroyed(HlmsMacroblock *block)
virtual void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
virtual Real getRSDepthRange(void) const
OpenGL depth is in range [-1;1] so it returns 2.0f; D3D11 & Metal are in range [0;1] so it returns 1....
Definition: OgreRenderSystem.h:1012
BasicBlock(uint8 blockType)
const double & min(const double &a, const double &b)
Definition: OgreCommon.h:1122
ArrayQuaternion(const ArrayReal &chunkW, const ArrayReal &chunkX, const ArrayReal &chunkY, const ArrayReal &chunkZ)
Definition: C/OgreArrayQuaternion.h:71
@ AutomaticBatching
When not present: The Texture is exactly the type requested (e.g.
Definition: OgreTextureGpu.h:153
void flushShaderCache()
Flush the shader cache.
BuiltinScriptTranslatorManager()
void setName(const String &name)
Set the name of the Texture Unit State.
void clear(void)
Clears all the points in the spline.
Overlay(const String &name, IdType id, ObjectMemoryManager *objectMemoryManager, uint8 renderQueueId)
Constructor: do not call direct, use OverlayManager::create.
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.
@ ID_CAMERA_FAR_CORNERS_VIEW_SPACE
Definition: OgreScriptCompiler.h:932
SharedPtr< ConcreteNode > ConcreteNodePtr
Definition: OgreScriptCompiler.h:65
void _notifyContainer(AnimationContainer *c)
AutoParamDataSource * _getAutoParamDataSource(void) const
Definition: OgreHlmsLowLevel.h:80
void load()
Load the library.
@ LBX_ADD_SMOOTH
as LBX_ADD, but subtract product from the sum
Definition: OgreBlendMode.h:91
@ ID_SHADOW_MAP
Definition: OgreScriptCompiler.h:1012
virtual bool hasAnisotropicMipMapFilter() const =0
Determines if the system has anisotropic mip map filter support.
const CompositorPassDefVec & getCompositorPasses() const
Definition: OgreCompositorPassDef.h:296
void removeLodListener(LodListener *listener)
Remove a level of detail listener.
IdString mCustomIdentifier
Definition: OgreCompositorNodeDef.h:103
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
Definition: OgreMemoryAllocatedObject.h:59
size_t find_last_of(char c, size_t pos=~0) const
Definition: OgreLwConstString.h:134
const String & getName() const
Return the name of the log.
Definition: OgreLog.h:138
virtual size_t calculateSize(void) const
Calculate the size of a resource; this will only be called after 'load'.
virtual_l2 Quaternion _getDerivedOrientation(void) const
Gets the orientation of the node as derived from all parents.
virtual Decal * createDecal(SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC)
@ RSC_HWRENDER_TO_VERTEX_BUFFER
Supports rendering to vertex buffers.
Definition: OgreRenderSystemCapabilities.h:137
const String & getMovableType(void) const
Returns the type name of this object.
const Any & getUserAny(void) const
Retrieves the custom key less user object associated with this class.
void setMaterialName(const String &matName)
Overridden from OverlayElement.
PagedWorldSectionFactory * getWorldSectionFactory(const String &name)
Get a PagedWorldSectionFactory.
AtomicScalar(const T &initial)
Definition: OgreAtomicScalar.h:408
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:192
bool hasVertex(const Vertex *v) const
virtual void initGPUProfiling(void)
Predefined controller value for getting the latest frame time.
Definition: OgrePredefinedControllers.h:52
void setFullRegion(const Aabb &fullRegion)
PccPerPixelGridPlacement needs, as guidance, the maximum region it will be occupying.
virtual void beginOcclusionQuery()=0
Starts the hardware occlusion query.
@ ID_CONNECT_BUFFER_EXTERNAL
Definition: OgreScriptCompiler.h:823
MaterialPtr getByName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Get a resource by name.
vector< Block >::type BlockVec
Definition: OgreGLES2VaoManager.h:80
Any(const ValueType &value)
Definition: OgreAny.h:70
virtual int getUsage() const
Returns the TextureUsage identifier for this Texture.
Definition: OgreTexture.h:258
@ VS_BACK
The side from which u goes right and v goes down (reverse of texture coords)
Definition: OgrePatchSurface.h:75
virtual void bindBufferPS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Definition: OgreNULLTexBufferPacked.h:50
void bind(IDirect3DDevice9 *dev, IDirect3DVolume9 *mVolume, IDirect3DBaseTexture9 *mipTex)
Definition: OgreShaderParams.h:69
uint32 getEnvFeatures(void) const
Definition: OgreSceneManager.h:1652
GLSLESShader * getVertexShader() const
Definition: OgreGLSLESProgramCommon.h:106
const Camera * renderingCamera
Definition: OgreSceneManager.h:181
@ HasDiffuseTex
Definition: OgreVctVoxelizer.h:53
virtual void _setTexturesCS(uint32 slotStart, const DescriptorSetTexture2 *set)
GeneralAllocatedObject PluginAlloc
Definition: OgreMemoryAllocatorConfig.h:321
void setCharacterSpacer(uint charSpacer)
Sets the spacing to allocate for font characters to overlap each other.
void loadDynamicImage(void *pData, uint32 width, uint32 height, uint32 depthOrSlices, TextureTypes::TextureTypes textureType, PixelFormatGpu format, bool autoDelete, uint8 numMipmaps=1u)
Stores a pointer to raw data in memory.
@ LF_DEFAULT
Only reloadable resources are processed, reload restores initial state.
Definition: OgreResource.h:138
virtual bool isCompatible(RenderTarget *renderTarget, bool exactFormatMatch) const
Returns whether the specified RenderTarget is compatible with this DepthBuffer That is,...
static const int ShaderShiftTransp
Definition: OgreRenderQueue.h:311
void setEmissive(const Vector3 &emissiveColour)
Sets emissive colour (e.g.
virtual void getBestDepthStencil(PixelFormat depthFormat, PixelFormat fboFormat, GLenum *outDepthFormat, GLenum *outStencilFormat)
Get best depth and stencil supported for given internalFormat.
virtual bool getPreferDepthTexture(void) const
std::pair< CodePoint, CodePoint > CodePointRange
A range of code points, inclusive on both ends.
Definition: OgreFont.h:154
Specialisation of HardwareBuffer for vertex index buffers, still abstract.
Definition: OgreHardwareIndexBuffer.h:49
InterpolationMode getInterpolationMode(void) const
Gets the current interpolation mode of this animation.
void setTessellationDomainProgramConstantBoolCount(ushort c)
The number of boolean constants tessellation Domain programs support.
Definition: OgreRenderSystemCapabilities.h:921
void setAmbient(Real red, Real green, Real blue)
Sets the ambient colour reflectance properties for every Pass in every Technique.
virtual RenderSystemCapabilities * createRenderSystemCapabilities() const
See RenderSystem.
virtual void _dispatch(const HlmsComputePso &pso)
void setTexBuffer(uint8 slotIdx, const DescriptorSetTexture2::BufferSlot &newSlot)
Sets a texture buffer at the given slot ID.
@ GCT_FLOAT1
Definition: OgreGpuProgramParams.h:73
ComPtr & operator=(T *other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:150
void setCurrentShadowNode(const CompositorShadowNode *sn)
virtual void initGPUProfiling(void)=0
virtual ~ControllerValue()
Definition: OgreController.h:108
ParticleSystemRenderer()
Constructor.
Definition: OgreParticleSystemRenderer.h:55
PageStrategy(const String &name, PageManager *manager)
Definition: OgrePageStrategy.h:79
virtual void _placeBarriersAndEmulateUavExecution(BoundUav boundUavs[64], ResourceAccessMap &uavsAccess, ResourceLayoutMap &resourcesLayout)
Emulates the execution of a UAV to understand memory dependencies, and adds a memory barrier / resour...
virtual VertexPoseKeyFrame * createVertexPoseKeyFrame(Real timePos)
Creates the single pose KeyFrame and adds it to this animation.
virtual PageID getPageID(const Vector3 &worldPos)
Get the page ID for a given world position.
unsigned short getNumTechniques(void) const
Retrieves the number of techniques.
Definition: OgreIrradianceField.h:51
uint16 getAreaLightsLtcLimit(void) const
Definition: OgreHlms.h:526
const ColourValue & getColour(void) const
Gets the colour of this billboard.
size_t dstOffset
The offset in the destination buffer to copy to.
Definition: OgreStagingBuffer.h:87
static const IdString FresnelScalar
Definition: OgreHlmsPbsMobile.h:116
HlmsDatablock * getMaterial(IdString name) const
Alias function.
Definition: OgreHlmsManager.h:298
void extractUniformsFromGLSL(const String &src, GpuNamedConstants &constantDefs, const String &filename)
Populate a list of uniforms based on GLSL source and store them in GpuNamedConstants.
GLenum blendFunc
Definition: OgreGL3PlusHlmsPso.h:59
Particle()
Definition: OgreParticle.h:102
ImageBlur2D separableBlur_sRGB_AX88
Definition: OgreImageDownsampler.h:212
Command object for setting matrix packing in column-major order.
Definition: OgreD3D9GpuProgram.h:44
uint32 renderOpMeshIndex
Definition: OgreSubMesh.h:75
virtual unsigned int getDisplayMonitorCount() const =0
Gets the number of display monitors.
@ GVA_CENTER
Definition: OgreOverlayElement.h:82
GpuProgram * _getBindingDelegate(void)
Since GLSL has no assembly, use this shader for binding.
Definition: OgreGLSLESShader.h:144
ForwardPlusBase(SceneManager *sceneManager, bool decalsEnabled, bool cubemapProbesEnabled)
@ SOP_DECREMENT
Decrease the stencil value by 1, clamping at 0.
Definition: OgreCommon.h:110
@ ID_VERTEX_PROGRAM_REF
Definition: OgreScriptCompiler.h:619
VertexElement2Vec vertexElements
Definition: OgreNULLVaoManager.h:97
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:376
@ SMT_FRAME_SEQUENTIAL
Definition: OgreCommon.h:339
void _notifyParticleResized(void)
Optional callback notified when particles are resized individually.
void setEntryPoint(const String &entryPoint)
Sets the entry point for this program ie the first method called.
Definition: OgreD3D9HLSLProgram.h:176
@ PCT_BYTE
Definition: OgrePixelFormat.h:394
virtual ~ParticleSystemManager()
virtual void copyTo(TextureGpu *dst, const TextureBox &dstBox, uint8 dstMipLevel, const TextureBox &srcBox, uint8 srcMipLevel, bool keepResolvedTexSynced=true)
void releaseRenderBuffer(const GL3PlusSurfaceDesc &surface)
Release a render buffer.
bool getShareableDepthBuffer(void) const
Definition: OgreGL3PlusDepthTexture.h:48
IDirect3DDevice9 * getD3D9Device()
@ PFG_R16_UNORM
Definition: OgrePixelFormatGpu.h:102
OptimizationStrategy getOptimizationStrategy() const
static Vector3 parseVector3(const String &val, const Vector3 &defaultValue=Vector3::ZERO)
Parses a Vector3 out of a String.
PixelFormat getSrcFormat(void) const
Returns the pixel format of the original input texture (may differ due to hardware requirements and p...
Definition: OgreTexture.h:340
TagPoint(IdType id, SceneManager *creator, NodeMemoryManager *nodeMemoryManager, SceneNode *parent)
Pre-transforms and batches up meshes for efficient use as static geometry in a scene.
Definition: OgreStaticGeometry.h:124
vector< DepthLevelInfo >::type DepthLevelInfoVec
Definition: OgreSkeletonDef.h:82
@ ID_PHONG
Definition: OgreScriptCompiler.h:695
static const Real msEpsilon
Cutoff for sine near zero.
Definition: OgreQuaternion.h:314
virtual bool addRenderWindow(D3D11RenderWindowBase *renderWindow)
MaterialPtr generateForCompositeMap(const Terrain *terrain)
Generate / reuse a material for the terrain.
TextureGpu * createTextureGpuWindow(void)
virtual uint32 fillBuffersFor(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, uint32 lastTextureHash)
Fills the constant buffers.
@ OGREPROF_GENERAL
General processing.
Definition: OgreProfiler.h:214
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
See HardwareBuffer.
~DefaultSceneManagerFactory()
Definition: OgreSceneManagerEnumerator.h:52
virtual void _setWorldMatrices(const Matrix4 *m, unsigned short count)
Sets multiple world matrices (vertex blending).
virtual Real getTerrainWorldSize() const
Retrieve the world size of each terrain instance.
Definition: OgreTerrainGroup.h:124
void doSet(void *target, const String &val)
@ ID_GREATER_EQUAL
Definition: OgreScriptCompiler.h:682
virtual void setParticleVelocity(Real speed)
Sets the initial velocity of particles emitted.
void setTextureTecPassStateLevel(int t, int p, int s)
Used for attaching texture to Technique, State, and texture unit layer.
Definition: OgreExternalTextureSource.h:128
const OldNodeTrackList & _getOldNodeTrackList(void) const
Fast access to NON-UPDATEABLE OldNode track list.
virtual void bindBufferPS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
_OgreExport friend std::ostream & operator<<(std::ostream &o, const ColourValue &c)
Function for writing to a stream.
@ UO_UNMAP_ALL
Unmaps all types of mapping, including persistent buffers.
Definition: OgreBufferPacked.h:75
virtual void updateCompositorManager(CompositorManager2 *compositorManager)
This gives the renderer a chance to perform the compositor update in a special way.
Definition: OgreScriptTranslator.h:303
ImageBlur2D separableBlur_Float32_XXX
Definition: OgreImageDownsampler.h:168
virtual bool isEndOfChunk(uint32 id)
Return whether the current data pointer is at the end of the current chunk.
void _setTextureCoordCalculation(size_t stage, TexCoordCalcMethod m, const Frustum *frustum=0)
See RenderSystem.
Definition: OgreGLES2RenderSystem.h:289
static void writeLayerInstanceList(const Terrain::LayerInstanceList &lst, StreamSerialiser &ser)
Utility method to write a layer instance list to a stream.
@ NumResourceLayouts
Definition: OgreResourceTransition.h:58
UavDependency(uint32 _uavSlot, ResourceAccess::ResourceAccess _access, bool _allowWriteAfterWrite)
Definition: OgreCompositorPassDef.h:200
LwString & a(const M &a0, const N &a1, const O &a2, const P &a3)
Definition: OgreLwString.h:371
virtual void releaseContext()
Release the render context.
Definition: OgreGLES2Context.h:70
uint32 getDepthOrSlices(void) const
virtual void convertWorldToGridSpace(const Vector3 &world, Vector2 &grid)
Convert a world point to grid space (not relative to origin)
uint32 inChannel
Name of the alias.
Definition: OgreCompositorWorkspaceDef.h:65
static String toString(const Vector3 &val)
Converts a Vector3 to a String.
Class for managing RenderSystemCapabilities database for Ogre.
Definition: OgreRenderSystemCapabilitiesManager.h:50
CategorisedAllocPolicy< Ogre::MEMCATEGORY_GEOMETRY > GeometryAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:266
const Vector3 & getNormal(size_t poly)
Returns the normal of a specified polygon.
void validateAllNodes()
Calls.
const GL3PlusSupport & getGlSupport(void) const
Definition: OgreGL3PlusTextureGpuManager.h:84
void doSet(void *target, const String &val)
void setDatablock(IdString datablockName)
Sets the given HLMS datablock to all SubEntities.
static const IdString BrdfBlinnPhong
Definition: OgreHlmsPbs.h:566
virtual void setFsaaResolveDirty(void)
Null buffers never resolve; only colour buffers do.
Definition: OgreD3D11NullTexture.h:117
void setRightBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the right edge of the border.
@ M_POSE_VERTEX
Definition: OgreMeshFileFormat.h:152
Definition: OgreLodConfigSerializer.h:42
void setNamedConstant(const String &name, const double *val, size_t count)
const Plane * getFrustumPlanes(void) const
Retrieves the clipping planes of the frustum (world space).
static uint32 getScalarMask(ArrayInt mask)
AnyNumeric(const ValueType &value)
Definition: OgreAny.h:229
uint32 getRequestedHeightPt(void) const
virtual void frameEnd(Real timeElapsed)
Called when the frame ends.
Controller(const SharedPtr< ControllerValue< T > > &src, const SharedPtr< ControllerValue< T > > &dest, const SharedPtr< ControllerFunction< T > > &func)
Usual constructor.
Definition: OgreController.h:155
const CompositorShadowNodeDef * getDefinition() const
Definition: OgreCompositorShadowNode.h:189
virtual bool isClosed(void) const
Indicates whether the window has been closed by the user.
Definition: OgreD3D11LegacySDKEmulation.h:72
ParticleAffectorTranslator()
const NormalsMap & getNormals(void) const
Gets a const reference to the vertex offsets.
Definition: OgrePose.h:114
String doGet(const void *target) const
Float(float value, int precision=-1, int minWidth=-1)
Definition: OgreLwString.h:292
virtual void bindBufferPS(uint16 slot)=0
static void startup(void)
Static method to startup and register the PVRTC codec.
#define _OgrePagingExport
Definition: OgrePagingPrerequisites.h:79
void setColumnMajorMatrices(bool columnMajor)
Sets whether matrix packing in column-major order.
Definition: OgreGLSLShader.h:172
Definition: OgreCbShaderBuffer.h:52
const Any & getUserAny(const String &key) const
Retrieves the custom user object associated with this class and key.
static const IdString LightsSpotParams
Definition: OgreHlms.h:852
GLuint getVboName(void) const
Definition: OgreGLES2BufferInterface.h:68
virtual void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
The handler method every subclass must implement.
virtual bool isRenderWindow(void) const
Whether our derived class is RenderWindow.
Definition: OgreRenderTarget.h:417
virtual void notifyTextureChanged(TextureGpu *texture, TextureGpuListener::Reason reason, void *extraData)
Called when a TextureGpu changed in a way that affects how it is displayed:
AnimationState * createAnimationState(const String &animName, Real timePos, Real length, Real weight=1.0, bool enabled=false)
Create a new AnimationState instance.
MemoryStatsEntry(uint32 _poolType, size_t _offset, size_t _sizeBytes, size_t _poolCapacity)
This value is the same for all entries with same poolType & poolIdx.
Definition: OgreVaoManager.h:172
@ SPC_LIGHTDIRECTION_OBJECT_SPACE7
Definition: OgreShaderParameter.h:174
virtual const Vector3 & getUp(void) const
Returns the up vector of the emitter.
virtual void setHidden(bool hidden)
Hide (or show) the window.
SmallVector()
Definition: OgreMain/include/OgreSmallVector.h:739
static void destroy_range(T *S, T *E)
Definition: OgreMain/include/OgreSmallVector.h:242
@ GCT_MATRIX_4X3
Definition: OgreGpuProgramParams.h:92
void setNewRadius(const float radius[3])
Changes existing set of radiuses.
GL3PlusStagingTexture(VaoManager *vaoManager, PixelFormatGpu formatFamily, size_t size, size_t internalBufferStart, size_t vboPoolIdx, GL3PlusDynamicBuffer *dynamicBuffer)
virtual bool getUseShortestRotationPath() const
Gets the method of rotation calculation.
static const uint16 WORKQUEUE_DERIVED_DATA_REQUEST
Definition: OgreTerrain.h:1546
void setLodIndex(unsigned short index)
Assigns a level-of-detail (LOD) index to this Technique.
static void addEmbbeddedFile(const String &name, const uint8 *fileData, size_t fileSize, DecryptEmbeddedZipFileFunc decryptFunc)
Add an embedded file to the embedded file list.
size_t numElements
Definition: OgreTextureDefinition.h:148
static void unlockDeviceAccess()
String getTextureNameStr() const
Definition: OgreCompositorShadowNodeDef.h:104
uint32 registerCustomWordId(const String &word)
Adds a custom word id which can be used for custom script translators.
uint8 getCurrentMaterialLod(void) const
Definition: OgreRenderable.h:411
virtual void roll(const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the OldNode around the Z-axis.
static const size_t MS_CORNERS_TOP[4]
To call Marching Squares with a cube on its top.
Definition: OgreVolumeIsoSurface.h:72
SubMesh * submesh
Definition: OgreStaticGeometry.h:163
void createWithView(OgreGL3PlusView *view)
#define _OgreD3D11Export
Definition: OgreD3D11Prerequisites.h:147
@ RSC_TEXTURE_COMPRESSION_ETC1
Supports compressed textures in the ETC1 format.
Definition: OgreRenderSystemCapabilities.h:150
void connectBuffer(IdString outNode, IdString inNode)
Connects all output buffer channels from outNode to all input buffer channels from inNode.
iterator erasePOD(iterator first, iterator last)
Definition: OgreStackVector.h:197
virtual void destroyAllRectangle2D(void)
Removes & destroys all Rectangle2D.
String doGet(const void *target) const
void increaseRefreshRate(unsigned int rr)
Definition: OgreD3D9VideoMode.h:59
@ CompressedVertexFormat
Definition: OgreVctVoxelizer.h:52
Rect calculateHeightDeltas(const Rect &rect)
Calculate (or recalculate) the delta values of heights between a vertex in its recorded position,...
@ PCT_COUNT
Unsigned integer per component.
Definition: OgrePixelFormat.h:400
bool isFileOutputSuppressed() const
Get whether file output is suppressed for this log.
Definition: OgreLog.h:142
static void gaussFilter(float *RESTRICT_ALIAS dstData, float *RESTRICT_ALIAS srcData, size_t texWidth, size_t texHeight, size_t texDepth)
OGRE_HLMS_TEXTURE_BASE_CLASS(IdString name, Hlms *creator, const HlmsMacroblock *macroblock, const HlmsBlendblock *blendblock, const HlmsParamVec ¶ms)
static void updateAllTransforms(const size_t numNodes, BoneTransform t, ArrayMatrixAf4x3 const *RESTRICT_ALIAS reverseBind, size_t numBinds)
TODO.
@ ID_SEPARATE_SCENE_BLEND_OP
Definition: OgreScriptCompiler.h:670
#define _OgreHlmsPbsExport
Definition: OgreHlmsPbsPrerequisites.h:50
Real getBottomBorderSize(void) const
Gets the size of the bottom border.
virtual void bindBufferHS(uint16 slot, size_t offset=0, size_t sizeBytes=0)=0
MapIterator< AnimationList > AnimationIterator
Definition: OgreSceneManager.h:2271
This is how the Skeleton system works in 2.0: There is one BoneMemoryManager per skeleton.
Definition: OgreSkeletonAnimManager.h:105
virtual void _fireUnloadingComplete(void)
Firing of unloading complete event.
virtual void markProfileEvent(const String &eventName)
Marks an instantaneous event for graphics profilers.
virtual HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")=0
Create counter buffer.
void setColour(const ColourValue &colour)
Sets the colour of this billboard.
static const IdString BlendModeIndex2
Definition: OgreHlmsPbsMobile.h:158
void _setTextureCoordCalculation(size_t stage, TexCoordCalcMethod m, const Frustum *frustum=0)
See RenderSystem.
Definition: OgreGL3PlusRenderSystem.h:351
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:64
Real getDefaultLayerTextureWorldSize() const
Get the default world size for a layer 'splat' texture to cover.
Definition: OgreTerrain.h:2060
void setManualValue(T value, uint32 numValues, ElementType elementType)
@ ID_CMPFUNC
Definition: OgreScriptCompiler.h:750
RenderSystemCapabilities()
void _setViewMatrix(const Matrix4 &m)
See RenderSystem.
SceneManager * sceneManager
The scenemanager to construct the entity with.
Definition: OgreVolumeChunk.h:53
ManualResourceLoader * loader
Definition: OgreResourceGroupManager.h:298
virtual bool addRenderWindow(D3D9RenderWindow *renderWindow)=0
void remove(const String &filename)
Delete a named file.
~DynLib()
Default destructor.
static void setExceptionsErrorLevel(const eExceptionsErrorLevel exceptionsErrorLevel)
Cache-friendly array of 3-dimensional represented as a SoA array.
Definition: C/OgreArrayVector3.h:65
virtual void hide(void)
Hides this element if it was visible.
Command object for setting entry point.
Definition: OgreD3D11HLSLProgram.h:56
@ CB_DRAW_V1_INDEXED_NO_BASE_INSTANCE
Definition: OgreCbCommon.h:66
VertexArrayObject * clone(VaoManager *vaoManager, SharedVertexBufferMap *sharedBuffers, int vertexBufferType=-1, int indexBufferType=-1) const
Clones the vertex & index buffers and creates a new VertexArrayObject.
D3D9Driver(const D3D9Driver &ob)
Real getSinTime_0_1(Real x) const
Listener which gets called back on OldNode events.
Definition: OgreOldNode.h:88
virtual void copyTo(TextureGpu *dst, const TextureBox &dstBox, uint8 dstMipLevel, const TextureBox &srcBox, uint8 srcMipLevel, bool keepResolvedTexSynced=true)
virtual void setFrustumExtents(Real left, Real right, Real top, Real bottom, FrustrumExtentsType frustrumExtentsType=FET_PROJ_PLANE_POS)
Manually set the extents of the frustum.
CompositorManager2(RenderSystem *renderSystem)
vector< RenderState * >::type RenderStateList
Definition: OgreShaderRenderState.h:129
@ ID_PER_LIGHT
Definition: OgreScriptCompiler.h:713
virtual void setWorldGeometry(const String &filename)
Sets the source of the 'world' geometry, i.e.
Definition: OgreNULLTextureGpu.h:69
Ogre::Vector3 mHalfSize
Definition: C/OgreAabb.h:81
ImageDownsampler2D downscale2x_Float32_XX
Definition: OgreImageDownsampler.h:147
virtual void save(const String &filename)
Save page data to a file.
void start()
Start anything special.
void addBoneAssignment(const VertexBoneAssignment &vertBoneAssign)
Assigns a vertex to a bone with a given weight, for skeletal animation.
uint16_t getPriority(void) const
Barrier(size_t threadCount)
_OgreExport friend std::ostream & operator<<(std::ostream &o, const Vector4 &v)
Function for writing to a stream.
uint32 hash
Definition: OgreHlmsCommon.h:195
bool hasSeparateStencilBuffer() const
CompositorPassUav(const CompositorPassUavDef *definition, CompositorNode *parentNode, const RenderTargetViewDef *rtv)
static String FACTORY_TYPE_NAME
Definition: OgreBillboardChain.h:364
bool calculateCurrentLod(const Camera *cam, Real cFactor)
Calculate appropriate LOD for this node and children.
virtual void _notifyParent(OverlayContainer *parent, Overlay *overlay)
Overridden from OverlayElement.
@ ID_LIGHT_VISIBILITY_MASK
Definition: OgreScriptCompiler.h:912
void setActiveComputeShader(GLSLShader *computShader)
T * pointer
Definition: OgreMain/include/OgreSmallVector.h:180
Instance of a Skeleton, main external interface for retrieving bone positions and applying animations...
Definition: OgreSkeletonInstance.h:72
virtual void addResponseHandler(uint16 channel, ResponseHandler *rh)=0
Add a response handler instance to the queue.
size_t capacity() const
Definition: OgreStackVector.h:113
uint32 getRequestedWidthPt(void) const
virtual Real getDefaultWidth(void) const
See setDefaultDimensions - this gets 1 component individually.
@ SPC_LIGHTPOSITION_WORLD_SPACE6
Definition: OgreShaderParameter.h:223
static ResourceGroupManager * getSingletonPtr(void)
Override standard Singleton retrieval.
Definition: OgreOSXCocoaWindow.h:47
@ ACT_SCENE_DEPTH_RANGE
Provides information about the depth range of the scene as viewed from the current camera.
Definition: OgreGpuProgramParams.h:1314
~GLES2FrameBufferObject()
MapIterator< StrategyMap > getIterator()
Get an iterator for all contained strategies.
void _setDepthBufferWriteEnabled(bool enabled=true)
Actors are defined by a plane and a rectangle that limits that plane.
Definition: OgrePlanarReflectionActor.h:61
ArrayReal distance(const ArrayVector3 &v) const
Returns the minimum distance between a given point and any part of the box.
RenderState()
Class default constructor.
@ BB_FLAG_INDIRECT
Definition: OgreBufferPacked.h:100
@ ID_MSAA_AUTO
Definition: OgreScriptCompiler.h:858
bool getUseRayBoxDistanceCalculation() const
Returns whether or not to use an accurate calculation of camera distance from a terrain tile (ray / A...
Definition: OgreTerrain.h:2025
void _unsetParentBone(void)
bool deleteInputData
Whether this structure should 'own' the input data (inputImage and inputFloat), and therefore delete ...
Definition: OgreTerrain.h:385
const DepthLevelInfoVec & getDepthLevelInfo(void) const
Definition: OgreSkeletonDef.h:148
vector< BufferDefinition >::type BufferDefinitionVec
Definition: OgreTextureDefinition.h:178
Real _getLodBiasInverse(void) const
Internal method for OGRE to use for LOD calculations.
@ ID_TEXTURE_SOURCE
Definition: OgreScriptCompiler.h:808
void removeShadowContentTypeLookup(size_t textureUnitIndex)
Call this function when a texture unit is removed (any type), or when a tex unit that used to be of t...
virtual Real getSquaredDepth(const MovableObject *movableObject, const Ogre::Camera *camera) const =0
Get the squared depth from camera to the LOD object.
vector< CompositorWorkspaceListener * >::type CompositorWorkspaceListenerVec
Definition: OgreCompositorCommon.h:62
@ PFG_RGBA16_SINT
Definition: OgrePixelFormatGpu.h:63
ColourBufferType
Defines the colour buffer types.
Definition: OgreCommon.h:329
const String & getAnimationName() const
Gets the name of the animation to which this state applies.
virtual void setInitialState(void)
Sets the current transform of this OldNode to be the 'initial state' ie that position / orientation /...
static ArrayInt AndNot(ArrayInt a, ArrayInt b)
Returns the result of "a & ~b".
Definition: OgreMathlibC.h:190
IdString getName(void) const
Definition: OgreHlmsDatablock.h:332
@ ID_INVERT
Definition: OgreScriptCompiler.h:970
DualQuaternion(const Quaternion &q, const Vector3 &trans)
Construct a dual quaternion from a unit quaternion and a translation vector.
Definition: OgreDualQuaternion.h:70
size_t offset
Definition: OgreCompositorPassComputeDef.h:91
static ParameterPtr createOutNormal(int index)
virtual BillboardOrigin getBillboardOrigin(void) const
Gets the point which acts as the origin point for all billboards in this set.
virtual SphereSceneQuery * createSphereQuery(const Sphere &sphere, uint32 mask=QUERY_ENTITY_DEFAULT_MASK)
Creates a SphereSceneQuery for this scene manager.
void setNumThreadGroups(uint32 numThreadGroupsX, uint32 numThreadGroupsY, uint32 numThreadGroupsZ)
Sets the number of groups of threads to dispatch.
@ ID_MODULATE
Definition: OgreScriptCompiler.h:756
std::pair< MovableObject *, MovableObject * > SceneQueryMovableObjectPair
Definition: OgreSceneQuery.h:483
virtual String validateConfigOptions(void)
Validates the options set for the rendering system, returning a message if there are problems.
Definition: OgreNULLRenderSystem.h:77
const HlmsCache * getMaterial(HlmsCache const *lastReturnedValue, const HlmsCache &passCache, const QueuedRenderable &queuedRenderable, bool casterPass)
Retrieves an HlmsCache filled with the GPU programs to be used by the given renderable.
~HighLevelGpuProgramManager()
virtual Animation * getAnimation(unsigned short index) const =0
Retrieve an animation by index.
void exportLodConfig(Ogre::LodConfig &config, const Ogre::String &filename, Endian endianMode=ENDIAN_NATIVE)
void * getControlPointBuffer(void) const
Definition: OgrePatchSurface.h:169
static ArrayVector3 Cmov4(const ArrayVector3 &arg1, const ArrayVector3 &arg2, ArrayMaskR mask)
Conditional move.
void setTextureRotate(const Radian &angle)
Sets the anticlockwise rotation factor applied to texture coordinates.
Definition: OgreOSXCocoaTouchView.h:36
bool getIndestructibleByClearScene(void) const
D3D11HLSLProgram * geometryShader
Definition: OgreD3D11HlmsPso.h:53
STLAllocatorBase< T > Base
define our types, as per ISO C++
Definition: OgreMemorySTLAllocator.h:85
virtual void _setComputePso(const HlmsComputePso *pso)
Unlike _setPipelineStateObject, the RenderSystem will check if the PSO has changed to avoid redundant...
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
@ ID_AMBIENT
Definition: OgreScriptCompiler.h:648
virtual uint getFSAA() const
Indicates whether multisampling is performed on rendering and at what level.
Definition: OgreRenderTarget.h:339
@ PixelShader
Definition: OgreCommon.h:345
ShadowCameraSetup()
Definition: OgreShadowCameraSetup.h:78
@ M_GEOMETRY_VERTEX_ELEMENT
Definition: OgreMeshFileFormat.h:215
void bindGpuProgramPassIterationParameters(GpuProgramType gptype)
Only binds Gpu program parameters used for passes that have more than one iteration rendering.
T value_type
Definition: OgreFastArray.h:95
EGLDisplay getGLDisplay()
bool _isUpdated(void) const
uint32 RealAsUint
Definition: OgrePrerequisites.h:88
virtual const StringVector & getScriptPatterns(void) const
Gets the file patterns which should be used to find scripts for this class.
Definition: OgreHlmsManager.h:380
HalfFloatGridSource(const String &serializedVolumeFile, const bool trilinearValue=true, const bool trilinearGradient=false, const bool sobelGradient=false)
Constructur.
IndexData * indexData
Definition: OgreStaticGeometry.h:148
virtual void removeListener(Listener *l, const Ogre::String &schemeName=BLANKSTRING)
Remove a listener handling material events.
void setDiffuse(const Vector3 &diffuseColour)
Sets the diffuse colour. The colour will be divided by PI for energy conservation.
@ ACT_TIME_0_1
Single float value, which represents scaled time value [0..1], which repeats itself based on given as...
Definition: OgreGpuProgramParams.h:1208
void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
void updateUniforms(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program object uniforms using data from GpuProgramParameters.
GpuProgramType getType() const
Get the type of this program.
bool checkFormat(PixelFormat format)
Check if a certain format is usable as FBO rendertarget format.
Definition: OgreGL3PlusFBORenderTexture.h:102
TextureGpu * createDepthBufferFor(TextureGpu *colourTexture, bool preferDepthTexture, PixelFormatGpu depthBufferFormat, uint16 poolId)
static const IdString DiffuseMapGrayscale
Definition: OgreHlmsPbs.h:461
SceneNode * _getDummyNode() const
Returns the pointer to the dummy node (useful when detaching)
Definition: OgreObjectMemoryManager.h:173
AllocatedObject()
Definition: OgreMemoryAllocatedObject.h:61
void setFiltering(TextureFilterOptions filterType)
Helper function to set filtering to the most common settings.
SmallVector()
Definition: OgreMain/include/OgreSmallVector.h:772
void setActiveComputeShader(GLSLShader *computeGpuProgram)
Set the active compute shader for the next rendering state.
~GL3PlusHardwareVertexBuffer()
ComPtr< ID3D11Query > createFence(void)
virtual ~Listener()
Definition: OgreMaterialSerializer.h:80
CacheSource(const Source *src)
Constructor.
@ ID_NON_TILERS_ONLY
Definition: OgreScriptCompiler.h:946
bool _hasEmissive(void) const
Returns true if getEmissive is non-zero or if there is an emissive texture set.
static const int DepthBits
Definition: OgreRenderQueue.h:299
virtual void detachDepthBuffer()
void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
size_t getNumSubRenderStateFactories() const
Returns the number of existing factories.
bool mColourWrite
When false will not really bind the RenderTarget for rendering and use a null colour buffer instead.
Definition: OgreCompositorPassDef.h:156
virtual ~HlmsLowLevelDatablock()
Definition: OgreCompositorPassClearDef.h:48
@ ACT_LIGHT_POSITION_VIEW_SPACE
A light position in view space (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:1055
virtual void waitForSpecificFrameToFinish(uint32 frameCount)
See VaoManager::waitForSpecificFrameToFinish.
Definition: OgreMemoryAllocatorConfig.h:231
virtual const VertexBufferBindingMap & getBindings(void) const
Gets a read-only version of the buffer bindings.
FFPFog()
Class default constructor.
RasterParams mRasterParams
Use rasterization to generate light & depth data, instead of voxelization.
Definition: OgreIrradianceField.h:81
map< String, String >::type ResourceToTexExtensionMap
Definition: OgreHlmsManager.h:128
Abstract class defining the interface used by classes which wish to perform script loading to define ...
Definition: OgreScriptLoader.h:60
@ ACDT_NONE
no data is required
Definition: OgreGpuProgramParams.h:1402
Factory class for BillboardParticleRenderer.
Definition: OgreBillboardParticleRenderer.h:250
Vector3 perpendicular(void) const
Generates a vector perpendicular to this vector (eg an 'up' vector).
Definition: OgreVector3.h:580
int flags
Definition: OgreX11EGLSupport.h:88
@ LightGatherNone
Definition: OgreHlms.h:90
const StringVector & getScriptPatterns(void) const
Gets the file patterns which should be used to find scripts for this class.
virtual void releaseIbl(const TextureGpu *tmpRtt)
Real getTimePosition(void) const
Gets the time position for this animation.
virtual RenderTexture * getRenderTarget(size_t slice=0)
Get a render target for this PixelBuffer, or a slice of it.
@ ID_INPUT
Definition: OgreScriptCompiler.h:938
virtual void _renderNoBaseInstance(const v1::CbDrawCallStrip *cmd)
Definition: OgreRenderSystem.h:1081
size_t offset
Definition: OgreGLES2VaoManager.h:52
FastArray< LightClosest > LightClosestArray
Definition: OgreCommon.h:698
void _registerThreadWithRenderSystem()
Register the current thread with the rendersystem.
void setConfigOption(const String &name, const String &value)
GL3PlusSupport::setConfigOption
void setMaterialName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Sets the material to use for the whole of this entity.
void injectBillboard(const Billboard &bb, const Camera *camera)
Define a billboard.
@ ID_GEOMETRY_PROGRAM_REF
Definition: OgreScriptCompiler.h:620
void setFragmentProgramConstantFloatCount(ushort c)
The number of floating-point constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:744
SlotType slotType
Definition: OgreDescriptorSetTexture.h:226
unsigned short _getNumBoneMatrices(void) const
Internal method for retrieving bone matrix information.
Definition: OgreEntity.h:479
uchar * getPtr(void)
Get a pointer to the start of the memory block this stream holds.
Definition: OgreDataStream.h:433
@ PFG_Y410
Definition: OgrePixelFormatGpu.h:164
CategorisedAllocPolicy< Ogre::MEMCATEGORY_RENDERSYS > RenderSysAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:272
BudgetEntry()
Definition: OgreTextureGpuManager.h:238
SharedPtr< T > static_pointer_cast(SharedPtr< U > const &r)
Definition: OgreSharedPtr.h:370
static const uint32 CHUNK_ID
Definition: OgrePage.h:98
HlmsTypes type
Definition: OgreHlmsCommon.h:196
virtual void cleanupEmptyPools(void)
Frees GPU memory if there are empty, unused pools.
void setCastShadows(bool enabled)
Sets whether or not this object will cast shadows.
void resize(uint32 width, uint32 height, Filter filter=FILTER_BILINEAR)
Resize a 2D image, applying the appropriate filter.
TextureType getTextureType(void) const
Gets the type of texture.
Definition: OgreTexture.h:137
const String & getFilenamePrefix() const
Definition: OgreTerrainGroup.h:158
void sortAtomInstances()
Sort all atom instances of this function.
ushort getGeometryProgramConstantFloatCount(void) const
The number of floating-point constants geometry programs support.
Definition: OgreRenderSystemCapabilities.h:671
Cache-friendly container of AFFINE 4x4 matrices represented as a SoA array.
Definition: C/OgreArrayMatrixAf4x3.h:70
@ CB_SET_V1_RENDER_OP
Definition: OgreCbCommon.h:65
const Vector3 getCenterRightBottom(void) const
Gets the center of the corners 1, 2.
Definition: OgreVolumeOctreeNode.h:409
@ RSC_HWSTENCIL
Supports hardware stencil buffer.
Definition: OgreRenderSystemCapabilities.h:92
vector< CachedGridBuffer >::type CachedGridBufferVec
Definition: OgreForwardPlusBase.h:69
virtual void setConfigOption(const String &name, const String &value)=0
Sets an option for this API.
virtual const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
PixelFormat getFormat() const
Returns the image format.
void setTextureVScroll(Real value)
As setTextureScroll, but sets only V value.
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:937
static ControllerManager & getSingleton(void)
Override standard Singleton retrieval.
vector< TagPoint * >::type TagPointVec
Definition: OgreBone.h:65
Win32Window(const String &title, uint32 width, uint32 height, bool fullscreenMode, PixelFormatGpu depthStencilFormat, const NameValuePairList *miscParams, Win32GLSupport &glsupport)
Definition: OgreGL3PlusSupport.h:41
v1::Rectangle2D * getSharedFullscreenQuad(void) const
Returns a shared fullscreen rectangle/triangle useful for PASS_QUAD passes.
Definition: OgreCompositorManager2.h:236
virtual void getSubsampleLocations(vector< Vector2 >::type locations)
Get the MSAA subsample locations.
virtual ~HardwareBufferManagerBase()
VectorImpl::reference reference
Definition: OgreCommon.h:459
ParticleEmitter * _createEmitter(const String &emitterType, ParticleSystem *psys)
Internal method for creating a new emitter from a factory.
@ ACT_SHADOW_COLOUR
Provides the fixed shadow colour as configured via SceneManager::setShadowColour; useful for integrat...
Definition: OgreGpuProgramParams.h:1333
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:262
static const IdString TexMatrixCount3
Definition: OgreHlmsUnlitMobile.h:99
CompareFunction mCompareFunction
Defaults to NUM_COMPARE_FUNCTIONS which means disabled.
Definition: OgreHlmsSamplerblock.h:82
GLES2DynamicBuffer(GLuint vboName, GLuint vboSize, GLES2VaoManager *vaoManager, BufferType persistentMethod)
@ PFG_BGRA8_UNORM
Avoid this one (prefer RGBA8).
Definition: OgrePixelFormatGpu.h:145
FrustumCorners mFrustumCorners
Type of frustum corners to pass in the quad normals.
Definition: OgreCompositorPassQuadDef.h:106
float mMultiplier
Sets the intensity/brightness of the GI.
Definition: OgreVctLighting.h:165
eExceptionsErrorLevel
Definition: OgreD3D11Device.h:94
bool isDerivedDataUpdateInProgress() const
Query whether a derived data update is in progress or not.
Definition: OgreTerrain.h:1631
TextureGpu * textureSrc
Definition: OgreAsyncTextureTicket.h:64
void makeInverseTransform(const Vector3 &position, const Vector3 &scale, const Quaternion &orientation)
Building an inverse Matrix4 from orientation / scale / position.
void setFromQuaternion(const Quaternion &v, size_t index)
Definition: C/OgreArrayQuaternion.h:102
const Vector3 & getAmbientLightHemisphereDir(void) const
Definition: OgreSceneManager.h:1651
virtual const PlaneList & getLightClippingPlanes(const Light *l)
Retrieve a set of clipping planes for a given light.
bool isInitialised(void) const
Returns whether the system is initialised or not.
Definition: OgreRoot.h:352
String doGet(const void *target) const
virtual_l2 void setLightMask(uint32 mask)
Sets a mask which is bitwise 'and'ed with lights' own light masks to determine if the light should be...
Definition: OgreSceneManager.h:2553
size_t getIndexOffset(void) const
Returns the index offset used by this buffer to write data into the buffer.
Definition: OgrePatchSurface.h:128
map< String, ParticleSystem * >::type ParticleTemplateMap
Definition: OgreParticleSystemManager.h:82
static const uint32 TERRAINLODDATA_CHUNK_ID
Definition: OgreTerrainLodManager.h:55
bool hasVertexAnimation(void) const
Returns whether or not this entity is either morph or pose animated.
virtual ~Profile()
Definition: OgreTerrainMaterialGenerator.h:178
static uint32 getCompressedBlockWidth(PixelFormat format, bool apiStrict=true)
Returns the minimum width for block compressed schemes.
virtual AsyncTicketPtr createAsyncTicket(BufferPacked *creator, StagingBuffer *stagingBuffer, size_t elementStart, size_t elementCount)
virtual void _autogenerateMipmaps(void)
Tells the API to let the HW autogenerate mipmaps.
Definition: OgreD3D11NullTexture.h:64
Definition: OgreScriptTranslator.h:157
ResourceMapIterator getResourceIterator(void)
Returns an iterator over all resources in this manager.
Definition: OgreResourceManager.h:596
size_t _getFloatConstantPhysicalIndex(size_t logicalIndex, size_t requestedSize, uint16 variability)
Gets the physical buffer index associated with a logical float constant index.
virtual void _setIndirectBuffer(IndirectBufferPacked *indirectBuffer)
void _updateFromShadow(void)
See HardwareBuffer.
Entity * getParentEntity(void) const
bool isSkyEnabled(void) const
Definition: OgreSceneManager.h:1156
Definition: OgreSceneManager.h:166
virtual const String & getFriendlyName(void) const
Returns the friendly name of the render system.
T w
Definition: OgreShaderPrimitives.h:43
static const IdString UvEmissive
Definition: OgreHlmsPbs.h:523
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, size_t binding, const String &name="")
Create a counter buffer.
@ PFG_ASTC_RGBA_UNORM_5X4_LDR
Definition: OgrePixelFormatGpu.h:237
virtual ~PageStrategyData()
Definition: OgrePageStrategy.h:53
virtual ~GL3PlusSupport()
Definition: OgreGL3PlusSupport.h:44
A macro block contains settings that will rarely change, and thus are common to many materials.
Definition: OgreHlmsDatablock.h:78
D3D11UavBufferPacked(size_t internalBufStartBytes, size_t numElements, uint32 bytesPerElement, uint32 bindFlags, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface, D3D11Device &device)
@ ID_EMITTER
Definition: OgreScriptCompiler.h:814
size_t vertexSet
The vertex set index that contains the vertices for this edge group.
Definition: OgreEdgeListBuilder.h:106
void _setGeometryTexture(size_t unit, TextureGpu *tex)
See RenderSystem.
virtual void _removeAutotrackingSceneNode(SceneNode *source)
OverlayElement * getOverlayElement(const String &name, bool isTemplate=false)
Gets a reference to an existing element.
static const IdString DiffuseMapCount2
Definition: OgreHlmsUnlitMobile.h:110
ABGR getAsABGR(void) const
Retrieves colours as ABGR.
vector< RenderSystem * >::type RenderSystemList
Definition: OgreRoot.h:53
void setDiffuse(Real red, Real green, Real blue, Real alpha)
Sets the diffuse colour reflectance properties of this pass.
UINT Flags
Definition: OgreD3D11LegacySDKEmulation.h:64
Definition: OgreCbDrawCall.h:62
@ ID_MIPMAP
Definition: OgreScriptCompiler.h:983
~ScopedLock()
Definition: OgreLightweightMutex.h:110
static bool isCodecRegistered(const String &codecType)
Return whether a codec is registered already.
Definition: OgreCodec.h:96
vector< ManualObjectSection * >::type SectionList
Definition: OgreManualObject.h:459
StringVector paths
For cubemaps, the order is +X, -X, +Y, -Y, +Z, -Z.
Definition: OgreHlmsTexturePack.h:53
int width
Definition: OgreX11EGLSupport.h:86
virtual bool _unprepareProceduralPage(Page *page)
Give a section the opportunity to unprepare page content procedurally.
const Any & _getRenderSystemData() const
Internal method that the RenderSystem might use to store optional data.
Definition: OgreGpuProgramParams.h:2452
static bool queryIsDone(ID3D11Query *fenceName, ID3D11DeviceContextN *deviceContext)
ComPtr(U *other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:129
@ EXTENT_NULL
Definition: OgreAxisAlignedBox.h:58
Radian mRotation
Definition: OgreBillboard.h:87
virtual void detachAllObjects(void)
Detaches all objects attached to this node.
@ PFG_P010
Definition: OgrePixelFormatGpu.h:167
Interface definition for a handler of responses.
Definition: OgreWorkQueue.h:203
NULLUavBufferPacked(size_t internalBufStartBytes, size_t numElements, uint32 bytesPerElement, uint32 bindFlags, void *initialData, bool keepAsShadow, VaoManager *vaoManager, NULLBufferInterface *bufferInterface)
virtual bool _shouldRebindBackBuffer()
Definition: OgreD3D11RenderWindow.h:117
virtual String getName() const =0
Returns the name of the factory, the name which identifies the particle emitter type this factory cre...
size_t getNumBones(void) const
Gets the number of bones.
@ PFG_PVRTC_RGB2_SRGB
Definition: OgrePixelFormatGpu.h:196
TexBufferPacked * buffer
Texture buffer to bind.
Definition: OgreDescriptorSetTexture.h:142
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
virtual void reinitialise(void)=0
Restart the renderer (normally following a change in settings).
Command object for point rendering (see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:99
VctVoxelizer(IdType id, RenderSystem *renderSystem, HlmsManager *hlmsManager, bool correctAreaLightShadows)
uint32 baseVertex
Definition: OgreCbDrawCall.h:56
vector< ProfiledEdge >::type LodProfile
Definition: OgreLodConfig.h:45
void _removeReference(void)
const Vector3 getCorner5(void) const
Gets the coordinate of corner 5.
Definition: OgreVolumeOctreeNode.h:490
Implementation of DirectX9 as a rendering system.
Definition: OgreD3D9RenderSystem.h:53
@ VET_UINT3
Definition: OgreVertexElements.h:101
uint32 numSplits
Definition: OgreCompositorShadowNodeDef.h:73
@ TU_DYNAMIC_WRITE_ONLY
same as HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY
Definition: OgreTexture.h:59
GLuint getGLProgramHandle()
bool fullyContains(const TextureBox &other) const
Returns true if 'other' fits inside 'this' (fully, not partially)
Definition: OgreTextureBox.h:110
multimap< size_t, VertexBoneAssignment >::type VertexBoneAssignmentList
Multimap of verex bone assignments (orders by vertex index)
Definition: OgreSubMesh.h:183
virtual 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.
static LodWorkQueueInjector * getSingletonPtr()
StdVector< Window * > WindowList
Render window container.
Definition: OgreCommon.h:1037
map< String, OverlayElementFactory * >::type FactoryMap
Definition: OgreOverlayManager.h:57
const ShadowTextureDefinition * getShadowTextureDefinition(size_t texIndex) const
Retrieves a shadow texture definition by its index.
Definition: OgreCompositorShadowNodeDef.h:197
int XVisualIDFromVisual(Visual *v)
Shadow Nodes are special nodes (not to be confused with.
Definition: OgreCompositorShadowNodeDef.h:124
@ CB_INVALID
Definition: OgreCbCommon.h:37
BoneMemoryManager boneMemoryManager
Definition: OgreSkeletonAnimManager.h:53
void addBaseParams()
Call from derived classes to ensure the dictionary is setup.
Vector3 updateFrom
If an existing chunktree is to be partially updated, set this to the back lower left point of the (su...
Definition: OgreVolumeChunk.h:86
virtual void unloadAll(Resource::LoadingFlags flags)
Unloads all resources.
TextureGpu * getDiffuseTexture(void) const
const String & getMovableType(void) const
Returns the type name of this object.
void setTessellationHullProgramConstantIntCount(ushort c)
The number of integer constants tessellation Domain programs support.
Definition: OgreRenderSystemCapabilities.h:885
Class encapsulates rendering properties of an object.
Definition: OgreMaterial.h:86
void profile(const HardwareIndexBufferSharedPtr &indexBuffer)
Real getMaxHeight() const
Get the maximum height of the node.
PixelFormatGpu depthBufferFormat
Definition: OgreTextureDefinition.h:129
virtual Rectangle2D * createRectangle2D(SceneMemoryMgrTypes sceneType=SCENE_STATIC)
Creates a 2D rectangle that can be displayed for screen space effects or showing a basic GUI.
uint numCallsThisFrame
The number of times this profile has been called each frame.
Definition: OgreProfiler.h:285
void setSkeletalAnimationIncluded(bool included)
Sets whether the linked program includes the required instructions to perform skeletal animation.
Definition: OgreGLSLProgram.h:121
virtual void setCurrent()=0
Enable the context.
void toRotationTranslation(Quaternion &q, Vector3 &translation) const
Convert a dual quaternion into its two components, a Quaternion representing the rotation and a Vecto...
Camera const * camera
Camera whose frustum we're to cull against. Must be const (read only for all threads).
Definition: OgreSceneManager.h:111
void destroyTexture(IdString aliasName)
Destroys a texture.
~D3D11GpuProgramManager()
virtual ~TangentSpaceCalc()
void _addWireAabb(WireAabb *wireAabb)
Matrix4 _getDerivedTransform(void) const
Gets the derived transform in world space.
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 operator==(IdString name) const
Definition: OgreSkeletonAnimManager.h:74
virtual Real getOrthoWindowWidth() const
Gets the orthographic window width, for use with orthographic rendering only.
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:358
void clear(void)
Clears all the points in the spline.
void _setTop(Real top)
Sets the top of this element in relation to the screen (where 1.0 = screen width)
@ TU_NOT_TEXTURE
Definition: OgreTexture.h:82
const VertexElementList & getElements(void) const
Gets read-only access to the list of vertex elements.
GpuProgramType mSourceProgType
Which type of program params will this value come from?
Definition: OgreGLSLProgram.h:66
const String & getLanguage(void) const
Get the name of the language this factory creates shaders for.
static D3DFORMAT get(HardwareIndexBuffer::IndexType itype)
Get index type.
virtual bool isReflected(void) const
Returns whether this frustum is being reflected.
Definition: OgreFrustum.h:603
void blitFromMemory(const PixelBox &src)
Convenience function that blits a pixelbox from memory to the entire buffer.
Definition: OgreHardwarePixelBuffer.h:155
@ PT_COLOURVALUE
Definition: OgreStringInterface.h:66
Definition: OgreException.h:211
Direct3D implementation of low-level vertex programs.
Definition: OgreD3D9GpuProgram.h:113
@ VIEW_SPACE_CORNERS_NORMALIZED_LH
Definition: OgreCompositorPassQuadDef.h:76
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.
GL3PlusVertexArrayObject(GLuint vaoName, uint32 renderQueueId, const VertexBufferPackedVec &vertexBuffers, IndexBufferPacked *indexBuffer, OperationType opType)
Definition: Vao/OgreGL3PlusVertexArrayObject.h:42
TextureGpu * createTextureGpuWindow(bool fromFlipModeSwapchain, Window *window)
Creates a special D3D11TextureGpuWindow pointer, to be used by Ogre::Window.
OGRE_AUTO_MUTEX
Mutex, public for external locking if needed.
Definition: OgreAnimationState.h:205
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
reference at(size_type n)
Definition: OgreCommon.h:506
The voxelizer consists in several stages.
Definition: OgreVctVoxelizer.h:116
size_t triangleCount
Definition: OgreRenderTarget.h:79
void destroyIrradianceVolumeTexture()
bool isClosed
Flag indicate the mesh is manifold.
Definition: OgreEdgeListBuilder.h:134
virtual void _executeStreaming(Image2 &image, TextureGpu *texture)
Gets executed from worker thread, right after the Image was loaded from file and we're done setting t...
virtual void _notifyParent(OverlayContainer *parent, Overlay *overlay)
Internal method for notifying the GUI element of it's parent and ultimate overlay.
@ ACT_LOD_CAMERA_POSITION
Provides the position of the LOD camera in world space, allowing you to perform separate LOD calculat...
Definition: OgreGpuProgramParams.h:1369
virtual void bindBufferVS(uint16 slot)=0
Binds the constant buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
ConstParameter(valueType val, GpuConstantType type, const Semantic &semantic, const Content &content)
Definition: OgreShaderParameter.h:577
const String & getName(void) const
See RenderSystem.
bool hasSkeleton(void) const
Returns whether or not this entity is skeletally animated.
Definition: OgreEntity.h:481
bool doSplit(OctreeNode *node, const Real geometricError) const
Decider for the splitting.
D3D9Device * getDeviceFromD3D9Device(IDirect3DDevice9 *d3d9Device)
void setWorldTransform(const Matrix4 &xform)
virtual void destroyAllMovableObjectsByType(const String &typeName)
Destroy all MovableObjects of a given type.
Image & loadRawData(DataStreamPtr &stream, uint32 width, uint32 height, PixelFormat format)
Loads raw data from a stream.
Definition: OgreImage.h:252
Command object for attaching another GLSL Program.
Definition: OgreGLSLShader.h:66
Real mLodBias
Multiplier to the Lod value.
Definition: OgreCompositorPassSceneDef.h:137
static void shutdown(void)
Static method to shutdown and unregister the DDS codec.
virtual bool afterIlluminationPassesCreated(Technique *technique)
Called right after illuminated passes were created, so that owner of runtime generated technique can ...
Definition: OgreMaterialManager.h:111
Abstract operation volume source holding two sources as operants.
Definition: OgreVolumeCSGSource.h:169
int numVertices
The range of vertices in the buffer this facegroup references.
Definition: OgreStaticFaceGroup.h:85
virtual void getFormatsForPso(PixelFormat outFormats[OGRE_MAX_MULTIPLE_RENDER_TARGETS], bool outHwGamma[OGRE_MAX_MULTIPLE_RENDER_TARGETS]) const
Definition: OgreParallaxCorrectedCubemapBase.h:48
uint8 getDebugDisplayLevel() const
Get the debug display level.
Definition: OgrePageManager.h:422
size_t indexSet
Index data set (can be >0 if more than one index data was added)
Definition: OgreTangentSpaceCalc.h:62
Pass(Technique *parent, unsigned short index)
Default constructor.
virtual void notifyCamera(Camera *cam)=0
Notify a section of the current camera.
VertexData * getVertexDataByTrackHandle(unsigned short handle)
Gets a pointer to a vertex data element based on a morph animation track handle.
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:94
@ ID_COLOUR_OP
Definition: OgreScriptCompiler.h:753
void setColourAt(const ColourValue &cv, size_t x, size_t y, size_t z, uint8 mipLevel=0)
Set colour value at a certain location in the image.
GpuConstantType
Enumeration of the types of constant we may encounter in programs.
Definition: OgreGpuProgramParams.h:72
static size_t getNumElemBytes(PixelFormat format)
Returns the size in bytes of an element of the given pixel format.
DepthBuffer * _createDepthBufferFor(RenderTarget *renderTarget)
static const uint16 WORKQUEUE_LOAD_REQUEST
Definition: OgreTerrainGroup.h:501
@ OR_PORTRAIT
Definition: OgreFrustum.h:55
void getMinMaxDepthRange(size_t shadowMapIdx, Real &outMin, Real &outMax) const
Vector3()
Default constructor.
Definition: OgreVector3.h:61
Ogre::Vector2 rightNoseCenter
Definition: OgreHiddenAreaMeshVr.h:59
virtual const Plane & getReflectionPlane(void) const
Returns the reflection plane of the frustum if appropriate.
Definition: OgreFrustum.h:607
void setRemoveRenderQueueStructuresOnClear(bool r)
Set whether the entire render queue structure should be emptied on clearing, or whether just the obje...
Definition: OgreRoot.h:369
bool hasMipmaps
Definition: OgreHlmsTexturePack.h:62
@ ACT_TEXTURE_WORLDVIEWPROJ_MATRIX
The view/projection matrix of the assigned texture projection frustum, combined with the current worl...
Definition: OgreGpuProgramParams.h:1161
const LightsBitSet & getAffectedLightsBitSet(void) const
Definition: OgreCompositorShadowNode.h:278
bool ToEulerAnglesYZX(Radian &rfYAngle, Radian &rfPAngle, Radian &rfRAngle) const
void setMinimumZ(Real z)
Definition: OgreAxisAlignedBox.h:207
@ ResidentToSysRamSync
Only called while TextureGpu is still Resident, and strategy is AlwaysKeepSystemRamCopy.
Definition: OgreTextureGpuListener.h:69
virtual void _notifyViewport()
Internal method to notify the element when the viewport of parent overlay has changed.
@ LB_FFPBlend
Definition: OgreShaderExLayeredBlending.h:50
uint8 numColourEntries
Definition: OgreRenderPassDescriptor.h:246
uint8 mBlockType
Definition: OgreHlmsDatablock.h:63
HashedVector(size_type n, const T &t)
Definition: OgreCommon.h:515
Real absDotProduct(const Vector3 &vec) const
Calculates the absolute dot (scalar) product of this vector with another.
Definition: OgreVector3.h:438
@ SPC_LIGHTPOSITION_OBJECT_SPACE0
Light position in object space index 0-7.
Definition: OgreShaderParameter.h:207
void destroyContent(PageContent *c)
Destroy an instance of PageContent.
virtual void bindBufferHS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Definition: OgreNULLTexBufferPacked.h:53
virtual void getSubsampleLocations(vector< Vector2 >::type locations)
Get the MSAA subsample locations.
static void initialise(void)
Initialise the creation of these vertex programs.
virtual void beginGPUSampleProfile(const String &name, uint32 *hashCache)
void setAll(const Sphere &sphere)
Sets all packed spheres to the same value as the scalar input sphere.
Definition: C/OgreArraySphere.h:102
virtual void fillConstBufferData(const Matrix4 &viewMatrix, float *RESTRICT_ALIAS passBufferPtr) const
Specialised Any class which has built in arithmetic operators, but can hold only types which support ...
Definition: OgreAny.h:221
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.
@ PF_SHORT_GR
32-bit pixel format, 16-bit green, 16-bit red
Definition: OgrePixelFormat.h:142
void setIndestructibleByClearScene(bool indestructible)
Calling SceneManager::clearScene won't destroy this node nor detach its objects (but may still destro...
void loadFromAoS(const Matrix4 *RESTRICT_ALIAS *src)
String mClass
Definition: OgreScriptCompiler.h:533
bool getBillboardsInWorldSpace()
Gets whether billboards are treated as being in world space.
Definition: OgreBillboardSet.h:719
#define TAS_MAX_TEXTURES
Definition: OgreShaderExTextureAtlasSampler.h:35
virtual void setStencilBufferParams(uint32 refValue, const StencilParams &stencilParams)
This method allows you to set all the stencil buffer parameters in one call.
@ ID_BACK
Definition: OgreScriptCompiler.h:962
@ All
Definition: OgreResourceTransition.h:103
uint8 * getNullDataPtr(void)
Definition: OgreNULLBufferInterface.h:57
const Vector3 & getOverlap(void) const
Definition: OgrePccPerPixelGridPlacement.h:165
void setColour(const ColourValue &diffuse)
Sets a new colour value. Asserts if mHasColour is false.
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
virtual ~NULLTextureGpuManager()
HlmsPso & operator=(const HlmsPso &_r)
Definition: OgreHlmsPso.h:221
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: OgreMain/include/OgreSmallVector.h:252
static const int InputLayoutShift
Definition: OgreHlms.h:959
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:272
AllocatedObject< ResourceSimdAllocPolicy > ResourceSimdAllocObject
Definition: OgreMemoryAllocatorConfig.h:287
Implementation of CompositorPass This implementation will set UAVs.
Definition: OgreCompositorPassUav.h:61
Vector4(const Real fX, const Real fY, const Real fZ, const Real fW)
Definition: OgreVector4.h:59
@ FFP_COLOUR
Definition: OgreShaderFFPRenderState.h:72
void addConfig()
Add any special config values to the system.
void setAnisotropic(bool bAnisotropic)
Toggles anisotropic mips.
virtual void resourceRemove(const ResourcePtr &resource)
This event is fired when a resource is about to be removed.
Definition: OgreResourceGroupManager.h:189
TerrainMaterialGenerator * getParent() const
Get the generator which owns this profile.
Definition: OgreTerrainMaterialGenerator.h:180
void getNormalMapFiltering(FilterOptions &minFilter, FilterOptions &magFilter, FilterOptions &mipFilter) const
Return the normal map filtering attributes.
Definition: OgreShaderExNormalMapLighting.h:157
static const IdString UvDetailNm3
Definition: OgreHlmsPbsMobile.h:151
RenderTexture for GL ES 2 FBO.
Definition: OgreGLES2FBORenderTexture.h:42
size_t getNumManualLodLevels(void) const
Returns the number of manual levels of detail that this entity supports.
virtual ~CompositorNode()
float * ptr()
Pointer accessor for direct copying.
Definition: OgreColourValue.h:160
@ PFG_R32_SINT
Definition: OgrePixelFormatGpu.h:90
void _notifyAttached(Node *parent)
Internal method called to notify the object that it has been attached to a node.
String doGet(const void *target) const
@ OR_LANDSCAPERIGHT
Definition: OgreFrustum.h:56
void * data
The data pointer.
Definition: OgrePixelBox.h:78
void createNewNode(Transform &outTransform)
Requests memory for a new SceneNode (for the Array vectors & matrices) May be also be used for a new ...
virtual void setMaterial(const MaterialPtr &material)
Sets the given material. Overrides HLMS materials.
Atom mAtomState
Definition: OgreGLXGLSupport.h:46
@ ID_LIGHT_MASK
Definition: OgreScriptCompiler.h:718
bool contains(const AxisAlignedBox &other) const
Tests whether another box contained by this box.
Definition: OgreAxisAlignedBox.h:779
virtual void applyDeltaValue(const Radian &)
Apply delta value.
Definition: OgreAnimable.h:225
virtual void _setPointParameters(Real size, bool attenuationEnabled, Real constant, Real linear, Real quadratic, Real minSize, Real maxSize)
Sets the size of points and how they are attenuated with distance.
SceneBlendOperation mBlendOperation
Definition: OgreHlmsDatablock.h:182
AnyNumeric & operator=(const AnyNumeric &rhs)
Definition: OgreAny.h:316
EGLSurface getDrawable() const
TRect(TRect const &o)
Definition: OgreCommon.h:720
StreamSerialiser(const DataStreamPtr &stream, Endian endianMode=ENDIAN_AUTO, bool autoHeader=true, RealStorageFormat realFormat=REAL_FLOAT)
Constructor.
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Notifies the ultimate texture owner the buffer changed.
size_t numChildren(void) const
Reports the number of child nodes under this one.
Definition: OgreNode.h:550
LodStrategyManager()
Default constructor.
void setMetricsMode(GuiMetricsMode gmm)
Overridden from OverlayElement.
@ ID_ALL_LAYERS
Definition: OgreScriptCompiler.h:839
const String & getEmittedEmitter(void) const
Returns the name of the emitter to be emitted.
size_t paddedBytes
Definition: OgreD3D11VaoManager.h:57
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:224
virtual void swapBuffers(void)
void setValue(const String &name, T value)
Set a named property value.
Definition: OgreProperty.h:332
void importLodConfig(Ogre::LodConfig *config, DataStreamPtr &stream)
IdString name
Definition: OgreCompositorPass.h:56
int depth
Definition: OgreX11EGLSupport.h:85
static String Type
Definition: OgreShaderExLayeredBlending.h:152
STLAllocator(STLAllocator const &)
copy ctor - done component wise
Definition: OgreMemorySTLAllocator.h:111
const CompositorNodeDef * getDefinition() const
Definition: OgreCompositorNode.h:162
Aabb getAsAabb(size_t index) const
Prefer using.
Definition: C/OgreArrayAabb.h:98
Definition of how to populate a 'slot' in the terrain group.
Definition: OgreTerrainGroup.h:305
@ ID_ITERATION_DEPTH_BIAS
Definition: OgreScriptCompiler.h:675
Definition: OgreD3D11VertexArrayObject.h:39
virtual void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
virtual ~DataStream()
Definition: OgreDataStream.h:209
ArrayReal mChunkBase[3]
Definition: C/OgreArrayVector3.h:67
Quaternion convertLocalToWorldOrientationUpdated(const Quaternion &localOrientation)
Definition: OgreNode.h:747
bool getCastsShadows(void) const
Method which reports whether this renderable would normally cast a shadow.
BufferSource(uint32 _uavSlot, IdString _bufferName, ResourceAccess::ResourceAccess _access, size_t _offset=0, size_t _sizeBytes=0)
Definition: OgreCompositorPassUavDef.h:84
void setReceiveShadows(bool receiveShadows)
When false, objects with this material will not receive shadows (independent of whether they case sha...
RECT * pScrollRect
Definition: OgreD3D11LegacySDKEmulation.h:75
@ GPU_MS_WARP
Definition: OgreRenderSystemCapabilities.h:319
@ OT_PATCH_20_CONTROL_POINT
Definition: OgreHlmsPso.h:79
void updateUniformBlocks(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program object uniform blocks using shared parameter data from GpuProgramParameters.
GLuint getWarningTextureID()
Definition: OgreGL3PlusTextureManager.h:50
virtual void setValue(const ColourValue &)
Set value.
Definition: OgreAnimable.h:175
size_t bytesPerImage
Definition: OgreTextureBox.h:50
virtual bool getForceDisableColourWrites(void) const
Used by depth texture views which need to disable colour writes when rendering to it PF_NULL targets ...
Definition: OgreGLES2NullTexture.h:103
@ CB_DRAW_CALL_INDEXED
Definition: OgreCbCommon.h:42
virtual OGRE_DEPRECATED const Any & getUserAny(void) const
Definition: OgreRenderable.h:361
Real getScissorTop(void) const
Definition: OgreViewport.h:143
@ CAPS_CATEGORY_COMMON
Definition: OgreRenderSystemCapabilities.h:66
virtual void calculateHash()
Calculates the hashes needed for sorting by the RenderQueue (i.e. mTextureHash)
Definition: OgreHlmsDatablock.h:330
HashedVector(const HashedVector< T > &rhs)
Definition: OgreCommon.h:516
const SkeletonDefPtr & getSkeleton(void) const
Definition: OgreMesh.h:455
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
static void setDefaultOrientationMode(OrientationMode orientationMode)
Set the initial orientation mode of viewports.
virtual bool shouldStayLoaded(TextureGpu *texture)
Return true if this TextureGpu should likely stay loaded or else graphical changes could occur.
Definition: OgreTextureGpuListener.h:115
CG target language writer implementation.
Definition: OgreShaderCGProgramWriter.h:54
virtual void entriesModified(uint32 entryTypes)
Call this when you're done modified mColour.
const String & getName(void) const
Gets the name of this overlay.
TexCoordCalcMethod
Enum describing the ways to generate texture coordinates.
Definition: OgreRenderSystem.h:63
static void unpackColour(uint8 *r, uint8 *g, uint8 *b, uint8 *a, PixelFormat pf, const void *src)
Unpack a colour value from memory.
Vector3 mC3
Definition: OgreVolumeDualGridGenerator.h:48
Rule controlling whether technique is deemed supported based on GPU device name.
Definition: OgreTechnique.h:105
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:53
LoggingLevel getLogDetail() const
Gets the level of the log detail.
Definition: OgreLog.h:171
void setSamplerblock(PbsMobileTextureTypes texType, const HlmsSamplerblock ¶ms)
Sets a new sampler block to be associated with the texture (i.e.
void unlock(void)
Override HardwareBuffer to turn off all shadowing.
virtual void setMinRepeatDelay(Real min)
Sets the minimum duration of this emitter in seconds (see setRepeatDelay for more details)
@ ID_STORE
Definition: OgreScriptCompiler.h:889
virtual void needUpdate(bool forceParentUpdate=false)
To be called in the event of transform changes to this OldNode that require it's recalculation.
virtual void addResponseHandler(uint16 channel, ResponseHandler *rh)
Add a response handler instance to the queue.
MemoryDataStreamPtr Microcode
Definition: OgreGpuProgramManager.h:71
@ BBO_TOP_LEFT
Definition: OgreBillboardSet.h:58
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
virtual bool getForceDisableColourWrites(void) const
Used by depth texture views which need to disable colour writes when rendering to it PF_NULL targets ...
Definition: OgreMetalDepthTexture.h:106
Definition: OgreHlms.h:191
static DynLibManager & getSingleton(void)
Override standard Singleton retrieval.
void removeWorkspaceDefinition(IdString name)
Removes the workspace definition with the given name. Throws if not found.
void getAsMatrix4(Matrix4 &out, size_t index) const
Definition: C/OgreArrayMatrix4.h:90
#define OGRE_LOCK_RW_MUTEX_READ(name)
Definition: OgreThreadDefinesBoost.h:63
uint32 getTexturePoolId(void) const
Definition: OgreTextureGpu.h:529
@ MESH_VERSION_1_0
OGRE version v1.0+.
Definition: OgreMeshSerializer.h:59
static Real LogN(Real base, Real fValue)
Definition: OgreMath.h:342
@ NumCommonTextureTypes
Definition: OgreTextureGpuManager.h:105
virtual ~MaterialSerializer()
default destructor
Definition: OgreMaterialSerializer.h:245
Triangle()
Definition: OgreEdgeListBuilder.h:72
virtual void endProfileEvent(void)
Ends the currently active GPU profiling event.
IrradianceFieldSettings()
virtual void clearAllChains(void)
Remove all elements from all chains (but leave the chains themselves intact).
virtual void setPageRange(int32 minX, int32 minY, int32 maxX, int32 maxY)
Set the index range of all Pages (values outside this will be ignored)
virtual DecodeResult decode(DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
size_t data
Definition: OgreGpuProgramParams.h:2493
virtual void *RESTRICT_ALIAS_RETURN map(size_t elementStart, size_t elementCount, MappingState prevMappingState, bool advanceFrame=true)
virtual RenderTexture * getRenderTarget(size_t slice=0)
Get a render target for this PixelBuffer, or a slice of it.
const String & getRTShaderScheme(size_t index) const
Returns the scheme name used in the for RT shader generation by index.
void getCustomAttribute(const String &name, void *pData)
Overridden - see RenderTarget.
Definition: OgreSDLWindow.h:79
@ BBT_ORIENTED_COMMON
Billboards are oriented around a shared direction vector (used as Y axis) and only rotate around this...
Definition: OgreBillboardSet.h:82
virtual void calculateHash()
virtual void _renderNoBaseInstance(const v1::CbDrawCallIndexed *cmd)
~DefaultHardwareCounterBuffer()
static D3D11StereoDriverBridge & getSingleton(void)
virtual void updateVertexCollapseCost(LodData *data, LodData::Vertex *vertex)
Called when edge cost gets invalid.
virtual void frameEnded(void)
Called when the frame has fully ended (ALL passes have been executed to all RTTs)
static bool vertexElementLessForV2(const VertexElement &e1, const VertexElement &e2)
@ GPT_GEOMETRY_PROGRAM
Definition: OgreGpuProgram.h:52
virtual void extractAllMovableObjectsByType(const String &typeName)
Extract all injected MovableObjects of a given type.
virtual void touchVertexBufferCopy(const HardwareVertexBufferSharedPtr &bufferCopy)
Tell engine that the vertex buffer copy intent to reuse.
static FORCEINLINE bool isPO2(T n)
Determines whether the number is power-of-two or not.
Definition: OgreBitwise.h:172
void resetNodeToInitialState(void)
Resets the the target node to the initial state.
void fillBufferAtLod(uint lodLevel, const float *data, uint dataSize)
Copy geometry data from buffer to mHeightData/mDeltaData.
void incPassIterationNumber(void)
increments the multipass number entry by 1 if it exists
void setScale(const Vector3 &pos)
Sets the scale of the node relative to its parent.
@ ET_ENVIRONMENT_MAP
Generate all texture coords based on angle between camera and vertex.
Definition: OgreTextureUnitState.h:77
@ ID_REVERSE_SUBTRACT
Definition: OgreScriptCompiler.h:667
static const uint8 DERIVED_DATA_ALL
Definition: OgreTerrain.h:1195
const Vector2 & getRectSize(void) const
Definition: OgreLight.h:355
size_t getNumInputBufferChannels(void) const
@ LB_BlendPhoenix
Definition: OgreShaderExLayeredBlending.h:75
virtual bool queryResult(MovableObject *first, MovableObject *second)=0
Called when 2 movable objects intersect one another.
const float * getRadius(void) const
Definition: OgreRadialDensityMask.h:116
static void unregisterCodec(Codec *pCodec)
Unregisters a codec from the database.
Definition: OgreCodec.h:103
Vector3 vPos
Definition: OgreSkeletonDef.h:52
uint32 getHeight() const
Get the height of this box.
Definition: OgreCommon.h:875
int background_pixel
Definition: OgreX11EGLSupport.h:90
@ SPC_POSTOLIGHT_TANGENT_SPACE1
Definition: OgreShaderParameter.h:158
Definition: OgreSDLGLSupport.h:11
bool prepare(StreamSerialiser &stream)
Prepare data - may be called in the background.
virtual void setStrategy(PageStrategy *strat)
Change the page strategy.
@ ID_FORCE_MIPMAP_FALLBACK
Definition: OgreScriptCompiler.h:999
DXGI_FORMAT mIndexFormat
Definition: OgreD3D11VertexArrayObject.h:44
ImageDownsampler2D downscale2x_Signed_XXX888
Definition: OgreImageDownsampler.h:112
void setNumLocalBufferDefinitions(size_t numTDs)
Reserves enough memory for all texture definitions.
Definition: OgreTextureDefinition.h:445
static void DestroyTls(TlsHandle tlsHandle)
Destroys a Thread Local Storage handle created with CreateTls.
String doGet(const void *target) const
OverlayContainer(const String &name)
Constructor: do not call direct, use OverlayManager::createOverlayElement.
virtual void setDepthBufferPool(uint16 poolId)
Sets the pool ID this RenderTarget should query from.
PoseIterator getPoseIterator(void)
Get an iterator over all the poses defined.
iterator erase(iterator I)
Definition: OgreMain/include/OgreSmallVector.h:444
virtual_l2 void attachObject(MovableObject *obj)
Adds an instance of a scene object to this node.
uint32 FastHash(const char *data, int len, uint32 hashSoFar=0)
Fast general hashing algorithm.
Definition: OgreCommon.h:53
void setPosition(const Vector3 &pos)
Sets the position of the node relative to its parent.
Mesh(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Default constructor - used by MeshManager.
virtual void setActiveScheme(const String &schemeName)
Sets the name of the active material scheme.
static const IdString TexMatrixCount4
Definition: OgreHlmsUnlitMobile.h:100
static const String & getDirectionalLightExtruderVs_4_0FiniteDebug(void)
Get FINITE extruder program source for debug directional lights, compatible with vs_4_0.
Definition: OgreShadowVolumeExtrudeProgram.h:316
bool removeShaderBasedTechnique(const String &materialName, const String &srcTechniqueSchemeName, const String &dstTechniqueSchemeName)
Remove shader based technique from a given technique.
Window(const String &title, uint32 widthPt, uint32 heightPt, bool fullscreenMode)
void setNamedAutoConstant(const String &name, AutoConstantType acType, size_t extraInfo=0)
Sets up a constant which will automatically be updated by the system.
The main containing class for a chunk of terrain.
Definition: OgreTerrain.h:267
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
StagingTexture * getStagingTextureForRegion(uint32 width, uint32 height, uint32 depth, PixelFormatGpu pixelFormat)
static String Type
Definition: OgreShaderFFPFog.h:118
OGRE_STATIC_MUTEX(msDirtyHashListMutex)
@ TT_SCALE_V
Definition: OgreTextureUnitState.h:120
void _setBackbuffer(ID3D11Texture2D *backbuffer)
Defines a plane in 3D space.
Definition: OgrePlane.h:62
Vertex()
Definition: OgreVolumeMeshBuilder.h:73
void defragment(void)
Triggers on demand a defragmentation of the pools, so that all slots become contiguous in memory.
ID3D11DeviceContext1 * GetImmediateContext1()
Definition: OgreD3D11Device.h:65
Data being passed around while loading.
Definition: OgreVolumeChunkHandler.h:48
virtual void setHoldRadius(Real sz)
Set the Holding radius.
void logInfo() const
Log details of this body.
uint32 height
Definition: OgreTextureGpuManager.h:252
void _prepareForRendering(void)
T & reference
Definition: OgreMain/include/OgreSmallVector.h:178
IMPORTANT: Plugins must override default dictionary name! Base class that texture plugins derive from...
Definition: OgreExternalTextureSource.h:75
void getReleaseText(char *outCStr, size_t stringSize) const
C String version. Zero allocations. See getFriendlyText.
Definition: OgreIdString.h:302
D3D9HardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage, bool useSystemMem, bool useShadowBuffer)
unsigned int getWidth() const
virtual OldBone * getBone(unsigned short handle) const
Gets a bone by it's handle.
virtual bool addFunctionInvocations(ProgramSet *programSet)
@ LF_ONLY_UNREFERENCED_INCLUDE_NON_RELOADABLE
Combination of LF_ONLY_UNREFERENCED and LF_INCLUDE_NON_RELOADABLE.
Definition: OgreResource.h:144
virtual void _autogenerateMipmaps(void)
Tells the API to let the HW autogenerate mipmaps.
Definition: OgreMetalNullTexture.h:61
bool addRenderWindow(D3D9RenderWindow *renderWindow) const
D3D11WindowSwapChainBased(const String &title, uint32 width, uint32 height, bool fullscreenMode, PixelFormatGpu depthStencilFormat, const NameValuePairList *miscParams, D3D11Device &device, D3D11RenderSystem *renderSystem)
Class defining particle system based special effects.
Definition: OgreParticleSystem.h:66
float packMaxRatio
Textures with a higher AR (whether width / height or height / width) than this value won't be packed.
Definition: OgreHlmsTextureManager.h:112
SceneManager * createSceneManager(const String &typeName, size_t numWorkerThreads, const String &instanceName=BLANKSTRING)
Create a SceneManager instance of a given type.
virtual void windowFocusChange(Window *rw)
Definition: OgreWindowEventUtilities.h:117
virtual RenderTexture * getRenderTarget(size_t slice=0)
Get a render target for this PixelBuffer, or a slice of it.
virtual ~StagingTexture()
@ ID_ITERATION
Definition: OgreScriptCompiler.h:710
virtual_l1 size_t getCurrentVertexCount() const
Get the number of vertices in the section currently being defined (returns 0 if no section is in prog...
void removeVisibilityFlags(uint32 flags)
As setVisibilityFlags, except the flags passed as parameters are removed from the existing flags on t...
static const IdString DetailOffsets1
Definition: OgreHlmsPbs.h:503
virtual void bindToFramebuffer(GLenum attachment, uint32 zoffset)
bool isLayerSpecularMappingEnabled() const
Whether to support specular mapping per layer in the shader (default true).
Definition: OgreTerrainMaterialGeneratorA.h:87
OpMask
Definition: OgreShaderFunctionAtom.h:95
Class that allows listening in on the various stages of SceneManager processing, so that custom behav...
Definition: OgreSceneManager.h:253
static Real Sqr(Real fValue)
Squared function.
Definition: OgreMath.h:407
D3D11HardwareBufferManagerBase(D3D11Device &device)
virtual void _setWorldMatrix(const Matrix4 &m)=0
Sets the world transform matrix.
HardwareCounterBuffer(HardwareBufferManagerBase *mgr, size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer=false, const String &name="")
Should be called by HardwareBufferManager.
virtual void updatePassIterationUniforms(GpuProgramParametersSharedPtr params)=0
Updates program object uniforms using data from pass iteration GpuProgramParameters.
@ CLIPPED_NONE
Nothing was clipped.
Definition: OgreCommon.h:900
void beginProfile(const String &profileName, uint32 groupID=(uint32) OGREPROF_USER_DEFAULT, ProfileSampleFlags::ProfileSampleFlags flags=ProfileSampleFlags::FlagsNone)
Begins a profile.
@ HBU_STATIC
Static buffer which the application rarely modifies once created.
Definition: OgreHardwareBuffer.h:85
Real worldSize
The world size of the terrain.
Definition: OgreTerrain.h:358
static void unspecified_bool(SharedPtr ***)
Definition: OgreSharedPtr.h:297
Definition: OgreMesh2SerializerImpl.h:212
virtual ~ProgramWriter()
Class destructor.
Definition: OgreShaderProgramWriter.h:66
virtual void deinitGPUProfiling(void)=0
Contains information needed by the UI (2D) for OpenGL ES 2.0.
Definition: OgreHlmsUnlitMobileDatablock.h:48
@ PFG_ASTC_RGBA_UNORM_6X5_LDR
Definition: OgrePixelFormatGpu.h:239
uint8 enabled
Definition: OgreCommon.h:156
@ CB_DRAW_CALL_STRIP_EMULATED_NO_BASE_INSTANCE
Definition: OgreCbCommon.h:43
OldNodeAnimationTrack(Animation *parent, unsigned short handle)
Constructor.
void attachDepthBuffer(DepthBuffer *depthBuffer)
This function acts very similar to.
virtual String getType() const
Returns the type of the codec as a String.
virtual void updateCompositeMap(const Terrain *terrain, const Rect &rect)
Update the composite map for a terrain.
Definition: OgreTerrainMaterialGenerator.h:340
SmallVector(ItTy S, ItTy E)
Definition: OgreMain/include/OgreSmallVector.h:782
virtual 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 unprepare()
Free CPU resources created during prepare methods.
This is an abstract node which cannot be broken down further.
Definition: OgreScriptCompiler.h:113
void setTessellationHullProgramConstantBoolCount(ushort c)
The number of boolean constants tessellation Domain programs support.
Definition: OgreRenderSystemCapabilities.h:890
size_t bytesPerRow
Definition: OgreTextureBox.h:49
@ GCT_DOUBLE3
Definition: OgreGpuProgramParams.h:101
TerrainQuadTreeNode(ObjectMemoryManager *objectMemoryManager, Terrain *terrain, TerrainQuadTreeNode *parent, uint16 xoff, uint16 yoff, uint16 size, uint16 lod, uint16 depth, uint16 quadrant)
Constructor.
virtual void removeRenderObjectListener(RenderObjectListener *delListener)
Removes a listener previously added with addRenderObjectListener.
const Matrix4 & getViewMatrix(size_t shadowMapIdx) const
Returns the texture view matrix for the given shadow map index.
@ RSC_MRT_DIFFERENT_BIT_DEPTHS
Supports MRTs with different bit depths.
Definition: OgreRenderSystemCapabilities.h:160
virtual void destroyAllEntities(void)
Removes & destroys all Entities.
void writeAttribute(unsigned short level, const String &att, const bool useMainBuffer=true)
Definition: OgreMaterialSerializer.h:326
const VertexElement & insertElement(unsigned short atPosition, unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0)
See VertexDeclaration.
virtual const Vector3 & getCommonDirection(void) const
Gets the common direction for all billboards (BBT_ORIENTED_COMMON)
virtual ~TerrainMaterialGeneratorA()
PbsUvAtlasParams()
Definition: OgrePbsMobileShaderCreationData.h:50
void setSpecular(const Vector3 &specularColour)
Sets the specular colour.
void setProperty(IdString key, int32 value)
Sets an arbitrary property to pass to the shader.
const Vector3 getCenterBackLeft(void) const
Gets the center of the corners 0, 4.
Definition: OgreVolumeOctreeNode.h:418
@ ID_BUFFER
Definition: OgreScriptCompiler.h:847
virtual void reset()
Reset the vertex buffer to the initial state.
Definition: OgreRenderToVertexBuffer.h:111
@ TS_LOCAL
Transform is relative to the local space.
Definition: OgreNode.h:67
Matrix4 getTransposeViewProjMatrix() const
Implement a sub render state which performs hardware skinning.
Definition: OgreShaderExHardwareSkinningTechnique.h:50
const BoneVec & getChildren(void)
Retrieves the container for efficiently iterating through all children of this bone.
Definition: OgreBone.h:156
Command object for getting/setting micro code.
Definition: OgreD3D9HLSLProgram.h:84
void setMaterialScheme(const String &schemeName)
Set the material scheme which the viewport should use.
Definition: OgreViewport.h:210
bool hasPoolId(uint32 poolId, uint32 width, uint32 height, uint8 numMipmaps, PixelFormatGpu pixelFormat) const
bool ToEulerAnglesXYZ(Radian &rfYAngle, Radian &rfPAngle, Radian &rfRAngle) const
The matrix must be orthonormal.
void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
Base for a general purpose request / response style background work queue.
Definition: OgreWorkQueue.h:367
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
Real getTanTime_0_2Pi(Real x) const
vector< CompositorShadowNode * >::type CompositorShadowNodeVec
Definition: OgreCompositorCommon.h:61
virtual ushort getDesiredIntegerBitDepth(void) const
gets desired bit depth for integer pixel format textures.
void updateManualLodLevel(ushort index, const String &meshName)
Changes the alternate mesh to use as a manual LOD at the given index.
virtual void addChainElement(size_t chainIndex, const Element &billboardChainElement)
Add an element to the 'head' of a chain.
Timer * getTimer(void)
Gets a pointer to the central timer used for all OGRE timings.
virtual void setClearColour(uint8 idx, const ColourValue &clearColour)
Sets the clear colour to specific entry.
AbstractNode * clone() const
Returns a new AbstractNode which is a replica of this one.
VertexElementSemantic
Vertex element semantics, used to identify the meaning of vertex buffer contents.
Definition: OgreVertexElements.h:39
bool mIsRecordingMetrics
Definition: OgreRenderSystem.h:117
uint8 getRenderQueueSubGroup(void) const
Definition: OgreRenderable.h:430
v1::HardwareIndexBuffer::IndexType minimalIndexType() const
Definition: OgreLod0Stripifier.h:89
~HalfFloatGridSource(void)
Destructor.
@ FFP_PS_PRE_PROCESS
Definition: OgreShaderFFPRenderState.h:57
Plugin instance for NULL Manager.
Definition: OgreNULLPlugin.h:39
static const IdString UvDetail3
Definition: OgreHlmsPbsMobile.h:146
ComPtr< ID3D11InputLayout > inputLayout
Definition: OgreD3D11HlmsPso.h:48
size_t slicePitchAlwaysBytes(void) const
Returns slicePitch, but always in bytes.
Real minTimePercent
The minimum percentage of frame time this profile has taken.
Definition: OgreProfiler.h:280
GeneralAllocatedObject DynLibAlloc
Definition: OgreMemoryAllocatorConfig.h:307
@ InvertVertexWinding
Definition: OgreHlmsPso.h:159
Definition: OgreD3D11RenderWindow.h:52
@ ID_PER_N_LIGHTS
Definition: OgreScriptCompiler.h:714
AbstractNode * clone() const
Returns a new AbstractNode which is a replica of this one.
void removeExists(const T &item)
Definition: OgreVectorSetImpl.h:69
VertexSplit splitVertex
The old and new vertex index.
Definition: OgreTangentSpaceCalc.h:66
virtual void loadImage(const Image &img)
Loads the data from an image.
@ LBS_DIFFUSE
the interpolated diffuse colour from the vertices
Definition: OgreBlendMode.h:119
@ DISPLAY_PERCENTAGE
Display % frame usage on the overlay.
Definition: OgreProfiler.h:366
bool isSkeletalAnimationIncluded(void) const
Returns whether the linked program includes the required instructions to perform skeletal animation.
Definition: OgreGLSLProgram.h:129
virtual void copyTo(BufferInterface *dstBuffer, size_t dstOffsetBytes, size_t srcOffsetBytes, size_t sizeBytes)
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...
Extent
Definition: OgreAxisAlignedBox.h:57
FFPColour()
Class default constructor.
void setSky(bool bEnabled, SkyMethod skyMethod, TextureGpu *texture)
Sets a sky, to use a particular material based on SkyMethod.
const Matrix4 & getViewMatrix(bool ownFrustumOnly) const
Specialised version of getViewMatrix allowing caller to differentiate whether the custom culling frus...
bool IsWindows8OrGreater()
Definition: OgreOSVersionHelpers.h:68
virtual ~PageStrategy()
Definition: OgrePageStrategy.h:85
void setThreadsPerGroup(uint32 threadsPerGroupX, uint32 threadsPerGroupY, uint32 threadsPerGroupZ)
Sets the number of threads per group.
@ OPT_NONE
No optimisation.
Definition: OgreD3D9HLSLProgram.h:152
String doGet(const void *target) const
Definition: OgreShaderPrimitives.h:80
@ SOP_DECREMENT_WRAP
Decrease the stencil value by 1, wrapping when decrementing 0.
Definition: OgreCommon.h:114
@ M_MESH_LOD_GENERATED
Definition: OgreMeshFileFormat.h:248
const MeshLodUsage & getLodLevel(ushort index) const
Gets details of the numbered level of detail entry.
ImageBlur2D separableBlur_XXXA8888
Definition: OgreImageDownsampler.h:99
virtual void advanceFrame(void)
void clear()
Sets all bits to 0.
Definition: OgreBitset.h:48
virtual v1::HardwarePixelBufferSharedPtr getBuffer(size_t face, size_t mipmap)
Return hardware pixel buffer for a surface.
Definition: OgreNULLTexture.h:57
Node(IdType id, NodeMemoryManager *nodeMemoryManager, Node *parent)
Constructor, should only be called by parent, not directly.
void setVertexProgramParameters(GpuProgramParametersSharedPtr params)
Sets the vertex program parameters.
LwString & a(const M &a0, const N &a1, const O &a2, const P &a3, const Q &a4)
Definition: OgreLwString.h:379
virtual void setAutoextend(bool autoextend)
Tells the set whether to allow automatic extension of the pool of billboards.
bool hasVertexTrack(unsigned short handle) const
Does a track exist with the given handle?
static const uint32 TERRAIN_CHUNK_ID
Definition: OgreTerrain.h:277
@ ID_REPLACE
Definition: OgreScriptCompiler.h:754
void setShadingMode(ShadeOptions mode)
Sets the type of light shading required.
const GpuNamedConstants & getConstantDefinitions() const
Get the full list of GpuConstantDefinition instances.
virtual void allWorkspacesBeforeBeginUpdate(void)
Called from CompositorManager2 (not CompositorWorkspace) when we're about to begin updating all the w...
Definition: OgreCompositorWorkspaceListener.h:95
Implementation of CompositorPass This implementation will render a fullscreen triangle/quad to the Re...
Definition: OgreCompositorPassCompute.h:82
void hide(void)
Hides the overlay if it was visible.
void setDirection(const Vector3 &vec)
Sets the camera's direction vector.
@ ID_SOURCE
Definition: OgreScriptCompiler.h:633
Plane(Real a, Real b, Real c, Real d)
Construct a plane using the 4 constants directly.
virtual void addChild(OverlayElement *elem)
Adds another OverlayElement to this container.
GLuint getTemporaryFbo(uint32 fboIdx) const
fboIdx must be in range [0; 1]
Definition: OgreGL3PlusTextureGpuManager.h:82
virtual void *RESTRICT_ALIAS_RETURN map(size_t elementStart, size_t elementCount, MappingState prevMappingState, bool advanceFrame=true)
virtual bool queryIsTransferDone(void)
size_t getFirstNode(ObjectData &outData)
Retrieves a Transform pointing to the first Node.
void setTexCoordIndex(unsigned int index)
Set the index of the input vertex shader texture coordinate set.
Definition: OgreShaderExNormalMapLighting.h:98
MultiRenderTarget(const String &name)
uint8 getCurrentBoundSlot(void) const
This value may have some meaning even if there is no reservation.
void setBorderSize(Real size)
Sets the size of the border.
Definition: OgreThreadDefinesSTD.h:32
const GpuProgramPtr & getShadowCasterFragmentProgram(void) const
Gets the fragment program used by this pass when rendering shadow casters, only available after _load...
Definition: OgreLightProfiles.h:47
StdMap< String, String > NameValuePairList
Name / value parameter pair (first = name, second = value)
Definition: OgreCommon.h:707
ProfileSessionListener()
Definition: OgreProfiler.h:371
Struct for holding a program definition which is in progress.
Definition: OgreMaterialSerializer.h:47
virtual const String & getTargetLanguage() const
Definition: OgreShaderHLSLProgramWriter.h:73
LwString & a(const M &a0, const N &a1, const O &a2, const P &a3, const Q &a4, const R &a5)
Definition: OgreLwString.h:387
void setAmbientLightMode(AmbientLightMode mode)
SubRenderStateList::const_iterator SubRenderStateListConstIterator
Definition: OgreShaderSubRenderState.h:159
@ FFP_VS_LIGHTING
Definition: OgreShaderFFPRenderState.h:48
Representation of a ray in space, i.e.
Definition: OgreRay.h:46
virtual IntersectionSceneQueryResult & execute(void)
Executes the query, returning the results back in one list.
Definition: OgreMemorySTLAllocator.h:82
String name
Definition: OgreScriptCompiler.h:131
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.
D3D11Texture * getParentTexture() const
virtual void _setVertexArrayObject(const VertexArrayObject *vao)=0
Part of the low level rendering interface.
uint32 poolId
Definition: OgreHlmsTextureManager.h:147
FastArray< const HlmsSamplerblock * > mSamplers
Render-System specific data.
Definition: OgreDescriptorSetSampler.h:59
void copyToTexture(TexturePtr &target)
overridden from Texture
_OgreExport const uint32 RESERVED_VISIBILITY_FLAGS
When this is bit is clear, the obj is not rendered at all.
void writeValue(const String &val, const bool useMainBuffer=true)
Definition: OgreMaterialSerializer.h:337
void eraseUserAny(const String &key)
Erase the custom user object associated with this class and key from this binding.
virtual const PixelFormatToShaderType * getPixelFormatToShaderType(void) const =0
void set32BitIndices(bool n32)
Set whether we need 32-bit indices.
Definition: OgreManualObject.h:439
void replaceExists(const T &oldItem, const T &newItem)
Definition: OgreVectorSetImpl.h:92
virtual bool isStereoEnabled(const String &renderWindowName)=0
GLenum cullMode
Definition: OgreGL3PlusHlmsPso.h:50
virtual void swapBuffers(void)=0
Listener()
Definition: OgreNode.h:82
void setFullscreen(bool fullScreen, unsigned int width, unsigned int height)
Alter fullscreen mode options.
virtual bool getTreatLuminanceAsAlpha(void) const
Gets whether luminace pixel format will treated as alpha format when load this texture.
vector< CompositorTexture >::type CompositorTextureVec
Definition: OgreCompositorPass.h:68
bool getPassSurfaceAndLightStates(void) const
Returns whether a vertex program wants light and material states to be passed through fixed pipeline ...
void convertFromV2(const VertexElement2Vec &v2Decl)
@ GCT_SAMPLER2DARRAY
Definition: OgreGpuProgramParams.h:84
static void get(const ColourValue &inColour, float *outColour)
Get dx11 color.
LightClosest(Light *_light, size_t _globalIndex, Real _distance)
Definition: OgreCommon.h:662
const MaterialPtr & getRenderToBufferMaterial()
Get the material which is used to render the geometry into the vertex buffer.
Definition: OgreRenderToVertexBuffer.h:129
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:51
virtual RenderPassDescriptor * createRenderPassDescriptor(void)=0
size_t getPassIterationCount(void) const
Gets the pass iteration count value.
Definition: OgrePass.h:1022
Image2(const Image2 &img)
Copy-constructor - copies all the data from the target image.
virtual const HardwareVertexBufferSharedPtr & getBuffer(unsigned short index) const
Gets the buffer bound to the given source index.
BufferSource(uint32 _slotIdx, IdString _bufferName, ResourceAccess::ResourceAccess _access, size_t _offset=0, size_t _sizeBytes=0, bool _allowWriteAfterWrite=false)
Definition: OgreCompositorPassComputeDef.h:96
virtual void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
UploadFromStagingTex(StagingTexture *_stagingTexture, const TextureBox &_box, TextureGpu *_dstTexture, const TextureBox &_dstBox, uint8 _mipLevel)
Alignment getAlignment() const
Get the alignment of the terrain.
iterator erase(iterator first, iterator last)
Definition: OgreCommon.h:598
void _swapBoneWeightsUniquePtr(RawSimdUniquePtr< ArrayReal, MEMCATEGORY_ANIMATION > &inOutBoneWeights)
void _initialise(void)
Init method to be called by OGRE system.
@ MEMCATEGORY_ANIMATION
Animation data like tracks, bone matrices.
Definition: OgreMemoryAllocatorConfig.h:166
static const IdString HwGammaRead
Definition: OgreUnlitProperty.h:42
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:326
SceneManager * getSceneManager(const String &instanceName) const
Get an existing SceneManager instance that has already been created, identified by the instance name.
const ColourValue & getSurfaceAmbientColour(void) const
@ VES_SPECULAR
Specular colours.
Definition: OgreVertexElements.h:51
static const size_t MaterialSizeInGpu
Definition: OgreHlmsPbsDatablock.h:743
virtual void removeElement(VertexElementSemantic semantic, unsigned short index=0)
Remove the element with the given semantic and usage index.
GpuSharedParametersPtr getSharedParams() const
Definition: OgreGpuProgramParams.h:855
virtual void _descriptorSetUavCreated(DescriptorSetUav *newSet)
@ TFO_BILINEAR
Equal to: min=FO_LINEAR, mag=FO_LINEAR, mip=FO_POINT.
Definition: OgreCommon.h:198
void insertShadowContentTypeLookup(size_t textureUnitIndex)
Call this function when a texture unit changed to type CONTENT_SHADOW.
Physically based shading implementation specfically designed for OpenGL 3+, D3D11 and other RenderSys...
Definition: OgreHlmsPbs.h:59
GL3PlusDefaultHardwareBufferManager()
Definition: OgreGL3PlusDefaultHardwareBufferManager.h:182
@ SPC_LIGHTDIRECTION_TANGENT_SPACE6
Definition: OgreShaderParameter.h:203
RenderState * getRenderState(const String &schemeName, const String &materialName, const String &groupName, unsigned short passIndex)
Get render state of specific pass.
Manages Overlay objects, parsing them from .overlay files and storing a lookup library of them.
Definition: OgreOverlayManager.h:53
void _writeRawConstant(size_t physicalIndex, Real val)
Write a single floating-point parameter to the program.
virtual ~DefaultWorkQueue(void)
IdString mLodCameraName
When empty, it implies mCameraName == mLodCameraName; except for shadow nodes.
Definition: OgreCompositorPassSceneDef.h:86
AnimableObject()
Definition: OgreAnimable.h:290
Real getSpotlightFalloff(void) const
Returns the falloff between the inner and outer cones of the spotlight.
Definition: OgreLight.h:324
void _setTessellationHullTexture(size_t unit, TextureGpu *tex)
See RenderSystem.
void setNonPOW2TexturesLimited(bool l)
Non-POW2 textures limited.
Definition: OgreRenderSystemCapabilities.h:791
Command object for specifying tiling (see ParamCommand).
Definition: OgrePanelOverlayElement.h:115
Structure defining an auto constant that's available for use in a parameters object.
Definition: OgreGpuProgramParams.h:1427
const Matrix4 & getSpotlightViewProjMatrix(size_t index) const
bool isTransparent(void) const
Returns whether this panel is transparent.
Definition: OgreX11EGLSupport.h:92
bool isTransparent(void) const
Returns true if this Technique involves transparency.
D3D9RenderSystem(HINSTANCE hInstance)
void notifyDeviceRestored(D3D11Device *device)
void _unprepare(void)
Internal unprepare method, derived from call to Material::unprepare.
void _setForwardPlusEnabledInPass(bool bEnable)
For internal use.
@ PF_BC6H_SF16
DDS (DirectDraw Surface) BC6H format (signed 16 bit float)
Definition: OgrePixelFormat.h:220
void _notifyVertexBufferDestroyed(HardwareVertexBuffer *buf)
Notification that a hardware vertex buffer has been destroyed.
Definition: OgreHardwareBufferManager.h:537
Definition: OgreD3D11TextureGpuWindow.h:39
bool isFinite(void) const
Returns true if the box is finite.
Definition: OgreAxisAlignedBox.h:522
ushort getIndirectionLevel() const
Returns the level of indirection.
Definition: OgreShaderFunctionAtom.h:149
virtual void worldGeometryPrepareStageStarted(const String &description)
This event is fired when a stage of preparing linked world geometry is about to start.
Definition: OgreResourceGroupManager.h:143
size_t getIndexDataStartIndex() const
Returns the current value of the start index used for drawing.
~ExternalTextureSourceManager()
Destructor.
AxisAlignedBox & operator=(const AxisAlignedBox &rhs)
Definition: OgreAxisAlignedBox.h:127
bool hasAnimationState(const String &name) const
Returns whether the AnimationState with the given name exists.
const SimpleMatrixAf4x3 & _getFullTransformUpdated(void)
@See _getDerivedScaleUpdated remarks.
void reset(void)
Resets the object.
bool getHighQuality(void) const
Definition: OgreHlms.h:478
void _setShadowCopy(void *copy)
This will not delete the existing shadow copy so it can be used for other purposes if it is not neede...
void stop()
Stop anything special.
void dearrangeToInefficient(void)
Reverts the effects from arrangeEfficient by converting all 16-bit half float back to 32-bit float; a...
virtual void _updateViewportRenderPhase02(Viewport *viewport, Camera *camera, const Camera *lodCamera, uint8 firstRq, uint8 lastRq, bool updateStatistics)
Method for manual management of rendering - renders the given viewport (even if it is not autoupdated...
bool isCubic(void) const
Returns true if this texture unit is either a series of 6 2D textures, each in it's own frame,...
LwString & a(Float a0)
Definition: OgreLwString.h:306
ID3D11Resource * getFinalTextureName(void) const
Definition: OgreD3D11TextureGpu.h:117
static LodStrategyManager * getSingletonPtr(void)
Override standard Singleton retrieval.
FrameTimeControllerValue()
void destroySubMesh(unsigned short index)
Destroy a SubMesh with the given index.
@ RSC_HWRENDER_TO_TEXTURE_3D
Definition: OgreRenderSystemCapabilities.h:184
@ SBF_ONE_MINUS_SOURCE_COLOUR
Definition: OgreBlendMode.h:241
ImportData()
Definition: OgreTerrain.h:403
static PixelFormat getFormatForBitDepths(PixelFormat fmt, ushort integerBits, ushort floatBits)
Returns the similar format but acoording with given bit depths.
int minor
Definition: OgreRenderSystemCapabilities.h:279
virtual ~D3D11TexBufferPacked()
static void recreateResizableTextures02(const TextureDefinitionVec &textureDefs, CompositorChannelVec &inOutTexContainer, const CompositorNodeVec &connectedNodes, const CompositorPassVec *passes)
See recreateResizableTextures01 Updates involved RenderPassDescriptors.
bool renderOneFrame(Real timeSinceLastFrame)
Render one frame, with custom frame time information.
@ BLT_MANUAL_RELEASE
Licensee will only release buffer when it says so.
Definition: OgreHardwareBufferManager.h:167
void setCompositorReference(const String &textureName)
Set the compositor reference for this texture unit state.
virtual Real getMinParticleVelocity(void) const
Returns the minimum particle velocity.
Definition: OgreCamera.h:46
uint32 getHeight(void) const
@ ID_SCHEME
Definition: OgreScriptCompiler.h:641
int getNumMipmaps(void) const
Gets how many mipmaps have been requested for the texture.
LoggingLevel
The level of detail to which the log will go into.
Definition: OgreLog.h:62
static ParameterPtr createInNormal(int index)
virtual GuiVerticalAlignment getVerticalAlignment(void) const
Gets the vertical alignment for this element.
static const IdString useLightBuffers
Definition: OgreHlmsPbs.h:449
Virtual interface of the stereo driver.
Definition: OgreD3D11StereoDriverImpl.h:42
Struct used to hold hardware morph / pose vertex data information.
Definition: OgreVertexIndexData.h:96
@ ACT_INVERSE_TRANSPOSE_WORLDVIEW_MATRIX
The current world & view matrices concatenated, then inverted & transposed.
Definition: OgreGpuProgramParams.h:981
void setUseRefractions(IdString depthTextureName, IdString refractionsTexture)
Definition: OgreCompositorPassSceneDef.h:244
AnimationAllocatedObject AnimableAlloc
Definition: OgreMemoryAllocatorConfig.h:296
virtual size_t getNumSlicesFor(TextureGpu *texture, TextureGpuManager *textureManager)=0
Ogre normally puts Textures into pools (a Type2DArray texture) for efficient rendering Note that only...
Definition: OgreObjCmdBuffer.h:58
uint32 getLightsPerCell(void) const
Definition: OgreForward3D.h:107
virtual void _placeBarriersAndEmulateUavExecution(BoundUav boundUavs[64], ResourceAccessMap &uavsAccess, ResourceLayoutMap &resourcesLayout)
Emulates the execution of a UAV to understand memory dependencies, and adds a memory barrier / resour...
String mMessages
Any diagnostic messages.
Definition: OgreWorkQueue.h:135
void setTessellationDomainProgram(const String &name, bool resetParams=true)
Sets the details of the Tessellation domain program to use.
Abstract marker class representing the data held against the PagedWorldSection which is specifically ...
Definition: OgrePageStrategy.h:50
const double & max(const double &a, const double &b)
Definition: OgreCommon.h:1127
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:75
bool orientationEquals(const Quaternion &other, Real tolerance=1e-3) const
Compare two quaternions which are assumed to be used as orientations.
Definition: OgreQuaternion.h:257
Real valueRadians() const
Definition: OgreMath.h:61
virtual bool setDrawBuffer(ColourBufferType colourBuffer)
Sets the colour buffer that the render system will to draw.
virtual void advanceFrame(void)
@ Texture
Definition: OgreResourceTransition.h:49
virtual void disableReflection(void)
Disables reflection modification previously turned on with enableReflection.
Real length() const
Returns the length (magnitude) of the vector.
Definition: OgreVector3.h:362
bool queryIsDone(ID3D11Query *fenceName)
IndexRemap(size_t i, size_t f, const VertexSplit &s)
Definition: OgreTangentSpaceCalc.h:69
virtual void unload()=0
Unload - will be called in main thread.
virtual void unmap(UnmapOptions unmapOption, size_t flushStartElem=0, size_t flushSizeElem=0)
Real getSpotlightNearClipDistance() const
Get the near clip plane distance to be used by spotlights that use light clipping.
Definition: OgreLight.h:349
virtual RenderWindow * createWindow(bool autoCreateWindow, GLES2RenderSystem *renderSystem, const String &windowTitle)=0
void deleteAllOutputParameters()
Delete all output parameters from this function.
@ ID_DEPTH_WRITE
Definition: OgreScriptCompiler.h:672
static const ArrayVector3 NEGATIVE_UNIT_X
Definition: C/OgreArrayVector3.h:349
bool hasNumericTrack(unsigned short handle) const
Does a track exist with the given handle?
@ FsaaSettingAlteredByApi
Requested FSAA (MSAA / CSAA / EQAA / etc) is not supported by the API, and thus the setting had to be...
Definition: OgreTextureGpuListener.h:94
@ UNLIT_BLEND_ADD
Definition: OgreHlmsUnlitPrerequisites.h:66
ShaderParameterList::iterator ShaderParameterIterator
Definition: OgreShaderParameter.h:369
void setVertexProgram(const String &name, bool resetParams=true)
Sets the details of the vertex program to use.
StereoModeType getStereoMode() const
virtual StagingBuffer * createStagingBuffer(size_t sizeBytes, bool forUpload)=0
Creates a new staging buffer and adds it to the pool.
void setReceiveDynamicShadowsDepth(bool enabled)
Whether to use depth shadows (default false).
bool createShaderBasedTechnique(const String &materialName, const String &srcTechniqueSchemeName, const String &dstTechniqueSchemeName, bool overProgrammable=false)
Create shader based technique from a given technique.
@ ID_ADD_SMOOTH
Definition: OgreScriptCompiler.h:764
Class for serialising mesh data to/from an OGRE .mesh file.
Definition: OgreMesh2Serializer.h:99
Definition: OgreD3D9DepthBuffer.h:37
Real getInverseViewportHeight() const
Vector2(const Real fX, const Real fY)
Definition: OgreVector2.h:64
bool hasTessellationHullProgram(void) const
Returns true if this pass uses a programmable tessellation control pipeline.
Definition: OgrePass.h:192
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
ColourValue getColour(void) const
Gets the current colour. The returned value is meaningless if mHasColour is false.
Definition: OgreHlmsUnlitDatablock.h:154
Ogre::uint32 CodePoint
Definition: OgreFont.h:138
@ Unknown
Definition: OgreTextureGpu.h:55
void setUseVertexCompressionWhenAvailable(bool enable)
Set whether to allow vertex compression to be used when the material generator states that it support...
Definition: OgreTerrain.h:2112
ushort previousLodIndex
Previous level of detail index.
Definition: OgreLodListener.h:66
void setDetailMapWeight(uint8 detailMap, Real weight)
Sets the weight of detail map.
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
Create a multi render target.
bool queryResult(SceneQuery::WorldFragment *fragment)
Self-callback in order to deal with execute which returns collection.
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.
TextureGpu * _getTexturePtr(void) const
Get the texture pointer for the current frame.
size_t calculateTotalNumObjectDataIncludingFragmentedSlots() const
This is the opposite of getTotalNumObjects.
static const IdString Pcf
Definition: OgreHlmsPbs.h:535
CSGIntersectionSource(void)
Constructor, sets the sources to null.
A singleton manager class that manages shader based programs.
Definition: OgreShaderProgramManager.h:50
virtual ScriptTranslator * getTranslator(const AbstractNodePtr &node)
Returns a manager for the given object abstract node, or null if it is not supported.
@ PF_R8_UINT
8-bit pixel format, 8 bits red (unsigned int).
Definition: OgrePixelFormat.h:160
static void updateAllTransforms(const size_t numNodes, Transform t)
@See SceneManager::updateAllTransforms()
vector< HlmsProperty >::type HlmsPropertyVec
Definition: OgreHlmsCommon.h:157
virtual Viewport * getViewport(unsigned short index)
Retrieves a pointer to the viewport with the given index.
virtual void bindBufferCS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Binds the texture buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
Definition: OgreNULLUavBufferPacked.h:56
virtual_l2 Quaternion _getDerivedOrientationUpdated(void)
Gets the orientation of the node as derived from all parents.
void setKeepParticlesInLocalSpace(bool keepLocal)
Setting carried over from ParticleSystem.
virtual void setTextureType(TextureTypes::TextureTypes textureType)
Definition: OgreHlmsUnlitMobileDatablock.h:76
~GLSLSeparableProgramManager(void)
const vector< Real >::type & getPssmSplits(size_t shadowMapIdx) const
@ PF_ASTC_RGBA_5X4_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 5x4)
Definition: OgrePixelFormat.h:263
virtual bool prequeueEntityMaterialLodChanged(EntityMaterialLodChangedEvent &evt)
Called before an entity's material LOD has changed.
Definition: OgreLodListener.h:190
void _deinitialise(void)
Tear down the internal structures of this Item, rendering it uninitialised.
virtual void blitFromMemory(const PixelBox &src, const Box &dstBox)=0
Copies a region from normal memory to a region of this pixelbuffer.
void _notifyAttached(Node *parent)
Delegated to by ParticleSystem::_notifyAttached.
static void optimizeForShadowMapping(VaoManager *vaoManager, const VertexArrayObjectArray &inVao, VertexArrayObjectArray &outVao)
Reads all the vertex & index buffer from all the LOD levels in inVao, optimizes the buffers for shado...
Standard implementation of a buffer allocator which re-uses buffers.
Definition: OgreTerrain.h:576
virtual void freeAllBuffers()=0
Free any buffers we're holding.
Parallel Split Shadow Map (PSSM) shadow camera setup.
Definition: OgreShadowCameraSetupPSSM.h:62
virtual void updateUniforms(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)=0
Updates program object uniforms using data from GpuProgramParameters.
Quaternion extractQuaternion() const
Extracts the rotation / scaling part as a quaternion from the Matrix.
Definition: OgreMatrix4.h:552
virtual void destroyBillboardChain(v1::BillboardChain *obj)
Removes & destroys a BillboardChain from the SceneManager.
virtual void bind(RenderTarget *target)=0
Bind a certain render target.
Definition: OgreEmscriptenEGLWindow.h:47
void destroySkeletonInstance(SkeletonInstance *skeletonInstance)
Destroys an instance of a skeleton created with @createSkeletonInstance.
@ GHA_LEFT
Definition: OgreOverlayElement.h:72
uint32 getHeight(void) const
Definition: OgreForwardClustered.h:129
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.
@ ID_LESS
Definition: OgreScriptCompiler.h:679
virtual void setCurrent()
Enable the context.
uint32 bindFlags
Definition: OgreTextureDefinition.h:150
virtual void copyFrom(const SubRenderState &rhs)
virtual void blitToMemory(const Box &srcBox, const PixelBox &dst)=0
Copies a region of this pixelbuffer to normal memory.
SharedPtr< ControllerValue< Real > > ControllerValueRealPtr
Definition: OgreControllerManager.h:50
virtual void _applyBaseKeyFrame(const KeyFrame *base)
Internal method to re-base the keyframes relative to a given keyframe.
#define MAX_LIGHTS
Definition: OgreD3D9RenderSystem.h:40
static float halfToFloat(uint16 y)
Convert a float16 (NV_half_float) to a float32 Courtesy of OpenEXR.
Definition: OgreBitwise.h:370
String description
Definition: OgreStringInterface.h:74
@ NUM_STALL_TYPES
Definition: OgreStagingBuffer.h:55
iterator erase(iterator pos)
Definition: OgreCommon.h:592
float a
Definition: OgreColourValue.h:76
DataStreamPtr open(const String &filename, bool readOnly=true)
Open a stream on a given file.
virtual size_t calculateSize() const
Definition: OgreRenderSystemCapabilities.h:447
Handles the management of skeleton resources.
Definition: OgreSkeletonManager.h:51
void objectMoved(ObjectData &inOutObjectData, size_t oldRenderQueue, size_t newRenderQueue)
Requests memory for the given ObjectData to be moved to a different render queue, transferring existi...
@ EnvMap
Definition: OgreTextureGpuManager.h:103
bool isRenderToTexture(void) const
@ RSC_CUBEMAPPING
Supports cube mapping.
Definition: OgreRenderSystemCapabilities.h:90
virtual void OldNodeAttached(const OldNode *)
OldNode has been attached to a parent.
Definition: OgreOldNode.h:103
Real x
Definition: OgreVector4.h:48
void _render(const v1::RenderOperation &op)
See RenderSystem.
const HlmsSamplerblock * getBindTrilinearSamplerblock(void)
Definition: OgreVctLighting.h:329
UniformParameterList::iterator UniformParameterIterator
Definition: OgreShaderParameter.h:567
HlmsBufferManager(HlmsTypes type, const String &typeName, Archive *dataFolder, ArchiveVec *libraryFolders)
@ 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:1099
CSGIntersectionSource(const Source *a, const Source *b)
Constructor.
StringVector textureNames
List of texture names to import; must match with TerrainLayerDeclaration.
Definition: OgreTerrain.h:306
virtual HighLevelGpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)=0
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:77
DefaultHardwareCounterBuffer(HardwareBufferManagerBase *mgr, size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer=false, const String &name="")
bool renderOneFrame(void)
Render one frame.
void setEnableIncludeHeader(bool bEnable)
Whether we should parse the source code looking for include files and embedding the file.
void setSequenceTime(Real seqVal)
Set the sequence duration value manually.
T const_iterator
typedef to fulfill container interface
Definition: OgreIteratorRange.h:117
void * getDataPtr(size_t offset) const
Definition: OgreGLES2DefaultHardwareBufferManager.h:66
virtual void shutDown()=0
Shuts down Plugin.
vector< uint32 >::type freeSlots
Definition: OgreConstBufferPool.h:63
void _load(void)
Internal method for loading this object as part of Material::load.
virtual void clearScene(bool deleteIndestructibleToo, bool reattachCameras=true)
Empties the entire scene, inluding all SceneNodes, Entities, Lights, BillboardSets etc.
static ushort getIndex(Real value, const v1::Mesh::MeshLodUsageList &meshLodUsageList)
Get the index of the LOD usage which applies to a given value.
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
void setAmbientLightColour(const ColourValue hemispheres[2], const Vector3 &hemisphereDir)
VertexPoseKeyFrame * getVertexPoseKeyFrame(unsigned short index) const
Returns the pose KeyFrame at the specified index.
void load(const String &filename)
Load world data from a file.
const String & getType(void) const
Get the type of the object to be created.
@ OnStorage
Texture is on storage (i.e.
Definition: OgreGpuResource.h:48
@ LB_BlendNormal
Definition: OgreShaderExLayeredBlending.h:51
virtual v1::BillboardSet * createBillboardSet(unsigned int poolSize=20)
Creates a new BillboardSet for use with this scene manager.
GLuint texName
Definition: OgreGL3PlusDescriptorSetTexture.h:48
uint8 mipLevel
Definition: OgreRenderPassDescriptor.h:121
int DisplayHeight(Display *nativeDisplayType, int screen)
void setOrientationMode(OrientationMode orientationMode, bool setDefault=true)
Set the orientation mode of the viewport.
@ FILTER_TRIANGLE
Definition: OgreImage.h:455
String mMaterialName
Name of the material this SubMesh uses.
Definition: OgreSubMesh2.h:97
float2(const Vector2 &val)
Definition: OgreShaderPrimitives.h:71
void advancePack()
Advances all pointers to the next pack, i.e.
Definition: OgreObjectData.h:144
StreamSerialiser * _writeWorldStream(const String &filename)
Get a serialiser set up to write PagedWorld data.
Definition: OgreDescriptorSetTexture.h:133
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:1943
Wrapper class which identifies a value as the currently default angle type, as defined by Math::setAn...
Definition: OgreMath.h:143
void resetIblSpecMipmap(uint8 numMipmaps)
By default we see the reflection textures' mipmaps and store the largest one we found.
virtual size_t getVertexSize(unsigned short source) const
Gets the vertex size defined by this declaration for a given source.
void setReceiveDynamicShadowsLowLod(bool enabled)
Whether to use shadows on low LOD material rendering (when using composite map) (default false).
@ ID_SCROLL
Definition: OgreScriptCompiler.h:784
@ ID_COLOUR_WRITE
Definition: OgreScriptCompiler.h:706
virtual void stopMapRegion(void)
Must be called from main thread when the StagingBuffer is released.
@ ID_REINTERPRETABLE
Definition: OgreScriptCompiler.h:860
virtual TextureGpu * getEmissiveTexture(void) const
~FreeOnDestructor()
Definition: OgreBufferPacked.h:122
DefaultPlaneBoundedVolumeListSceneQuery(SceneManager *creator)
static const IdString BlendModeIndex1
Definition: OgreHlmsPbs.h:531
bool getPerceptualRoughness(void) const
ACDataType dataType
The type of any extra data.
Definition: OgreGpuProgramParams.h:1434
uint64 getLastUsedTimestamp(void) const
Returns the time in millisecond when the ref. count became 0.
Definition: OgreStagingBuffer.h:306
GLint convertCompareFunction(CompareFunction func) const
unsigned long long uint64
Definition: OgrePlatform.h:465
virtual const ContentList & getContentList() const
Get const access to the list of content.
Definition: OgreSimplePageContentCollection.h:90
friend class SharedPtr
Definition: OgreSharedPtr.h:120
DataStreamPtr create(const String &filename)
Create a new file (or overwrite one already there).
CompositorNodeTranslator()
unsigned int getSize()
Definition: OgreVertexIndexData.h:350
TerrainLayerBlendMap * getLayerBlendMap(uint8 layerIndex)
Retrieve the layer blending map for a given layer, which may be used to edit the blending information...
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
static ParameterPtr createInTexcoord4(int index, Parameter::Content content)
virtual void loadImage(const Image &img)
Loads the data from an image.
Definition: OgreShaderPrimitives.h:87
void defragment(void)
Triggers on demand a defragmentation of the pools, so that all slots become contiguous in memory.
@ ACT_TRANSPOSE_WORLD_MATRIX
Provides transpose of world matrix.
Definition: OgreGpuProgramParams.h:913
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
Class representing a Bone in the join hierarchy of a skeleton.
Definition: OgreBone.h:62
HardwareBufferManagerBase * _getHardwareBufferManager(void) const
Definition: OgreVertexIndexData.h:283
Represents the instance of a Skeletal animation based on its definition.
Definition: OgreSkeletonAnimation.h:55
virtual void frameEnd(Real timeElapsed)
Called when the frame ends.
Definition: OgrePageContent.h:71
virtual const String & getType() const
virtual ~BoneMemoryManager()
static uint32 slotToBlockIdx(uint32 slotIdx)
Converts a "Slot index" to a block index.
Definition: OgreSkeletonDef.h:180
@ FO_POINT
Use the closest pixel.
Definition: OgreCommon.h:220
virtual_l1 ManualObjectSection * end(void)
Finish defining the object and compile the final renderable version.
virtual void getWorldTransforms(Matrix4 *xform) const
Overridden from MovableObject.
virtual bool isConstParameter() const
Returns true if this instance is a ConstParameter otherwise false.
Definition: OgreShaderParameter.h:338
@ SPC_LIGHTDIRECTION_OBJECT_SPACE3
Definition: OgreShaderParameter.h:170
Definition: OgreExternalTextureSource.h:99
void boxIntersects(const AxisAlignedBox &box, TerrainList *resultList) const
Test intersection of a box with the terrain.
uint16 depthBufferId
This is a default value for the texture, but can be overriden by an RTV definition.
Definition: OgreTextureDefinition.h:127
@ NMS_TANGENT
Definition: OgreShaderExNormalMapLighting.h:111
void doSet(void *target, const String &val)
@ ACT_INVERSE_VIEWPROJ_MATRIX
Provides inverse of concatenated view and projection matrices.
Definition: OgreGpuProgramParams.h:961
void beginOcclusionQuery()
ConstMapIterator< TerrainSlotMap > ConstTerrainIterator
Definition: OgreTerrainGroup.h:462
static const IdString FwdClusteredLightsPerCell
Definition: OgreHlms.h:892
void initialiseExtensions()
GL3PlusSupport::initialiseExtensions
void setSpecular(const ColourValue &specular)
Sets the specular colour reflectance properties of every Pass in every Technique.
virtual void position(Real x, Real y, Real z)
Add a vertex position, starting a new vertex at the same time.
OperationType operationType
Definition: OgreHlmsPso.h:186
virtual Real getSquaredRenderingDistance(void) const
Gets the squared distance at which batches are no longer rendered.
Definition: OgreStaticGeometry.h:628
String getValue() const
Returns a string value depending on the type of the AbstractNode.
const String & getSchemeName(void) const
Returns the scheme to which this technique is assigned.
uint16 mRefCount
Definition: OgreDescriptorSetUav.h:241
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:54
Definition: OgreComPtr.h:90
virtual const AxisAlignedBox & getBoundingBox(void) const
const TextureUnitState * getTextureUnitState(const String &name) const
Retrieves the Texture Unit State matching name.
void setTexture(PbsMobileTextureTypes texType, TexturePtr &newTexture, const PbsUvAtlasParams &atlasParams)
Sets a new texture for rendering.
UINT BufferCount
Definition: OgreD3D11LegacySDKEmulation.h:60
static const Aabb BOX_INFINITE
Definition: C/OgreAabb.h:162
virtual void _notifyStaticDirty(void) const
Called by SceneManager when it is telling we're a static node being dirty Don't call this directly.
StackVector()
Definition: OgreStackVector.h:58
const ShaderFunctionList & getFunctions() const
Get the function list of this program.
Definition: OgreShaderProgram.h:137
virtual void _render(const CbDrawCallIndexed *cmd)=0
Renders the VAO. Assumes _setVertexArrayObject has already been called.
Vertex Array Objects do not need to change when: The same (internal) vertex buffer is still bound.
Definition: OgreMultiSourceVertexBufferPool.h:62
VertexData * clone(bool copyData=true, HardwareBufferManagerBase *mgr=0) const
Clones this vertex data, potentially including replicating any vertex buffers.
@ FromSysRamToStorage
OnSystemRam -> OnStorage.
Definition: OgreTextureGpuListener.h:55
static const IdString DetailOffsetsD2
Definition: OgreHlmsPbsMobile.h:129
TexBufferPacked * gridBuffer
Definition: OgreForwardPlusBase.h:64
T * addCommand()
Definition: OgreObjCmdBuffer.h:75
void bindGpuProgramPassIterationParameters(GpuProgramType gptype)
See RenderSystem.
int getMask() const
Returns the mask bitfield.
Definition: OgreShaderFunctionAtom.h:139
@ PBSM_BLEND_GRAIN_MERGE
Definition: OgreHlmsPbsPrerequisites.h:92
ResourceToTexExtensionMap mAdditionalTextureExtensionsPerGroup
Definition: OgreHlmsManager.h:129
struct zzip_dir ZZIP_DIR
Definition: OgreZip.h:39
@ GCT_SAMPLER3D
Definition: OgreGpuProgramParams.h:79
@ SPC_LIGHTPOSITIONVIEW_SPACE3
Definition: OgreShaderParameter.h:230
static String Type
Definition: OgreShaderExTextureAtlasSampler.h:165
Atom message_type
Definition: OgreX11EGLSupport.h:94
static const ArrayMatrixAf4x3 IDENTITY
Definition: C/OgreArrayMatrixAf4x3.h:184
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: OgreMain/include/OgreSmallVector.h:263
VEdges edges
Definition: OgreLodData.h:107
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
@ ST_GENERIC
Definition: OgreSceneManager.h:2836
virtual void frameEnded(void)
Called when the frame has fully ended (ALL passes have been executed to all RTTs)
const String & getQueuedAsString() const
Returns a string representing the parsed material(s)
Summary class collecting together vertex source information.
Definition: OgreVertexIndexData.h:51
Real getRadiusOrigin() const
Returns the radius of a sphere enclosing the aabb from origin as center.
static FontManager & getSingleton(void)
Override standard Singleton retrieval.
GLSL ES target language writer implementation.
Definition: OgreShaderGLSLESProgramWriter.h:54
void finaliseDeltaValues(const Rect &rect)
Promote the delta values calculated to the runtime ones (this must be called in the main thread).
virtual void _detachDepthBuffer()
ushort newLodIndex
New level of detail index.
Definition: OgreLodListener.h:69
bool hasSeparateFresnel(void) const
Whether the same fresnel term is used for RGB, or individual ones for each channel.
void Reset() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:231
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:1022
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.
TextureUnitState * getTextureUnitState(const String &name)
Retrieves the Texture Unit State matching name.
virtual VertexDeclaration * createVertexDeclaration(void)
Definition: OgreHardwareBufferManager.h:465
static const IdString NormalWeightTex
Definition: OgreHlmsPbs.h:495
GLSLProgramManager(const GL3PlusSupport &support)
virtual void swapBuffers(void)
Swaps the frame buffers to display the next frame.
void clearTextureMetadataCache(void)
virtual bool setStatic(bool bStatic)
Turns this Node into static or dynamic.
virtual ~GL3PlusStagingTexture()
void setName(const String &name)
Sets a custom name for this node.
Definition: OgreMovableObject.h:185
virtual void _saveJson(const HlmsDatablock *datablock, String &outString, HlmsJsonListener *listener, const String &additionalTextureExtension) const
PixelFormatGpu getPixelFormat(void) const
bool mSeparateBlend
Used to determine if separate alpha blending should be used for color and alpha channels.
Definition: OgreHlmsDatablock.h:174
void createRenderTexture()
void setCubicTexture(TextureGpu *const *texPtrs, bool forUVW=false)
Sets this texture layer to use a combination of 6 texture maps, each one relating to a face of a cube...
static MeshManager & getSingleton(void)
Override standard Singleton retrieval.
long y
Definition: OgreTerrainGroup.h:326
static GLsync waitFor(GLsync fenceName)
Will stall undefinitely until GPU finishes (signals the sync object).
bool addRenderWindow(D3D11RenderWindowBase *renderWindow) const
const Vector3 getCorner3(void) const
Gets the coordinate of corner 3.
Definition: OgreVolumeOctreeNode.h:472
void setMaxSupportedAnisotropy(Real s)
Set the maximum supported anisotropic filtering.
Definition: OgreRenderSystemCapabilities.h:808
static const IdString UsePlanarReflections
Definition: OgreHlmsPbs.h:486
bool sharesSkeletonInstance() const
Returns whether this entity shares it's SkeltonInstance with other entity instances.
Definition: OgreEntity.h:567
static const IdString BlendModeIndex14
Definition: OgreUnlitProperty.h:125
void _notifyWorldGeometryStageStarted(const String &description)
Notify this manager that one stage of world geometry loading has been started.
@ PF_BYTE_BGRA
4 byte pixel format, 1 byte for blue, 1 byte for green, 1 byte for red and one byte for alpha
Definition: OgrePixelFormat.h:94
DefaultSphereSceneQuery(SceneManager *creator)
void _addChild(OverlayElement *elem)
const IesLoader * getProfile(Light *light) const
Returns the profile associated with the light.
bool isReloadable(void) const
Returns true if the Resource is reloadable, false otherwise.
Real inputBias
How to bias the input values provided (if any)
Definition: OgreTerrain.h:390
TrackVertexColourEnum
Definition: OgreCommon.h:303
virtual bool shouldStayLoaded(TextureGpu *texture)
Return true if this TextureGpu should likely stay loaded or else graphical changes could occur.
Definition: OgreVctLighting.h:337
virtual int32 getCellRangeMinX() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:163
bool isHidden() const
Indicates whether the window was set to hidden (not displayed)
Definition: OgreD3D11RenderWindow.h:65
void _setTextureBlendMode(size_t unit, const LayerBlendModeEx &bm)
Sets the texture blend modes from a TextureUnitState record.
RenderWindow()
Default constructor.
void _setProbeRenderInProgress(CubemapProbe *probe)
Definition: OgreParallaxCorrectedCubemapBase.h:138
vector< TerrainLayerSampler >::type TerrainLayerSamplerList
Definition: OgreTerrainMaterialGenerator.h:125
@ OPT_2
Optimisation level 2.
Definition: OgreD3D9HLSLProgram.h:158
VectorImpl::iterator iterator
Definition: OgreCommon.h:463
void setTextureGpuManagerListener(TextureGpuManagerListener *listener)
Sets a new listener.
XVisualInfo * XGetVisualInfo(Display *nativeDisplayType, int mask, XVisualInfo *info, int *n)
@ SPC_POSTOLIGHT_WORLD_SPACE7
Definition: OgreShaderParameter.h:144
virtual void getMemoryStats(MemoryStatsEntryVec &outStats, size_t &outCapacityBytes, size_t &outFreeBytes, Log *log) const
Retrieves memory stats about our GPU pools being managed.
Real getBoundsPaddingFactor(void)
Gets the factor by which the bounding box of an entity is padded.
static const IdString UvCount1
Definition: OgreHlms.h:835
const LightList & getLights(void) const
Overridden from Renderable.
virtual bool isFormatSupported(TextureType ttype, PixelFormat format, int usage)
Returns whether this render system can natively support the precise texture format requested with the...
Specialisation of HighLevelGpuProgram to encapsulate shader objects obtained from compiled shaders wr...
Definition: OgreGLSLShader.h:62
virtual void _beginUpdate()
Method for manual management of rendering : fires 'preRenderTargetUpdate' and initialises statistics ...
Definition: OgreD3D11Mappings.h:43
LodStrategy(const String &name)
Constructor accepting name.
void addFrame(Real frames)
Plays the animation forward (or backwards if negative)
virtual Item * createItem(const String &meshName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME, SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC)
Create an Item (instance of a discrete mesh).
DefaultMipmapGen
Definition: OgreTextureGpuManager.h:86
void exportMesh(const Mesh *pMesh, DataStreamPtr stream, Endian endianMode=ENDIAN_NATIVE)
Exports a mesh to the file specified.
static void registerCodec(Codec *pCodec)
Registers a new codec in the database.
Definition: OgreCodec.h:84
void setLayerSpecularMappingEnabled(bool enabled)
Whether to support specular mapping per layer in the shader (default true).
Implements the concentric shadow mapping algorithm.
Definition: OgreShadowCameraSetupConcentric.h:49
@ LB_BlendAverage
Definition: OgreShaderExLayeredBlending.h:55
@ ID_COMPUTE
Definition: OgreScriptCompiler.h:1036
virtual Real getTimeToLive(void) const
Gets the time each particle will live for.
void addTextureSource(uint32 texUnitIdx, const String &textureName, int32 textureArrayIndex, int32 mipmapLevel, PixelFormatGpu pixelFormat)
SourceModifier sourceModifier
Definition: OgreShaderExLayeredBlending.h:100
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.
void setLength(Real len)
Sets the length of the animation.
GpuProgramParametersSharedPtr computeParams
Definition: OgreHlmsPso.h:294
void setDefiner(TerrainDefiner *terrainDefiner)
Definition: OgreTerrainPagedWorldSection.h:168
virtual void _setSamplersCS(uint32 slotStart, const DescriptorSetSampler *set)=0
@ VRM_CONSTANT
Exact vertex count to be removed from each submesh.
Definition: OgreLodConfig.h:72
MemoryDataStream(DataStreamPtr &sourceStream, bool freeOnClose=true, bool readOnly=false)
Create a stream which pre-buffers the contents of another stream.
void loadPage(PageID pageID, bool forceSynchronous=false)
Overridden from PagedWorldSection.
int member
Definition: OgreComPtr.h:189
static const uint32 CHUNK_SECTIONDECLARATION_ID
Definition: OgrePagedWorld.h:65
ResourceAccess::ResourceAccess access
Definition: OgreCompositorPassUavDef.h:62
bool validateScheme(const String &schemeName)
Validate a given scheme.
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 ...
PackingMethod packingMethod
Definition: OgreHlmsTextureManager.h:102
void _createInternalResources(NativeWindowType window)
Atom mAtomDeleteWindow
Definition: OgreX11EGLSupport.h:160
@ M_SUBMESH_LOD
Definition: OgreMeshFileFormat.h:75
void convertFromTexture(TextureGpu *texture, uint8 minMip, uint8 maxMip, bool automaticResolve=true)
Synchronously downloads the selected mips from a TextureGpu into this Image.
virtual void setCellSize(const Vector3 &sz)
Set the size of the cells in the grid.
String materialName
Definition: OgreStaticGeometry.h:166
virtual_l1 const SceneNode * getSceneNode(IdType id) const
D3D11StereoDriverBridge(StereoModeType stereoMode)
@ ID_CLEAR_STENCIL
Definition: OgreScriptCompiler.h:887
Definition: OgreGLES2VaoManager.h:38
@ IM_USEBONEDUALQUATERNIONS
Definition: OgreCommon.h:368
virtual void regressFrame(void)=0
virtual void _convertOpenVrProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest)
Converts an OpenVR projection matrix to have the proper depth range and reverse Z settings.
const String & getType(void) const
Return the type code of this Archive.
Definition: OgreArchive.h:219
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:1014
@ GCT_BOOL3
Definition: OgreGpuProgramParams.h:118
virtual bool addRenderWindow(D3D11RenderWindowBase *renderWindow)=0
virtual void _setRenderOperation(const v1::CbRenderOp *cmd)
T operator-=(const T &sub)
Definition: OgreAtomicObject.h:108
Real getRadius() const
Returns the radius of a sphere enclosing the aabb from the outside at center mCenter.
String getValue() const
Returns a string value depending on the type of the AbstractNode.
const HlmsTextureManager::MetadataCacheEntry * getMetadataCacheEntry(IdString aliasName) const
Retrieves an entry in the metadata cache that was loaded via HlmsTextureManager::importTextureMetadat...
virtual void _validateAndFinish(void)
Checks that paremeters are correctly set, and finalizes whatever needs to be done,...
PixelBox * calculateLightmap(const Rect &rect, const Rect &extraTargetRect, Rect &outFinalRect)
Calculate (or recalculate) the terrain lightmap.
@ PF_D24_UNORM
Depth texture format 24 bits for depth.
Definition: OgrePixelFormat.h:344
void setTransparencyCastsShadows(bool enabled)
Sets whether objects using this material be classified as opaque to the shadow caster system.
Definition: OgreMaterial.h:191
virtual void getBestDepthStencil(GLenum internalFormat, GLenum *depthFormat, GLenum *stencilFormat)
Definition: OgreGLES2RenderTexture.h:86
size_t getPoolIndex(ConstBufferPoolUser *user) const
Gets an ID corresponding to the pool this user was assigned to, unique per hash.
virtual TerrainGroup * getTerrainGroup()
Get the TerrainGroup which this world section is using.
Definition: OgreTerrainPagedWorldSection.h:107
IndirectBufferPacked * createIndirectBuffer(size_t sizeBytes, BufferType bufferType, void *initialData, bool keepAsShadow)
Creates an indirect buffer.
virtual bool supportsFormat(uint32 width, uint32 height, uint32 depth, uint32 slices, PixelFormatGpu pixelFormat) const =0
D3D11 has restrictions about which StagingTextures can be uploaded to which textures based on texture...
Definition: OgreMain/include/OgreSmallVector.h:163
const String & getType(void) const
Get the type of the object to be created.
Handles the management of skeleton resources.
Definition: OgreOldSkeletonManager.h:53
@ MEMCATEGORY_COUNT
Definition: OgreMemoryAllocatorConfig.h:180
HlmsComputeJob * clone(const String &cloneName)
HWND getWindowHandle() const
Definition: OgreWin32Window.h:95
void _setSampleDescription(SampleDescription desc, SampleDescription validatedSampleDesc)
For internal use.
uint16 mNumRaysPerPixel
Number of rays per pixel in terms of mDepthProbeResolution.
Definition: OgreIrradianceField.h:68
TriangleLightFacingList triangleLightFacings
Triangle light facing states.
Definition: OgreEdgeListBuilder.h:130
FileHandleDataStream(const String &name, FILE *handle, uint16 accessMode=READ)
Create named stream from a C file handle.
Command object for setting macro defines.
Definition: OgreD3D9HLSLProgram.h:62
void createWorkspace(void)
virtual void _update(void)
Matrix4 getVrProjectionMatrix(size_t eyeIdx) const
ConstAnimationStateIterator getAnimationStateIterator(void) const
Get an iterator over all the animation states in this set.
@ PT_LONG
Definition: OgreStringInterface.h:59
virtual PageContent * createContent(const String &typeName)
Create a new PageContent within this collection.
virtual_l1 void colour(Real r, Real g, Real b, Real a=1.0f)
Add a vertex diffuse colour to a vertex.
TextureTypes::TextureTypes textureType
Definition: OgreTextureGpuManager.h:256
Class defining a generic OGRE plugin.
Definition: OgrePlugin.h:80
const FloatRect & getTexcoordRect(void) const
getTexcoordRect() returns the previous value set by setTexcoordRect().
Definition: OgreBillboard.h:219
void _updateAnimation(void)
Advanced method to perform all the updates required for an animated entity.
StrideChanger(size_t _offsetAfterPadding, size_t _paddedBytes)
Definition: OgreD3D11VaoManager.h:60
@ CenterZero
All subsamples are at 0, 0; effectively "disabling" msaa.
Definition: OgreCommon.h:921
virtual ~NULLTextureManager()
const DoubleConstantList & getDoubleConstantList() const
Get a reference to the list of double constants.
Definition: OgreGpuProgramParams.h:1900
@ GCT_MATRIX_3X4
Definition: OgreGpuProgramParams.h:90
const_iterator begin() const
Definition: OgreCommon.h:484
StereoModeType
Defines the stereo mode types.
Definition: OgreCommon.h:337
Descriptor sets describe what textures should be bound together in one place.
Definition: OgreDescriptorSetTexture.h:69
SceneManager * _getManager(void) const
Get the manager of this object, if any (internal use only)
Definition: OgreMovableObject.h:166
virtual ~MeshSerializerImpl()
void setDeviceName(const String &name)
sets the device name for Render system
Definition: OgreRenderSystemCapabilities.h:702
virtual void eventOccurred(const String &eventName, const NameValuePairList *parameters=0)=0
A rendersystem-specific event occurred.
@ ID_OUT_BUFFER
Definition: OgreScriptCompiler.h:828
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...
Vector3 getDiffuse(void) const
const ParameterList & getParameters(void) const
Retrieves a list of parameters valid for this object.
Definition: OgreStringInterface.h:147
@ ID_ALLOW_WRITE_AFTER_WRITE
Definition: OgreScriptCompiler.h:898
bool isAnisotropic(void) const
Definition: OgreVctLighting.h:310
Structure for automatic Lod configuration.
Definition: OgreLodConfig.h:51
Bone * getParentBone(void) const
Gets this Bones's parent (NULL if no parent).
Definition: Animation/OgreTagPoint.h:119
virtual ~ShaderProgramWriterGLSLESFactory()
Definition: OgreShaderGLSLESProgramWriter.h:145
uint32 getIblTargetTextureFlags(PixelFormatGpu pixelFormat) const
ScriptingAllocatedObject AbstractNodeAlloc
Definition: OgreMemoryAllocatorConfig.h:295
void setFadeAttenuationRange(bool fade)
Attenuates the light by the attenuation range, causing smooth endings when at the end of the light ra...
Definition: OgreForwardPlusBase.h:218
virtual ~D3D11DepthPixelBuffer()
@ RSC_VAO
Support for Vertex Array Objects (VAOs)
Definition: OgreRenderSystemCapabilities.h:269
virtual Real getShadowDirLightTextureOffset(void) const
Gets the proportional distance which a texture shadow which is generated from a directional light wil...
Definition: OgreSceneManager.h:2365
virtual void _removeManuallyActiveProbe(CubemapProbe *probe)
void destroyWorldSection(PagedWorldSection *s)
Destroy an instance of PagedWorldSection.
Per pixel Lighting extension sub render state implementation.
Definition: OgreShaderExPerPixelLighting.h:60
DatablockEntry()
ResourceGroup in which it was defined, if any.
Definition: OgreHlms.h:100
IdString mPrePassSsrTexture
Definition: OgreCompositorPassSceneDef.h:93
@ FOG_NONE
No fog. Duh.
Definition: OgreCommon.h:239
static bool findFirstAppearance(const VertexArrayObjectArray &vao, const VertexBufferPacked *vertexBuffer, size_t &outVaoIdx, size_t &outVertexBufferIdx)
Finds the first occurence of 'vertexBuffer' pointer in vao, and returns its indexes so that vao[outVa...
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
VectorIterator< GeometryBucketList > GeometryIterator
Iterator over geometry.
Definition: OgreStaticGeometry.h:296
@ Uav
After the barrier, data can be used as an UAV.
Definition: OgreResourceTransition.h:97
virtual bool hasManualBones(void) const
Are there any manually controlled bones?
Definition: OgreSkeleton.h:360
void _setTwin(SceneMemoryMgrTypes memoryManagerType, NodeMemoryManager *twinMemoryManager)
@See mMemoryManagerType
const String & getShaderCachePath() const
Get the output shader cache path.
Definition: OgreShaderGenerator.h:198
void _notifyIndexBufferDestroyed(HardwareIndexBuffer *buf)
Notification that a hardware index buffer has been destroyed.
Definition: OgreHardwareBufferManager.h:542
virtual void getRenderOperation(RenderOperation &op)
Get the render operation for this buffer.
virtual bool queryIsTransferDone(void)
Definition: OgreAsyncTicket.h:81
virtual bool setStatic(bool bStatic)
Turns this Node into static or dynamic.
Definition: OgreUnlitProperty.h:41
vector< MemoryStatsEntry >::type MemoryStatsEntryVec
Definition: OgreVaoManager.h:178
Camera * getDefaultCamera() const
Gets the default camera passed through mDefaultViewport.
Definition: OgreCompositorWorkspace.h:345
uint8 mDefaultRenderQueueId
Definition: OgreOverlayManager.h:71
bool load(StreamSerialiser &stream)
Load this data from a stream (returns true if successful)
virtual void addBufferInput(size_t inputChannel, IdString name)
Buffers.
virtual void execute(const Camera *lodCamera)
void finaliseNormals(const Rect &rect, PixelBox *normalsBox)
Finalise the normals.
void _applyAnimation(const TransformArray &boneTransforms)
virtual void getShadowCamera(const SceneManager *sm, const Camera *cam, const Light *light, Camera *texCam, size_t iteration, const Vector2 &viewportRealSize) const
Returns a uniform shadow camera with a focused view.
virtual void _notifyOrigin(const String &origin)
Notify this resource of it's origin.
Definition: OgreResource.h:443
ChunkParameters * parameters
The parameters with which the chunktree got loaded.
Definition: OgreVolumeChunk.h:121
virtual ResourcePtr getByHandle(ResourceHandle handle)
Retrieves a pointer to a resource by handle, or null if the resource does not exist.
vector< PlaneBoundedVolume >::type PlaneBoundedVolumeList
Definition: OgrePlaneBoundedVolume.h:131
bool isAutoDepthStencil() const
@ SHADOWMAP_UNIFORM
Definition: OgreCompositorShadowNodeDef.h:49
virtual void copyData(HardwareBuffer &srcBuffer)
Copy all data from another buffer into this one.
Definition: OgreHardwareBuffer.h:300
multimap< Real, Vertex * >::type CollapseCostHeap
Definition: OgreLodData.h:61
static const IdString VctNumProbes
Definition: OgreHlmsPbs.h:553
IdString getName(void) const
Definition: OgreCompositorWorkspaceDef.h:131
@ ACT_DERIVED_LIGHT_SPECULAR_COLOUR_ARRAY
Array of derived light specular colours (count set by extra param)
Definition: OgreGpuProgramParams.h:1139
VectorImpl::size_type size_type
Definition: OgreCommon.h:461
ColourBufferType getDrawBuffer() const
Returns the current colour buffer type for this viewport.
const void * _mapForRead(size_t offset, size_t sizeBytes)
Maps the buffer for read acces for the CPU.
Definition: OgreHlmsTexturePack.h:48
IdString keyName
Definition: OgreHlmsCommon.h:145
const String & getResourceGroup(void) const
Gets the resource group of the ultimate parent Material.
virtual ~SkeletonSerializer()
virtual void setRenderQueueGroup(uint8 queueID)=0
Sets which render queue group this renderer should target with it's output.
virtual void setPoolSize(size_t size)
Adjusts the size of the pool of billboards available in this set.
@ PFG_R1_UNORM
Definition: OgrePixelFormatGpu.h:112
NULLStagingTexture(VaoManager *vaoManager, PixelFormatGpu formatFamily, size_t size)
LockOptions
Locking options.
Definition: OgreHardwareBuffer.h:123
unsigned short getNumPasses(void) const
Retrieves the number of passes.
Radian & operator*=(Real f)
Definition: OgreMath.h:76
BasicBlock const *const * _getBlocks(const HlmsBasicBlock &blockType) const
Gets all blocks of a given type.
Default implementation of PlaneBoundedVolumeListSceneQuery.
Definition: OgreSceneManager.h:2795
uint16 texUnit
Definition: OgreCbTexture.h:47
vector< TexturePtr >::type TexturePtrList
Definition: OgreGL3PlusTextureManager.h:41
@ PT_VECTOR3
Definition: OgreStringInterface.h:62
PerPixelLighting()
Class default constructor.
bool getPointSpritesEnabled(void) const
Returns whether point sprites are enabled when rendering a point list.
SubItem * getSubItem(size_t index)
Gets a pointer to a SubItem, ie a part of an Item.
static const IdString DiffuseMapCount7
Definition: OgreHlmsUnlitMobile.h:115
CompositorShadowNode(IdType id, const CompositorShadowNodeDef *definition, CompositorWorkspace *workspace, RenderSystem *renderSys, TextureGpu *finalTarget)
Real minTimeMillisecs
The minimum frame time this profile has taken in milliseconds.
Definition: OgreProfiler.h:282
virtual ~ConstBufferPool()
static const IdString NumArrayTextures
Number of texture arrays actually baked.
Definition: OgreUnlitProperty.h:65
Real mVplLinearAtten
Definition: OgreInstantRadiosity.h:205
static const IdString LightsPoint
Definition: OgreHlms.h:846
@ TEXCALC_PROJECTIVE_TEXTURE
Projective texture.
Definition: OgreRenderSystem.h:73
const WorldSectionFactoryMap & getWorldSectionFactories() const
Get a reference to the registered strategies.
virtual const Element & getChainElement(size_t chainIndex, size_t elementIndex) const
Get the detail of a chain element.
@ LostResidency
Resident -> OnStorage Resident -> OnSystemRam.
Definition: OgreTextureGpuListener.h:62
A staging buffer is a buffer that resides on the GPU and be written to/from both CPU & GPU However th...
Definition: OgreNULLStagingBuffer.h:46
Concrete IteratorWrapper for const access to the underlying key-value container.
Definition: OgreIteratorWrapper.h:352
int int32
Definition: OgrePlatform.h:457
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:249
const char * toString(ResourceAccess value)
@ PF_ASTC_SRGB8A8_8X8_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 8x8)
Definition: OgrePixelFormat.h:303
AtomicObject(const T &initial)
Definition: OgreAtomicObject.h:47
void updateDebugDisplay(Page *p, SceneNode *sn)
Update the contents of the passed in SceneNode to reflect the debug display of a given page.
virtual void unsetBinding(unsigned short index)
Removes an existing binding.
vector< Edge >::type EdgeList
Definition: OgreEdgeListBuilder.h:100
int visualid
Definition: OgreX11EGLSupport.h:85
Vector3 position
Definition: OgreStaticGeometry.h:178
@ M_MESH_LOD_MANUAL
Definition: OgreMeshFileFormat.h:245
virtual void setTextureType(TextureTypes::TextureTypes textureType)
void clearAll(void)
Clears everything: All node aliases, and their connections (including output connection).
@ ENV_CURVED
Envmap based on dot of vector from camera to vertex and vertex normal, good for curves.
Definition: OgreTextureUnitState.h:103
const uint * getUnsignedIntPointer(size_t pos) const
Get a pointer to the 'nth' item in the uint buffer.
Definition: OgreGpuProgramParams.h:1916
static GLSLMonolithicProgramManager * getSingletonPtr(void)
void addUavSource(uint32 texUnitIdx, const String &textureName, ResourceAccess::ResourceAccess access, int32 textureArrayIndex, int32 mipmapLevel, PixelFormatGpu pixelFormat, bool allowWriteAfterWrite)
virtual void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
virtual String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
size_t getInstanceDataStepRate() const
Get the number of instances to draw using the same per-instance data before advancing in the buffer b...
const String & getSkeletonName(void) const
Gets the name of any linked Skeleton.
Definition: OgreX11EGLSupport.h:95
@ RenderWindowSpecific
Indicates this texture contains a RenderWindow.
Definition: OgreTextureGpu.h:127
Real inputScale
How to scale the input values provided (if any)
Definition: OgreTerrain.h:388
static CommandBufferExecuteFunc execute_drawCallStrip
Definition: OgreCommandBuffer.h:73
@ STALL_PARTIAL
Next map call will cause a stall.
Definition: OgreStagingBuffer.h:48
static const String & getPointLightExtruderVs_1_1Finite(void)
Get FINITE extruder program source for point lights, compatible with vs_1_1.
Definition: OgreShadowVolumeExtrudeProgram.h:283
virtual void passEventRaised(MaterialSerializer *ser, SerializeEvent event, bool &skip, const Pass *pass)
Called when pass section event raised.
Definition: OgreMaterialSerializer.h:111
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:220
@ ACT_SURFACE_SHININESS
Surface shininess, as set in Pass::setShininess.
Definition: OgreGpuProgramParams.h:1026
String getBottomLeftBorderUVString() const
ArrayReal mChunkBase[16]
Definition: C/OgreArrayMatrix4.h:72
ChannelRouteList & _getChannelRoutes(void)
Gets direct access to the channel route (aka the interconnections between all of our nodes).
Definition: OgreCompositorWorkspaceDef.h:250
TextureSourceType
Definition: OgreTextureGpu.h:164
UpdateLodRequest(uint8 _firstRq, uint8 _lastRq, const ObjectMemoryManagerVec *_objectMemManager, const Camera *_camera, const Camera *_lodCamera, Real _lodBias)
Definition: OgreSceneManager.h:139
StringStream stringstream
Definition: OgrePrerequisites.h:591
static SkeletonManager & getSingleton(void)
Override standard Singleton retrieval.
virtual void remove(const String &name)
Remove a single resource by name.
void setDesiredDepthBufferFormat(PixelFormat desiredDepthBufferFormat)
Set the desired depth buffer format.
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:53
Class representing an image file.
Definition: OgreImage2.h:55
void setAreaLightForwardSettings(uint16 areaLightsApproxLimit, uint16 areaLightsLtcLimit)
Area lights use regular Forward.
GLES2Context * _getMainContext()
Returns the main context.
Definition: OgreGLES2RenderSystem.h:441
void endGPUEvent(const String &event)
Mark the end of a GPU event group.
size_t vertexSet
The vertex set these vertices came from.
Definition: OgreEdgeListBuilder.h:65
static bool readLayerDeclaration(StreamSerialiser &ser, TerrainLayerDeclaration &targetdecl)
Utility method to read a layer declaration from a stream.
const CompositorChannelVec & getInputChannel() const
Definition: OgreCompositorNode.h:221
SmallVector(unsigned Size, const T &Value=T())
Definition: OgreMain/include/OgreSmallVector.h:774
virtual Listener * getListener(void) const
Gets the current listener for this OldNode.
Definition: OgreOldNode.h:648
DXGI_MODE_SCANLINE_ORDER ScanlineOrdering
Definition: OgreD3D11LegacySDKEmulation.h:68
bool operator<(SharedPtr< T > const &a, SharedPtr< U > const &b)
Definition: OgreSharedPtr.h:364
@ CAPS_CATEGORY_COMMON_3
Definition: OgreRenderSystemCapabilities.h:68
void setColumnMajorMatrices(bool columnMajor)
Sets whether matrix packing in column-major order.
Definition: OgreD3D9HLSLProgram.h:188
virtual ~Listener()
Need virtual destructor in case subclasses use it.
Definition: OgreResourceBackgroundQueue.h:104
uint32 mHash
Definition: OgreIdString.h:99
virtual void _freeUnusedBufferCopies(void)
Free all unused vertex buffer copies.
Definition: OgreHardwareBufferManager.h:516
PixelFormatGpu
The pixel format used for images, textures, and render surfaces.
Definition: OgrePixelFormatGpu.h:45
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:1352
static PropertyType getTypeForValue(const Vector3 &val)
Definition: OgreProperty.h:164
GL3PlusHardwareCounterBuffer(HardwareBufferManagerBase *mgr, const String &name)
IDirect3DDevice9 * getDeviceCreator() const
ConstVectorIterator< PoseList > ConstPoseIterator
Definition: OgreMesh.h:1028
bool wait()
Waits until another thread calls wake().
void * getUserParam() const
Definition: OgreThreads.h:105
GLint convertCompareFunction(CompareFunction func) const
GeneralAllocatedObject StreamAlloc
Definition: OgreMemoryAllocatorConfig.h:335
GLint mMagFilter
Definition: OgreGLES2HlmsSamplerblock.h:53
void setAll()
Sets all bits to 1.
Definition: OgreBitset.h:51
@ SPC_POSTOCAMERA_TANGENT_SPACE
View vector in tangent space.
Definition: OgreShaderParameter.h:124
virtual GpuProgramParametersSharedPtr getDefaultParameters(void)
Get a reference to the default parameters which are to be used for all uses of this program.
@See HlmsPso.
Definition: OgreGL3PlusHlmsPso.h:46
SampleDescription getSampleDescription(void) const
Vector3 mC6
Definition: OgreVolumeDualGridGenerator.h:51
virtual ~CompositorPass()
@ SBF_SOURCE_COLOUR
Definition: OgreBlendMode.h:239
void XQueryTree(Display *nativeDisplayType, Window nativeWindowType, Window *root, Window *parent, Window **children, unsigned int *nChildren)
Archive * archive
Pointer to the archive which is the destination.
Definition: OgreResourceGroupManager.h:309
static const IdString UvDiffuseSwizzle7
Definition: OgreUnlitProperty.h:101
virtual bool _unloadProceduralPage(Page *page)
Give a section the opportunity to unload page content procedurally.
void setNamedConstant(const String &name, const Matrix4 &m)
Sets a Matrix4 parameter to the program.
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:225
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create a counter buffer.
Definition: OgreScriptLexer.h:82
static const char * SpecularMap
Definition: OgreHlmsPbs.h:464
String doGet(const void *target) const
Technique * getBestTechnique(unsigned short lodIndex=0, const Renderable *rend=0)
Gets the best supported technique.
set< String >::type ShaderProfiles
Definition: OgreRenderSystemCapabilities.h:338
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:575
@ PFG_ASTC_RGBA_UNORM_10X8_sRGB
Definition: OgrePixelFormatGpu.h:262
void destroy(void)
Destroys the window.
virtual ~CompositorPassUav()
static const IdString UvDiffuse11
Definition: OgreUnlitProperty.h:88
void setLodStrategyName(const String &name)
Definition: OgreMesh.h:508
static bool CreateTls(TlsHandle *outTls)
Allocates a Thread Local Storage handle to use.
static void destroy()
Destroy the Shader Generator instance.
Degree & operator+=(const Degree &d)
Definition: OgreMath.h:113
@ CMPF_NOT_EQUAL
Definition: OgreCommon.h:92
virtual void setFullscreen(bool fullScreen, unsigned int widthPt, unsigned int heightPt)
Overridden - see RenderWindow.
Any(const Any &other)
Definition: OgreAny.h:75
IdString mCullCameraName
When empty, it implies mCameraName == mCullCameraName.
Definition: OgreCompositorPassSceneDef.h:88
A volume source from a 3D texture.
Definition: OgreVolumeTextureSource.h:40
void removeAllTextureAtlasTables()
Removes all texture atlas table information.
void setPointMaxSize(Real max)
Set the maximum point size, when point attenuation is in use.
virtual const String & getTargetLanguage() const =0
Return the target language of this processor.
void define(void *controlPointBuffer, VertexDeclaration *declaration, size_t width, size_t height, size_t uMaxSubdivisionLevel=PatchSurface::AUTO_LEVEL, size_t vMaxSubdivisionLevel=PatchSurface::AUTO_LEVEL, PatchSurface::VisibleSide visibleSide=PatchSurface::VS_FRONT, HardwareBuffer::Usage vbUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage ibUsage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY, bool vbUseShadow=false, bool ibUseShadow=false)
Define the patch, as defined in MeshManager::createBezierPatch.
CullingMode mCullMode
Culling mode based on the 'vertex winding'.
Definition: OgreHlmsDatablock.h:113
@ M_SUBMESH_INDEX_BUFFFER
Definition: OgreMeshFileFormat.h:80
@ 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:1066
map< IdString, CompositorNodeDef * >::type CompositorNodeDefMap
Definition: OgreCompositorManager2.h:111
PlaneBoundedVolume()
Definition: OgrePlaneBoundedVolume.h:60
void setEmissiveTexture(TextureGpu *emissiveTex)
StereoModeType getStereoMode() const
void addAtomInstance(FunctionAtom *atomInstance)
Add a function atom instance to this function.
@ PFG_BC4_UNORM
One channel compressed 4bpp. Ideal for greyscale.
Definition: OgrePixelFormatGpu.h:135
void blitToMemory(const Box &srcBox, const PixelBox &dst)
size_t getFreeMemory() const
Gets available memory in bytes.
MaterialPtr getMaterial(void) const
Retrieves the material this renderable object uses.
PixelFormatGpu pixelFormat
Definition: OgreCompositorPassComputeDef.h:64
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:52
~SharedPtr()
Definition: OgreSharedPtr.h:240
void beginOcclusionQuery()
Starts the hardware occlusion query.
bool mInstancedStereo
When true, will render in instanced stereo mode, thus outputting left & right eyes at the same time.
Definition: OgreCompositorPassSceneDef.h:141
void setNamedConstantFromTime(const String &name, Real factor)
Sets a named parameter up to track a derivation of the current time.
AnyNumeric operator+(const AnyNumeric &rhs) const
Definition: OgreAny.h:321
Usage getUsage(void) const
Returns the Usage flags with which this buffer was created.
Definition: OgreHardwareBuffer.h:334
@ PF_PVRTC2_4BPP
PVRTC (PowerVR) Version 2, 4 bpp.
Definition: OgrePixelFormat.h:156
float getIrradianceMaxPower(void) const
Definition: OgreIrradianceVolume.h:103
virtual void windowMoved(Window *rw)
Definition: OgreWindowEventUtilities.h:76
virtual void _bindBufferDirectly(size_t offset, size_t sizeBytes)
To be overriden only by GL3+.
Definition: OgreTexBufferPacked.h:84
void setNormalMapMipBias(Real mipBias)
Setup the normal map map mip bias value.
Definition: OgreShaderExNormalMapLighting.h:173
void setSortRenderQueue(uint8 rqId, RqSortMode sortMode)
Sets whether we should sort the render queue ID every frame.
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:149
Command object for specifying the Material for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:200
void abortRequest()
Abort the request.
Definition: OgreWorkQueue.h:151
void setDepth(uint32 d)
Set the depth of the texture (only applicable for 3D textures); can only do this before load();.
Definition: OgreTexture.h:254
void notifyRecreated(TextureGpu *channel)
Call this function when you're replacing the textures from oldChannel with the ones in newChannel.
Vector3 mPosition
World position.
Definition: OgreParticle.h:88
virtual void _setPointSpritesEnabled(bool enabled)
Sets whether or not rendering points using OT_POINT_LIST will render point sprites (textured quads) o...
~GL3PlusHardwareBufferManager()
Definition: OgreGL3PlusHardwareBufferManager.h:117
D3D11Driver(IDXGIAdapterN *pDXGIAdapter, const DXGI_ADAPTER_DESC1 &desc, unsigned sameNameIndex)
@ Orientation
Definition: OgreArrayMemoryManager.h:308
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:95
IteratorType & current()
Full access to the current iterator.
Definition: OgreIteratorWrapper.h:114
uint32 mNumViewports
Definition: OgreCompositorPassDef.h:116
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
PageStrategyData()
Definition: OgrePageStrategy.h:52
CompositorNodeDef(const String &name, CompositorManager2 *compositorManager)
Definition: OgreCompositorNodeDef.h:105
void setStencilBufferBitDepth(ushort num)
Definition: OgreRenderSystemCapabilities.h:518
const VertexBufferPackedVec & getVertexBuffers(void) const
Definition: OgreVertexArrayObject.h:106
void _unregisterResourceManager(const String &resourceType)
Internal method for unregistering a ResourceManager.
Real getShadowExtrusionDistance(void) const
static const IdString NumSamplers
Definition: OgreHlmsPbs.h:460
virtual ~GL3PlusNullTexture()
UavBufferPacked * createUavBuffer(size_t numElements, uint32 bytesPerElement, uint32 bindFlags, void *initialData, bool keepAsShadow)
Creates an UAV buffer based on the given parameters.
@ RSC_FIXED_FUNCTION
Supports fixed-function pipeline.
Definition: OgreRenderSystemCapabilities.h:158
This class interpolates orientations (rotations) along a spline using derivatives of quaternions.
Definition: OgreRotationalSpline.h:62
@ Right
Definition: OgreTextAreaOverlayElement.h:51
virtual void setColourChange(size_t chainIndex, Real r, Real g, Real b, Real a)
Enables / disables fading the trail using colour.
virtual void download(const PixelBox &data)
Download a box of pixels from the card.
const LayerBlendModeEx & getAlphaBlendMode(void) const
Get multitexturing alpha blending mode.
@ PFG_R8_SNORM
Definition: OgrePixelFormatGpu.h:109
const String & getName(void) const
Returns the name of this object.
Definition: OgreMovableObject.h:188
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:62
Command object for emittedEmitterQuota (see ParamCommand).
Definition: OgreParticleSystem.h:78
@ OPS_IN
The parameter is a input parameter.
Definition: OgreShaderFunctionAtom.h:86
virtual void bindBufferHS(uint16 slot)
This class represents a RenderTarget that renders to a Texture.
Definition: OgreRenderTexture.h:49
virtual void setOtherTextureCoordRange(Real start, Real end)
Set the range of the texture coordinates generated across the width of the chain elements.
Real getLeft(void) const
Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0.
RenderToVertexBuffer()
C'tor.
@ ID_ANISOTROPIC
Definition: OgreScriptCompiler.h:749
SampleDescription getSampleDescription(void) const
Returns effective sample description supported by the API.
@ ID_SHADOW_MAP_REPEAT
Definition: OgreScriptCompiler.h:1011
HardwareUniformBufferSharedPtr createShaderStorageBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create a shader storage buffer.
void lockMultipleElements(ReadRequestsArray &requests, HardwareBuffer::LockOptions lockOptions)
Utility to get multiple pointers & read specific elements of the vertex, even if they're in separate ...
virtual void collectLights(Camera *camera)=0
virtual void nodeUpdated(const Node *)
Called when a node gets updated.
Definition: OgreNode.h:91
const UnsignedIntConstantList & getUnsignedIntConstantList() const
Get a reference to the list of uint constants.
Definition: OgreGpuProgramParams.h:797
virtual void getCustomAttribute(const String &name, void *pData)
GLES2FBORenderTexture(GLES2FBOManager *manager, const String &name, const GLES2SurfaceDesc &target, bool writeGamma, uint fsaa)
void setDiffuseTexture(TextureGpu *diffuseTex)
Call this family of functions if the input texture is automatically batched We will listen for reside...
virtual ~GLES2AsyncTicket()
D3D11VideoMode * item(size_t index)
Ogre::Box Box
Definition: OgreImage.h:63
@ CE_UNSUPPORTEDBYRENDERSYSTEM
Definition: OgreScriptCompiler.h:220
bool isVisible(void) const
Indicates whether the window is visible (not minimized or obscured)
STLAllocator()
ctor
Definition: OgreMemorySTLAllocator.h:103
void destroyAllPasses(void)
CompositorPassComputeDef(CompositorNodeDef *parentNodeDef, CompositorTargetDef *parentTargetDef)
Definition: OgreCompositorPassComputeDef.h:115
virtual const Real * getOtherTextureCoordRange(void) const
Get the range of the texture coordinates generated across the width of the chain elements.
Definition: OgreBillboardChain.h:180
static const uint16 TERRAIN_MAX_BATCH_SIZE
Definition: OgreTerrain.h:279
@ GPU_INTEL
Definition: OgreRenderSystemCapabilities.h:310
GpuProgramPtr pixelShader
Definition: OgreHlmsPso.h:181
void _setDepthBufferFunction(CompareFunction func=CMPF_LESS_EQUAL)
static Real RangeRandom(Real fLow, Real fHigh)
Generate a random number within the range provided.
size_t getNumWorkspaces(void) const
Definition: OgreCompositorManager2.h:366
PagedWorldSection(const String &name, PagedWorld *parent, SceneManager *sm)
Construct a new instance, specifying the parent and scene manager.
String doGet(const void *target) const
D3D11_BOX getSubresourceBox(const Box &box) const
vector< SkeletonAnimationDef >::type SkeletonAnimationDefVec
Definition: OgreSkeletonAnimationDef.h:108
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.
bool coversEntireTarget(void) const
std::pair< RenderState *, bool > RenderStateCreateOrRetrieveResult
Definition: OgreShaderGenerator.h:217
virtual TextureGpu * _acquireTextureSlot(uint16 &outTexSlot)
Acquires a texture with a given slot.
virtual void setVerticalAlignment(GuiVerticalAlignment gva)
Sets the vertical origin for this element.
void _setViewMatrix(const Matrix4 &m)
See RenderSystem.
void beginBillboards(size_t numBillboards=0)
Begin injection of billboard data; applicable when constructing the BillboardSet for external data us...
void bind()
Bind FrameBufferObject.
VertexElementType type
Definition: OgreVertexIndexData.h:241
Definition: OgreD3D9HardwareIndexBuffer.h:39
bool getUpdateBoundingBoxFromSkeleton() const
If true, the skeleton of the entity will be used to update the bounding box for culling.
Definition: OgreEntity.h:729
virtual void flushUAVs(void)
Forces to take effect all the queued UAV binding requests.
Definition: OgreD3D11RenderSystem.h:267
NodeArrayMemoryManager(uint16 depthLevel, size_t hintMaxNodes, Node *dummyNode, size_t cleanupThreshold=100, size_t maxHardLimit=MAX_MEMORY_SLOTS, RebaseListener *rebaseListener=0)
Constructor.
@ ID_2D
Definition: OgreScriptCompiler.h:728
GpuProgramParametersSharedPtr getVertexProgramParameters(void) const
Gets the vertex program parameters used by this pass.
bool operator==(const TerrainLayerSampler &s) const
Definition: OgreTerrainMaterialGenerator.h:110
static PropertyType getTypeForValue(const Vector4 &val)
Definition: OgreProperty.h:165
SmallVectorImpl - This class consists of common code factored out of the SmallVector class to reduce ...
Definition: OgreMain/include/OgreSmallVector.h:327
virtual void setInitialColour(size_t chainIndex, const ColourValue &col)
Set the starting ribbon colour for a given segment.
ProfileHistory history
Definition: OgreProfiler.h:342
Abstract interface which classes must implement if they wish to receive events from the scene manager...
Definition: OgreRenderObjectListener.h:44
virtual void registerVertexBufferSourceAndCopy(const HardwareVertexBufferSharedPtr &sourceBuffer, const HardwareVertexBufferSharedPtr ©)
Registers a vertex buffer as a copy of another.
uint32 getID(void) const
Get the region ID of this region.
Definition: OgreStaticGeometry.h:407
void addConfig(void)
Add any special config values to the system.
const Vector3 & getAreaInnerRegion(void) const
Definition: OgreCubemapProbe.h:225
@ CB_DRAW_CALL_INDEXED_EMULATED_NO_BASE_INSTANCE
Definition: OgreCbCommon.h:40
bool applyTextureAliases(const AliasTextureNamePairList &aliasList, const bool apply=true)
Applies texture names to Texture Unit State with matching texture name aliases.
static uint32 QUERY_FRUSTUM_DEFAULT_MASK
Default query mask for frusta and cameras.
Definition: OgreSceneManager.h:235
Rectangle2DFactory()
Definition: OgreRectangle2D2.h:122
static const IdString TexMatrixCount2
Definition: OgreHlmsUnlitMobile.h:98
DXGI_FORMAT getD3dFormat(void) const
Definition: OgreD3D11Texture.h:89
TextureMapType
Definition: OgreHlmsTextureManager.h:133
static CommandBufferExecuteFunc execute_setConstantBufferGS
Definition: OgreCommandBuffer.h:76
virtual void getInterpolatedKeyFrame(const TimeIndex &timeIndex, KeyFrame *kf) const
Gets a KeyFrame object which contains the interpolated transforms at the time index specified.
void _setSamplerblock(uint8 texType, const HlmsSamplerblock *samplerblockPtr)
Same as setSamplerblock, but samplerblockPtr is a raw samplerblock retrieved from HlmsManager,...
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
Create counter buffer.
Definition: OgreGLES2DefaultHardwareBufferManager.h:149
::EGLConfig getGLConfigFromDrawable(::EGLSurface drawable, unsigned int *w, unsigned int *h)
StringVectorPtr find(const String &pattern, bool recursive=true, bool dirs=false)
Find all file or directory names matching a given pattern in this archive.
@ ID_MAX_LIGHTS
Definition: OgreScriptCompiler.h:708
void deallocate(pointer ptr, size_type)
memory deallocation (elements, used by STL)
Definition: OgreMemorySTLAllocator.h:141
virtual RaySceneQuery * createRayQuery(const Ray &ray, uint32 mask=QUERY_ENTITY_DEFAULT_MASK)
Creates a RaySceneQuery for this scene manager.
void objectDestroyed(ObjectData &outObjectData, size_t renderQueue)
Releases current memory.
void advanceDirtyInstanceMgr()
Advances all pointers needed by InstanceBatch::_updateBounds to the next pack, i.e.
Definition: OgreObjectData.h:208
GLenum getGLShaderType(GpuProgramType programType)
Get OpenGL GLSL shader type from OGRE GPU program type.
void _setPrimary(void)
Indicates that this is the primary window.
bool isActive(void) const
Overridden - see RenderWindow.
void _writeRawConstant(size_t physicalIndex, const Vector3 &vec)
Write a 3-element floating-point parameter to the program via Vector3.
@ ID_SHADOW_CASTER_MATERIAL
Definition: OgreScriptCompiler.h:624
void show(void)
Shows the overlay if it was hidden.
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.
IdString outNode
Definition: OgreCompositorWorkspaceDef.h:64
static const IdString PerceptualRoughness
Definition: OgreHlmsPbs.h:456
T x
Definition: OgreShaderPrimitives.h:43
Definition: OgreGL3PlusRenderPassDescriptor.h:47
TerrainGroup(SceneManager *sm)
Alternate constructor.
static const IdString DetailWeights
Definition: OgreHlmsPbsMobile.h:125
void setLightFixedToShadowMap(size_t shadowMapIdx, Light *light)
Marks a shadow map as statically updated, and ties the given light to always use that shadow map.
void _notifyIndex(unsigned short index)
Internal method to adjust pass index.
void setAttenuation(Real range, Real constant, Real linear, Real quadratic)
Sets the attenuation parameters of the light source i.e.
Definition: OgreGTKWindow.h:49
static void AddInternalProgram(String name, String source, String language, String entryPoint, String target, GpuProgramType type)
Add and load high level gpu program.
@ SM_Source1Modulate
Definition: OgreShaderExLayeredBlending.h:86
Definition: OgreX11EGLSupport.h:141
bool accurateTracking
Definition: OgreAsyncTextureTicket.h:66
ushort getLod(void) const
Get the LOD index.
Definition: OgreStaticGeometry.h:334
size_t getBytesOffsetToSource(uint8 sourceIdx) const
static String FACTORY_TYPE_NAME
Definition: OgreManualObject2.h:385
static float fixedToFloat(unsigned value, unsigned int bits)
Fixed point to float.
Definition: OgreBitwise.h:258
virtual const MaterialPtr & getMaterial(void) const
This struct allows a single comparison of result data no matter what the type.
Definition: OgreSceneQuery.h:354
@ ID_GEOMETRY
Definition: OgreScriptCompiler.h:1033
virtual void _hlmsPipelineStateObjectCreated(HlmsPso *newPso)
@ ID_ALPHA_OP_EX
Definition: OgreScriptCompiler.h:778
void setUseLightBuffers(bool b)
SceneManager * createSceneManager(const String &typeName, size_t numWorkerThreads, const String &instanceName=BLANKSTRING)
Create a SceneManager instance of a given type.
@ PFF_NATIVEENDIAN
Format is in native endian.
Definition: OgrePixelFormat.h:381
void fireDeviceEvent(D3D11Device *device, const String &name, D3D11Window *sendingWindow)
void setNumProbes(uint32 numProbes[3])
Sets the number of probes in each axis.
BlendChannelMasks
Definition: OgreHlmsDatablock.h:149
@ ID_2DARRAY
Definition: OgreScriptCompiler.h:731
Window * _createRenderWindow(const String &name, uint32 width, uint32 height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
@ CB_SET_CONSTANT_BUFFER_CS
Definition: OgreCbCommon.h:51
static const IdString NumSamplers
Definition: OgreUnlitProperty.h:67
vector< Geometry >::type GeometryVec
Definition: OgreVertexShadowMapHelper.h:130
const Quaternion & getOrientation(void) const
static const ArrayReal HALF
Definition: OgreMathlibC.h:45
static void lodSet(ObjectData &t, Real lodValues[ARRAY_PACKED_REALS])
size_t indexStart
Index in the buffer to start from for this operation.
Definition: OgreVertexIndexData.h:302
time_t getModifiedTime(const String &filename)
Retrieve the modification time of a given file.
Aabb getAreaLS(void) const
Definition: OgreCubemapProbe.h:206
void addOverlayElementFactory(OverlayElementFactory *elemFactory)
Registers a new OverlayElementFactory with this manager.
T value_type
Definition: OgreMemorySTLAllocator.h:73
void checkValidity(void) const
Definition: OgreDescriptorSetSampler.h:110
Vector3 pos
Position of the terrain.
Definition: OgreTerrain.h:355
virtual ~LodOutputProvider()
Definition: OgreLodOutputProvider.h:42
void _changeRenderSystem(RenderSystem *newRs)
static const int InputLayoutMask
Definition: OgreHlms.h:965
A not rotated cube.
Definition: OgreVolumeCSGSource.h:105
DefaultGpuBufferAllocator()
void _unload(void)
Internal unload method, derived from call to Material::unload.
void initializeMemoryManager(void)
void _resolveTo(TextureGpu *resolveTexture)
Immediately resolves this texture to the resolveTexture argument.
void unprepare()
Unprepare data - may be called in the background.
@ ID_TARGET_HEIGHT
Definition: OgreScriptCompiler.h:850
virtual ~GL3PlusStagingBuffer()
static const IdString BlendModeIndex1
Definition: OgreUnlitProperty.h:112
static void scale(const TextureBox &src, PixelFormatGpu srcFormat, TextureBox &dst, PixelFormatGpu dstFormat, Filter filter=FILTER_BILINEAR)
Scale a 1D, 2D or 3D image volume.
void set(const Matrix4 eyeToHead[2], const Matrix4 projectionMatrix[2])
Definition: OgreCamera.h:52
Real getLayerUVMultiplier(uint8 index) const
Get the layer UV multiplier.
virtual void touch()
'Touch' the page to let it know it's being used
@ OR_LANDSCAPELEFT
Definition: OgreFrustum.h:57
Definition: OgreDescriptorSetTexture.h:225
Camera * getCamera() const
Definition: OgreCompositorPassScene.h:101
void load(const Matrix4 &src)
Assumes src is aligned.
Definition: C/OgreArrayMatrix4.h:227
Renderable * renderable
Definition: OgreRenderQueue.h:52
TerrainLodManager(Terrain *t, const String &filename="")
virtual ~OverlayManager()
@ OT_PATCH_11_CONTROL_POINT
Definition: OgreHlmsPso.h:70
GeometryAllocatedObject StagingBufferAlloc
Definition: OgreMemoryAllocatorConfig.h:334
static const uint8 B_MASK
Definition: OgreHlmsUnlitDatablock.h:64
uint32 numStableSplits
Definition: OgreCompositorShadowNodeDef.h:74
void convertColourValue(const ColourValue &colour, uint32 *pDest)
Generates a packed data version of the passed in ColourValue suitable for use with the current Render...
@ CB_SET_TEXTURES
Definition: OgreCbCommon.h:62
@ VET_BYTE4
Definition: OgreVertexElements.h:103
@ DebugVisualizationAlbedo
Definition: OgreVctVoxelizer.h:120
Entity * getParent(void) const
Accessor to get parent Entity.
Definition: OgreSubEntity.h:135
void _notifyBarriersDirty(void)
Definition: OgreCompositorWorkspace.h:363
HlmsPbsMobileDatablock(IdString name, Hlms *creator, const HlmsMacroblock *macroblock, const HlmsBlendblock *blendblock, const HlmsParamVec ¶ms)
Valid parameters in params:
#define _OgreGL3PlusExport
Definition: OgreGL3PlusPrerequisites.h:111
float m[4][4]
Definition: OgreShaderPrimitives.h:89
ShadeOptions getShadingMode(void) const
Returns the type of light shading to be used.
virtual void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
Implementation for WorkQueue::RequestHandler.
Definition: OgreScriptCompiler.h:95
virtual void _addManuallyActiveProbe(CubemapProbe *probe)
const String & getLanguage(void) const
Overridden from GpuProgram.
const Matrix4 & getProjectionMatrix(void) const
virtual const String & getTargetLanguage(void) const
Definition: OgreShaderHLSLProgramWriter.h:128
@ ID_CULL_HARDWARE
Definition: OgreScriptCompiler.h:688
void FromEulerAnglesZYX(const Radian &fYAngle, const Radian &fPAngle, const Radian &fRAngle)
static String FACTORY_TYPE_NAME
Definition: OgreInternalCubemapProbe.h:73
bool isNaN() const
Check whether this dual quaternion contains valid values.
Definition: OgreDualQuaternion.h:148
static const IdString UvDiffuseSwizzle6
Definition: OgreUnlitProperty.h:100
void _swapAllFinalTargets(void)
void build(const v1::Skeleton *skeleton, const v1::Animation *animation, Real frameRate)
const MaterialPtr & getCustomShadowCasterMaterial(const SkinningType skinningType, ushort index) const
Returns the name of a custom shadow caster material for a given number of weights.
GLES2Texture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, GLES2Support &support)
vector< VertexBufferPacked * >::type VertexBufferPackedVec
Definition: OgreVertexArrayObject.h:38
virtual ~PVRTCCodec()
Definition: OgrePVRTCCodec.h:59
friend class LwString
Definition: OgreLwConstString.h:65
virtual void write(const Radian *angle, size_t count=1)
const GpuConstantDefinition * mConstantDef
The constant definition it relates to.
Definition: OgreGLSLProgram.h:68
D3D11VertexArrayObjectShared * mSharedData
Definition: OgreD3D11VertexArrayObject.h:54
virtual void _descriptorSetTexture2Destroyed(DescriptorSetTexture2 *set)
virtual void execute(const Camera *lodCamera)
virtual RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
static int ICeil(float fValue)
Definition: OgreMath.h:242
virtual void textureCoord(Real u, Real v, Real w)
Add a texture coordinate to the current vertex.
DriverVersion is used by RenderSystemCapabilities and both GL and D3D9 to store the version of the cu...
Definition: OgreRenderSystemCapabilities.h:277
VectorIterator< TextureUnitStates > TextureUnitStateIterator
Definition: OgrePass.h:501
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)
virtual void markProfileEvent(const String &eventName)
Marks an instantaneous event for graphics profilers.
GL3PlusFrameBufferDescValue()
static Real getDefaultIterationInterval(void)
Get the default iteration interval for all ParticleSystem instances.
Definition: OgreParticleSystem.h:435
LwString & a(const char *a0)
Definition: OgreLwString.h:217
bool getUseLightBuffers()
Definition: OgreHlmsPbs.h:429
static const IdString UvCount4
Definition: OgreHlms.h:838
void setShaderMacros(D3D_SHADER_MACRO *shaderMacros)
Sets shader macros created manually.
static const IdString BlendModeIdx6
Definition: OgreHlmsUnlitMobile.h:131
~GL3PlusFBOMultiRenderTarget()
FileStreamDataStream(const String &name, std::ifstream *s, bool freeOnClose=true)
Construct named read-only stream from an STL stream.
void mapOutputChannel(size_t outChannel, IdString textureName)
Maps the output channel to the given texture name, which can be either a local texture or a reference...
@ 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:180
void setAssociatedVertexData(VertexData *data)
Sets the associated VertexData which this track will update.
Definition: OgreAnimationTrack.h:660
ResourceHandle materialHandle
Handle to material used by this group.
Definition: OgreStaticFaceGroup.h:105
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.
virtual void setInitialWidth(size_t chainIndex, Real width)
Set the starting ribbon width in world units.
LodStrategy * getStrategy(const String &name)
Get the strategy with the specified name.
virtual bool getManualBonesDirty(void) const
Have manual bones been modified since the skeleton was last updated?
Definition: OgreSkeleton.h:358
Real getFrameTime(void) const
const Vector4 & getCameraPosition(void) const
virtual NumericKeyFrame * createNumericKeyFrame(Real timePos)
Creates a new KeyFrame and adds it to this animation at the given time index.
RequestHandler()
Definition: OgreWorkQueue.h:170
SceneCtlAllocatedObject LodAlloc
Definition: OgreMemoryAllocatorConfig.h:345
const LodValueArray * _getLodValues(void) const
Definition: OgreMaterial.h:505
size_t getNumSubEntities(void) const
Retrieves the number of SubEntity objects making up this entity.
IteratorWrapper< T, IteratorType, typename T::mapped_type >::ValueType ValueType
Redefined ValueType for a map/set.
Definition: OgreIteratorWrapper.h:258
bool isUseTexcoordRect(void) const
Returns true if this billboard use individual texture coordinate rect (i.e.
Definition: OgreBillboard.h:183
GpuBufferAllocator()
Definition: OgreTerrain.h:539
Definition: OgreRenderSystem.h:116
static CommandBufferExecuteFunc execute_drawCallIndexed
Definition: OgreCommandBuffer.h:70
virtual uint32 getStrategyId()
Definition: OgreTerrainAutoUpdateLod.h:80
virtual Real getMaximumDepthInputValue(void)
Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
bool hasMsaaExplicitResolves(void) const
virtual void setShadowColour(const ColourValue &colour)
Set the colour used to modulate areas in shadow.
virtual void destroyWireAabb(WireAabb *wireAabb)
Removes & destroys an WireAabb from the SceneManager.
void setFragmentProgramConstantBoolCount(ushort c)
The number of boolean constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:754
ColourValue getBackgroundDiffuse(void) const
virtual bool getForceDisableColourWrites(void) const
Used by depth texture views which need to disable colour writes when rendering to it PF_NULL targets ...
Definition: OgreRenderTarget.h:430
Maintains a pool of buffers grouped by hash ID.
Definition: OgreConstBufferPool.h:58
@ FFP_TRANSFORM
Definition: OgreShaderFFPRenderState.h:71
virtual void _descriptorSetUavDestroyed(DescriptorSetUav *set)
Real getGlyphAspectRatio(CodePoint id) const
Gets the aspect ratio (width / height) of this character.
Definition: OgreFont.h:317
void updateVertexData(bool positions, bool deltas, const Rect &rect, bool cpuData)
Tell the node to update its vertex data for a given region.
static const IdString VctDisableDiffuse
Definition: OgreHlmsPbs.h:555
@ SBF_ZERO
Definition: OgreBlendMode.h:237
@ PF_R16_SNORM
16-bit pixel format, 16 bits red (signed normalised int).
Definition: OgrePixelFormat.h:238
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.
map< IdString, String >::type PiecesMap
Definition: OgreHlmsCommon.h:158
Represents the state of an animation and the weight of its influence.
Definition: OgreAnimationState.h:60
Function * getFunctionByName(const String &name)
Get a function by a given name.
virtual size_t getConstBufferSize(void) const =0
Returns the amount of bytes that fillConstBufferData is going to fill.
virtual void destroyAllProbes(void)
InternalCubemapProbeFactory()
Definition: OgreInternalCubemapProbe.h:70
virtual Real getShadowFarDistanceSquared(void) const
Definition: OgreSceneManager.h:2344
GLenum blendFunc
Definition: OgreGLES2HlmsPso.h:59
Vector4 getLightAs4DVector(size_t index) const
void destroyInstance(PageContentCollection *c)
Definition: OgreSimplePageContentCollection.h:125
void setOverlayPosition(Real left, Real top)
Set the position of the profiler overlay, in pixels.
static const String & getDirectionalLightExtruderVs_1_1Debug(void)
Get extruder program source for debug directional lights, compatible with vs_1_1.
Definition: OgreShadowVolumeExtrudeProgram.h:266
virtual void endRenderPassDescriptor(void)
vector< Block >::type BlockVec
Definition: OgreD3D11VaoManager.h:77
This class manages the available ArchiveFactory plugins.
Definition: OgreArchiveManager.h:50
virtual uint getFSAA() const
Get the level of multisample AA to be used if this texture is a rendertarget.
Definition: OgreTexture.h:213
void dump(std::ofstream &of) const
Dump contents for diagnostics.
size_t getSizeBytes(void) const
Returns total size in bytes used in GPU by this texture including mipmaps.
static CommandBufferExecuteFunc execute_setConstantBufferInvalid
Definition: OgreCommandBuffer.h:80
static const String & getDirectionalLightExtruderArbvp1Debug(void)
Get extruder program source for debug directional lights, compatible with arbvp1.
Definition: OgreShadowVolumeExtrudeProgram.h:264
void setHomePath(const Ogre::String &path)
Definition: OgreFileSystemLayer.h:119
@ ID_SYNTAX
Definition: OgreScriptCompiler.h:634
@ M_MESH_LOD_USAGE
Definition: OgreMeshFileFormat.h:240
virtual MeshPtr convertToMesh(const String &meshName, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, bool buildShadowMapBuffers=true)
Convert this object to a Mesh.
virtual void _restoreManualHardwareResources()
bool isSky
Is this a sky surface?
Definition: OgreStaticFaceGroup.h:74
virtual void _setTextures(uint32 slotStart, const DescriptorSetTexture *set, uint32 hazardousTexIdx)
See RenderSystem.
void _registerResourceManager(const String &resourceType, ResourceManager *rm)
Internal method for registering a ResourceManager (which should be a singleton).
Specialisation of HardwareVertexBuffer for OpenGL ES.
Definition: OgreGLES2HardwareVertexBuffer.h:41
id< MTLTexture > getView(PixelFormatGpu pixelFormat, uint8 mipLevel, uint8 numMipmaps, uint16 arraySlice, bool cubemapsAs2DArrays, bool forUav)
GLSL ES program writer factory implementation.
Definition: OgreShaderGLSLESProgramWriter.h:140
const_reference at(size_type n) const
Definition: OgreCommon.h:512
SubRenderStateSet::iterator SubRenderStateSetIterator
Definition: OgreShaderSubRenderState.h:162
DefaultHardwareBufferManager()
Definition: OgreDefaultHardwareBufferManager.h:185
@ ParentMat
Definition: OgreBoneArrayMemoryManager.h:61
virtual unsigned long getResponseProcessingTimeLimit() const =0
Get the time limit imposed on the processing of responses in a single frame, in milliseconds (0 indic...
virtual Real getFogEnd(void) const
Returns the fog end distance for the scene.
HardwareVertexBufferSharedPtr()
Definition: OgreHardwareVertexBuffer.h:95
Vector3 position
Definition: OgreLodData.h:105
@ FILTER_BICUBIC
Definition: OgreImage2.h:339
virtual void setHlmsPassProperties(Hlms *hlms)
Specialisation of HardwareBuffer for a pixel buffer.
Definition: OgreHardwarePixelBuffer.h:58
virtual bool getPreferDepthTexture(void) const
virtual void setPaused(bool pause)=0
Set whether to pause further processing of any requests.
size_t find_first_of(char c, size_t pos=0) const
Definition: OgreLwConstString.h:120
float mShadowConstantBias
Definition: OgreHlmsDatablock.h:314
virtual void _setTessellationDomainTexture(size_t unit, TextureGpu *tex)
void setWBufferEnabled(bool enabled)
Sets whether or not W-buffers are enabled if they are available for this renderer.
@ CB_SET_CONSTANT_BUFFER_VS
Definition: OgreCbCommon.h:46
Window XCreateWindow(Display *nativeDisplayType, Window nativeWindowType, int left, int top, int width, int height, int dummy1, int depth, int inputOutput, int visual, int mask, XSetWindowAttributes *xSetWindowAttributes)
virtual void bindBufferCS(uint16 slot, size_t offset=0, size_t sizeBytes=0)=0
virtual void _dirtyState()
Manually mark the state of this resource as having been changed.
bool getShadowMappingUseBackFaces(void)
Definition: OgreHlmsManager.h:336
static const IdString UvDiffuse5
Definition: OgreUnlitProperty.h:82
@ ID_MODULATE_X2
Definition: OgreScriptCompiler.h:761
static LodWorkQueueWorker & getSingleton()
Vector3 getFresnel(void) const
Returns the current fresnel.
void setTexcoordIndex(uint16 texcoordIndex)
setTexcoordIndex() sets which texture coordinate rect this billboard will use when rendering.
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.
const CompositorPassSceneDef * getDefinition() const
Definition: OgreCompositorPassScene.h:111
virtual void _buildKeyFrameIndexMap(const vector< Real >::type &keyFrameTimes)
Internal method to build keyframe time index map to translate global lower bound index to local lower...
NativeDisplayType getNativeDisplay(void)
static String normalizeFilePath(const String &init, bool makeLowerCase=true)
Returns a normalized version of a file path This method can be used to make file path strings which p...
Real getMaxPointSize(void) const
Maximum point screen size in pixels.
Definition: OgreRenderSystemCapabilities.h:786
@ PF_B8G8R8A8
32-bit pixel format, 8 bits for blue, green, red and alpha.
Definition: OgrePixelFormat.h:79
void destroyNode(Transform &inOutTransform)
Releases memory acquired through.
@ SPC_POSITION_VIEW_SPACE
Position in view space.
Definition: OgreShaderParameter.h:87
virtual void _renderPhase02(Camera *camera, const Camera *lodCamera, uint8 firstRq, uint8 lastRq, bool includeOverlays)
Prompts the class to send its contents to the renderer.
TextureGpu * texture
Definition: OgreDescriptorSetUav.h:107
@ PBSM_BLEND_SCREEN
Definition: OgreHlmsPbsPrerequisites.h:87
@ SPC_POSTOLIGHT_WORLD_SPACE4
Definition: OgreShaderParameter.h:141
bool getResetsEveryUpdate() const
Does this object reset its buffer each time it updates?
Definition: OgreRenderToVertexBuffer.h:95
void _setFog(FogMode mode=FOG_NONE, const ColourValue &colour=ColourValue::White, Real expDensity=1.0, Real linearStart=0.0, Real linearEnd=1.0)
size_t rowPitch
Number of elements between the leftmost pixel of one row and the left pixel of the next.
Definition: OgrePixelBox.h:87
This is an HLMS implementation that acts as proxy to use the Material system from Ogre 1....
Definition: OgreHlmsLowLevel.h:61
void removeGPUDeviceNameRule(const String &devicePattern)
Removes a matching device name rule.
virtual_l2 void yaw(const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around the Y-axis.
@ GCT_MATRIX_3X2
Definition: OgreGpuProgramParams.h:88
GLuint getGLMultisampleFBOID() const
Get the GL id for the multisample FBO.
Definition: OgreGL3PlusFrameBufferObject.h:74
const BufferSlot & getBuffer(void) const
Definition: OgreDescriptorSetTexture.h:261
virtual void getSubsampleLocations(vector< Vector2 >::type locations)=0
Get the MSAA subsample locations.
uint16 getCompositeMapSize() const
Get the default size of the composite maps for a new terrain.
Definition: OgreTerrain.h:2086
#define OGRE_CAPS_BITSHIFT
Definition: OgreRenderSystemCapabilities.h:50
String name
The name of the profile.
Definition: OgreProfiler.h:331
virtual void endCurrent()
This is called before another context is made current.
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 setManualBone(Bone *bone, bool isManual)
Sets the given node to manual.
@ LightsVpl
Warning: Importing w/ both BuildInstantRadiosity and LightsVpl can result in an incorrect scene (VPLs...
Definition: OgreSceneFormatBase.h:73
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.
@ ID_SEPARATE_UV
Definition: OgreScriptCompiler.h:737
HlmsTypes getType(void) const
Definition: OgreHlms.h:454
bool getEnableDebugMarkers(void) const
Definition: OgreInstantRadiosity.h:324
Definition: OgreVctMaterial.h:43
PanelOverlayElement(const String &name)
Constructor.
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
unsigned char mIndex
Which of the packed values is ours. Value in range [0; 4) for SSE2.
Definition: OgreObjectData.h:41
virtual void bindToFramebuffer(GLenum attachment, uint32 zoffset)
Bind surface to frame buffer.
Abstract class representing a Texture resource.
Definition: OgreTexture.h:124
static bool startsWith(const String &str, const String &pattern, bool lowerCase=true)
Returns whether the string begins with the pattern passed in.
virtual void _notifyTextureSlotChanged(const TexturePool *newPool, uint16 slice)
@ ID_JOB
Definition: OgreScriptCompiler.h:986
virtual bool _unloadProceduralPage(Page *page, PagedWorldSection *section)
Give a manager the opportunity to unload page content procedurally.
virtual const ColourValue & getShadowColour(void) const
Get the colour used to modulate areas in shadow.
virtual void removeAll(void)
Removes all resources.
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Notifies the ultimate texture owner the buffer changed.
@ ACT_CUSTOM
A custom parameter which will come from the renderable, using 'data' as the identifier.
Definition: OgreGpuProgramParams.h:1186
void increaseRefreshRate(DXGI_RATIONAL rr)
void suggestIrradianceVolumeParameters(const Vector3 &inCellSize, Vector3 &outVolumeOrigin, Real &outLightMaxPower, uint32 &outNumBlocksX, uint32 &outNumBlocksY, uint32 &outNumBlocksZ)
Outputs suggested parameters for a volumetric texture that will encompass all VPLs.
virtual void worldGeometryPrepareStageEnded(void)
This event is fired when a stage of preparing linked world geometry has been completed.
Definition: OgreResourceGroupManager.h:150
reference front()
Definition: OgreMain/include/OgreSmallVector.h:220
GLint mBinding
GL binding handle (similar to location)
Definition: OgreGLSLProgram.h:62
static UINT _getAccessFlags(v1::HardwareBuffer::Usage usage)
static const ColourValue Red
Definition: OgreColourValue.h:63
@ PT_BOOL
Definition: OgreStringInterface.h:53
virtual void bindBufferCS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
D3D11TextureGpuManager(VaoManager *vaoManager, RenderSystem *renderSystem, D3D11Device &device)
virtual ~ResponseHandler()
Definition: OgreWorkQueue.h:206
uint8 numMipmaps
Definition: OgreTextureDefinition.h:104
virtual FogMode getFogMode(void) const
Returns the fog mode for the scene.
virtual void loadImage(const Image &img)
Loads the data from an image.
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 ...
GLint getFBConfigAttrib(GLXFBConfig fbConfig, GLint attribute, GLint *value)
Portable replacement for glXGetFBConfigAttrib.
PixelFormatGpu getCompressedPixelFormat(void) const
Definition: OgreTextureBox.h:88
void getCustomWorldSpaceCorners(ArrayVector3 outCorners[(8+ARRAY_PACKED_REALS - 1)/ARRAY_PACKED_REALS], Real customFarPlane) const
virtual void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
v1::GL3PlusHardwarePixelBuffer * buffer
Definition: OgreGL3PlusRenderTexture.h:46
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
virtual void setTimeToLive(Real ttl)
Sets the lifetime of all particles emitted.
Vector3 mTrackedPosition
This variable should be updated every frame and often represents the camera position,...
Definition: OgreParallaxCorrectedCubemapAuto.h:72
void destroyWorld(PagedWorld *world)
Destroy a world.
virtual void execute(const Camera *lodCamera)
Listener on any general material events.
Definition: OgreMaterialManager.h:70
unsigned short * pshort
Definition: OgreLodData.h:134
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.
const MeshPtr & getMesh(void) const
Gets the Mesh that this Item is based on.
ProjectionType
Specifies perspective (realistic) or orthographic (architectural) projection.
Definition: OgreFrustum.h:63
Real * ptr()
Pointer accessor for direct copying.
Definition: OgreVector4.h:139
virtual void setRenderingDistance(Real dist)
Sets the distance at which batches are no longer rendered.
Definition: OgreStaticGeometry.h:619
AtomicObject(const AtomicObject< T > &cousin)
Definition: OgreAtomicObject.h:51
static HardwareSkinningFactory * getSingletonPtr(void)
Override standard Singleton retrieval.
virtual size_t getContentCollectionCount() const
Get the number of content collections.
Bone * getBone(IdString boneName)
Gets the bone with given name. Throws if not found.
uint32 front
Definition: OgreCommon.h:818
const SubroutineMap & getSubroutineMap() const
Get map with.
Definition: OgreGpuProgramParams.h:2475
void uninstall()
Perform the final plugin uninstallation sequence.
@ Unknown
Definition: OgreTextureGpuListener.h:51
SharedPtr< UniformParameter > UniformParameterPtr
Definition: OgreShaderPrerequisites.h:75
virtual void _notifyTextureSlotChanged(const TexturePool *newPool, uint16 slice)
virtual ~DefaultWorkQueue()
void setClipPlane(ushort index, Real A, Real B, Real C, Real D)
See RenderSystem.
ProfileChildrenVec children
Definition: OgreProfiler.h:336
void setReferenceViewEnabled(bool value)
Enables to disables use of the reference view.
ushort getComputeProgramConstantIntCount(void) const
The number of integer constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:962
@ CB_SET_TEXTURE_BUFFER_DS
Definition: OgreCbCommon.h:57
bool isStatic
Definition: OgreCommon.h:656
std::pair< MemoryDataStreamPtr, CodecDataPtr > DecodeResult
Result of a decoding; both a decoded data stream and CodecData metadata.
Definition: OgreCodec.h:142
virtual const String & getType() const =0
Get the type of this sub render state factory.
A class for performing queries on a scene.
Definition: OgreSceneQuery.h:73
__strong id< MTLTexture > * textureViews
Definition: OgreMetalDescriptorSetTexture.h:65
void reserve(size_t reserveAmount)
Definition: OgreFastArray.h:283
const Aabb & getProbeShape(void) const
Definition: OgreCubemapProbe.h:228
bool isSortedForV2(void) const
GLenum blendFuncAlpha
Definition: OgreGL3PlusHlmsPso.h:60
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:825
const Matrix4 & getTextureTransformMatrix(size_t index) const
Real getMaximumDepthInputValue(void)
Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
virtual bool preCreateGpuPrograms(ProgramSet *programSet)
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:68
virtual void setHidden(bool hidden)=0
Hide (or show) the window.
virtual BackgroundProcessTicket loadResourceGroup(const String &name, Listener *listener=0)
Loads a resource group in the background.
static long _getDictionaryLong(CFDictionaryRef dict, const void *key)
const String & getName(void) const
See RenderSystem.
~ParallaxCorrectedCubemap()
@ ST_DUAL_QUATERNION
Definition: OgreShaderPrerequisites.h:96
virtual const SceneManagerMetaData & getMetaData(void) const
Get information about the SceneManager type created by this factory.
Definition: OgreSceneManager.h:2870
@ RSC_GEOMETRY_PROGRAM
Supports hardware geometry programs.
Definition: OgreRenderSystemCapabilities.h:135
void setToInverse(void)
Calculates the inverse of the matrix.
OldNodeTrackIterator getOldNodeTrackIterator(void) const
Get non-updateable iterator over node tracks.
Definition: OgreAnimation.h:419
void setAutoUpdateLod(TerrainAutoUpdateLod *updater)
BlendMode getBlendMode(unsigned short index) const
Return the blend mode of the given texture unit index.
void _setParent(OverlayContainer *parent)
Definition: OgreOverlayElement.h:434
Real getNDF(const Vector3 &posLS) const
Gets the Normalized Distance Function.
void useAncestorVertexData(TerrainQuadTreeNode *owner, uint16 treeDepthEnd, uint16 resolution)
Tell a node that it should use an anscestor's vertex data.
void doSet(void *target, const String &val)
virtual void loadPage(PageID pageID, bool forceSynchronous=false)
Ask for a page to be loaded with the given (section-relative) PageID.
virtual_l2 Vector3 getScale(void) const
Gets the scaling factor of this node.
virtual Real getBaseValue() const
Get the value of the first (highest) level of detail.
list< TexturePool >::type TexturePoolList
Definition: OgreTextureGpuManager.h:79
Definition: OgreShaderPrimitives.h:42
void clearVertices(void)
Clear all vertices.
bool useSharedVertices
Indicates if this submesh shares vertex data with other meshes or whether it has it's own vertices.
Definition: OgreSubMesh.h:73
void fromRotationTranslation(const Quaternion &q, const Vector3 &trans)
Construct a dual quaternion from a rotation described by a Quaternion and a translation described by ...
void _growToDepth(const vector< size_t >::type &bonesPerDepth)
Since skeleton's hierarchy structure is known beforehand, we use this information for setting a bette...
Definition of a pool of resources, which users can use to reuse similar resources many times without ...
Definition: OgreResourceManager.h:506
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
@ OT_PATCH_28_CONTROL_POINT
Definition: OgreHlmsPso.h:87
@ GCT_SAMPLER_WRAPPER2D
Definition: OgreGpuProgramParams.h:121
~BillboardParticleRendererFactory()
virtual Real getMinRepeatDelay(void) const
Gets the minimum duration of this emitter in seconds (see setRepeatDelay for more details)
HardwareBufferManagerBase * getHardwareBufferManager()
@ PBSM_SPECULAR
Definition: OgreHlmsPbsPrerequisites.h:59
@ RSC_NON_POWER_OF_2_TEXTURES
Supports non-power of two textures.
Definition: OgreRenderSystemCapabilities.h:123
~GL3PlusHardwareOcclusionQuery()
Object destructor.
@ RIM_LINEAR
Values are interpolated linearly.
Definition: OgreAnimation.h:110
RenderSystem::RenderSystemContext * rsContext
Definition: OgreSceneManager.h:764
void setConstant(size_t index, const Vector3 &vec)
Sets a 4-element floating-point parameter to the program via Vector3.
virtual void _executeStreaming(Image2 &image, TextureGpu *texture)
Gets executed from worker thread, right after the Image was loaded from file and we're done setting t...
Definition: OgreTextureFilters.h:73
size_t length
Amount of bytes to copy.
Definition: OgreStagingBuffer.h:93
virtual const Vector3 & getScale(void) const
Gets the scaling factor of this OldNode.
virtual void passSceneAfterFrustumCulling(CompositorPassScene *pass)
Called after a pass scene has performed frustum caulling but has yet to prepare and execute rendering...
Definition: OgreCompositorWorkspaceListener.h:88
Definition: OgreWin32EGLWindow.h:38
T & front()
Definition: OgreStackVector.h:277
Definition: OgreMetalTextureManager.h:37
void _updateAutoProperties(void)
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
GL3PlusSurfaceDesc()
Definition: OgreGL3PlusRenderTexture.h:50
void getUV(Real &u1, Real &v1, Real &u2, Real &v2) const
Get the uv coordinates for the panel.
Vector3(const Real scaler)
Definition: OgreVector3.h:89
PrefabType
Prefab shapes available without loading a model.
Definition: OgreSceneManager.h:1399
void doSet(void *target, const String &val)
@ BCT_BOOL
Definition: OgreGpuProgramParams.h:60
KfTransform *RESTRICT_ALIAS mBoneTransform
Definition: OgreSkeletonTrack.h:48
Comparator function to be used for sorting.
Definition: OgreShaderFunctionAtom.h:233
void setTop(Real Top)
Sets the top of this element in relation to the screen (where 0 = top, 1.0 = bottom)
const AxisAlignedBox & getBounds(void) const
Get the axis-aligned bounding box for this mesh.
void remove2D(OverlayContainer *cont)
Removes a 2D container from the overlay.
int visual
Definition: OgreX11EGLSupport.h:85
@ M_GEOMETRY_TEXCOORDS
Definition: OgreMeshFileFormat.h:369
FunctionAtomInstanceList & getAtomInstances()
Return list of atom instances composing this function.
Definition: OgreShaderFunction.h:156
virtual void _renderEmulatedNoBaseInstance(const CbDrawCallStrip *cmd)
@ ID_PSSM_LAMBDA
Definition: OgreScriptCompiler.h:1009
const Vector3 & getVertex(size_t vertex) const
Returns a vertex.
static const ColourValue Black
Definition: OgreColourValue.h:61
virtual ~GL3PlusContext()
Contains information needed by PBS (Physically Based Shading) for OpenGL ES 2.0.
Definition: OgreHlmsPbsMobileDatablock.h:51
uint32 depthOrSlices
Definition: OgreTextureDefinition.h:103
size_t getVertexShaderCount() const
Return the current number of generated vertex shaders.
@ PFG_RGB16_UNORM
48bpp storage formats, CPU only.
Definition: OgrePixelFormatGpu.h:192
virtual bool isVertexTextureFetchRequired(void) const
Returns whether this vertex program requires support for vertex texture fetch from the hardware.
Definition: OgreGpuProgram.h:368
Vector3(const Real afCoordinate[3])
Definition: OgreVector3.h:70
virtual ~ProgramWriterFactory()
Definition: OgreShaderProgramWriterManager.h:51
uint32 getNumVoxelTextures(void) const
Definition: OgreVctLighting.h:328
virtual Real getDuration(void) const
Gets the duration of the emitter from when it is created or re-enabled.
id< MTLTexture > getView(DescriptorSetUav::TextureSlot uavSlot)
static Radian Sqrt(const Radian &fValue)
Square root function.
Definition: OgreMath.h:421
Definition of container that holds the current bool constants.
Definition: OgreGpuProgramParams.h:637
bool isVisible(void) const
RenderWindow::isVisible
Request(uint16 channel, uint16 rtype, const Any &rData, uint8 retry, RequestID rid)
Constructor.
Vector3 mC7
Definition: OgreVolumeDualGridGenerator.h:52
static const Vector2 UNIT_Y
Definition: OgreVector2.h:586
Real distance(const Vector2 &rhs) const
Returns the distance to another vector.
Definition: OgreVector2.h:357
void setParentEntity(Entity *pEntity)
TextureGpu * getNullShadowTexture(PixelFormatGpu format)
Get an appropriately defined 'null' texture, i.e.
ushort getMaxCalculableBoneCount() const
The maximum number of bones for which hardware skinning is performed.
Definition: OgreShaderExHardwareSkinning.h:249
Definition: OgreD3D11MultiRenderTarget.h:36
void addVariable(const String &name)
static ArrayReal InvNonZero4(ArrayReal val)
Returns the reciprocal of x.
Definition: OgreMathlibC.h:346
Enumeration of queue groups, by which the application may group queued renderables so that they are r...
Definition: OgreRenderQueue.h:85
bool operator>=(const Degree &d) const
Definition: OgreMath.h:130
void doSet(void *target, const String &val)
GL3PlusFBOManager(const GL3PlusSupport &support)
Real weight
Definition: OgreVertexBoneAssignment.h:67
virtual BoneIterator getRootBoneIterator(void)
Get an iterator over the root bones in the skeleton, ie those with no parents.
ScriptLoader * _findScriptLoader(const String &pattern)
Method used to directly query for registered script loaders.
Definition: OgreMetalNullTexture.h:36
void bindParameters(GpuProgramParametersSharedPtr params, uint16 mask)
Execute the param binding functions for this shader.
LayerBlendSource source1
The first source of colour/alpha.
Definition: OgreBlendMode.h:147
_OgreExport friend std::ostream & operator<<(std::ostream &o, const Quaternion &q)
Function for writing to a stream.
float mFresnelR
Definition: OgrePbsMobileShaderCreationData.h:58
DecodeResult decode(DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
virtual void frameEnded(void)
Called when the frame has fully ended (ALL passes have been executed to all RTTs)
Definition: OgreHlms.h:750
void destroy()
Definition: OgreAny.h:136
@ TexturesOriginal
See HlmsDatablock::saveTextures.
Definition: OgreSceneFormatBase.h:63
ShadowNodeRecalculation mShadowNodeRecalculation
Definition: OgreCompositorPassSceneDef.h:80
void rotate(const Vector3 &axis, const Radian &angle)
Rotate the camera around an arbitrary axis.
virtual ~RequestHandler()
Definition: OgreWorkQueue.h:171
void setDatablock(IdString datablockName)
Assigns a datablock (i.e.
~DefaultAxisAlignedBoxSceneQuery()
@ OT_PATCH_23_CONTROL_POINT
Definition: OgreHlmsPso.h:82
@ VES_BLEND_INDICES2
Second pair of blending indices (i.e. more than 4, less or equal than 8)
Definition: OgreVertexElements.h:62
virtual ~PageContentCollectionFactory()
Definition: OgrePageContentCollectionFactory.h:51
virtual unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
const HlmsBlendblock * getBlendblock(void) const
Retrieves current blendblock.
Real getWidth(void) const
Gets the width of this element in relation to the screen (where 1.0 = screen width)
const CompositorTextureVec & getCompositorTextures(void) const
Definition: OgreSceneManager.h:1492
float getRefractionStrength(void) const
Definition: OgreHlmsPbsDatablock.h:612
@ ID_PSSM_SPLIT_PADDING
Definition: OgreScriptCompiler.h:1006
virtual void setFocalLength(Real focalLength=1.0)
Sets frustum focal length (used in stereo rendering).
@ False
Definition: OgreX11EGLSupport.h:71
@ ID_GEN_NORMALS_GBUFFER
Definition: OgreScriptCompiler.h:922
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
HardwareIndexBufferSharedPtr()
Definition: OgreHardwareIndexBuffer.h:84
virtual void getInterpolatedKeyFrame(const TimeIndex &timeIndex, KeyFrame *kf) const =0
Gets a KeyFrame object which contains the interpolated transforms at the time index specified.
virtual Real getRenderingDistance(void) const
Gets the distance at which batches are no longer rendered.
Definition: OgreStaticGeometry.h:625
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:583
uint8 lastRq
Last RenderQueue ID to render (exclusive)
Definition: OgreSceneManager.h:99
@ ID_IN
Definition: OgreScriptCompiler.h:825
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:190
void setUseIdentityView(bool useIdentityView)
Sets whether or not to use an 'identity' view.
TextureBox getData(uint8 mipLevel) const
Returns a pointer to the internal image buffer.
vector< NodeAnimationTrack * >::type NodeTrackList
Definition: OgreAnimation.h:397
uint32 getWidth(void) const
void updateFaceNormals(size_t vertexSet, const HardwareVertexBufferSharedPtr &positionBuffer)
Updates the face normals for this edge list based on (changed) position information,...
static const IdString AnimationMatricesPerBuffer
Definition: OgreUnlitProperty.h:46
Triplanar Texturing.
Definition: OgreShaderExTriplanarTexturing.h:50
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 reset(void)
Destroys all collected samples and starts over.
void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
A sphere primitive, mostly used for bounds checking.
Definition: OgreSphere.h:51
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.
bool isPointRenderingEnabled(void) const
Returns whether point rendering is enabled.
static void collectSamplerblocks(const HlmsDatablock *datablock, set< const HlmsSamplerblock * >::type &outSamplerblocks)
float getBakingMultiplier(void) const
Definition: OgreVctLighting.h:241
virtual void getMetrics(uint32 &width, uint32 &height, int32 &left, int32 &top) const
Overloaded version of getMetrics from RenderTarget, including extra details specific to windowing sys...
void setBottomLeftBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the bottom-left corner of the border.
static const Vector2 UNIT_X
Definition: OgreVector2.h:585
virtual void activate(void)=0
Makes a program object active by making sure it is linked and then putting it in use.
@ WorldAabb
Definition: OgreArrayMemoryManager.h:382
virtual void setCurrentPassIterationCount(const size_t count)
set the current multi pass count value.
Definition: OgreRenderSystem.h:1208
virtual void setDepthBufferPool(uint16 poolId)
Sets the pool ID this RenderTarget should query from.
Implementation of CompositorPass This implementation will generate IblSpeculars for the specified tex...
Definition: OgreCompositorPassIblSpecular.h:58
static float snorm8ToFloat(int8 v)
Definition: OgreBitwise.h:453
~DefaultHardwareBufferManager()
Definition: OgreDefaultHardwareBufferManager.h:190
@ SPC_LIGHTDIRECTION_OBJECT_SPACE0
Light direction in object space index 0-7.
Definition: OgreShaderParameter.h:167
virtual void unloadPage(PageID pageID, bool forceSynchronous=false)
Ask for a page to be unloaded with the given (section-relative) PageID.
@ SPC_LIGHTDIRECTION_OBJECT_SPACE4
Definition: OgreShaderParameter.h:171
void destroySubMesh(unsigned short index)
Destroy a SubMesh with the given index.
RenderOperation * getRenderOperation(void)
Retrieve render operation for manipulation.
@ OT_POINT_LIST
A list of points, 1 vertex per point.
Definition: OgreHlmsPso.h:48
@ ID_TRIANGLE
Definition: OgreScriptCompiler.h:795
Terrain * instance
Actual terrain instance.
Definition: OgreTerrainGroup.h:330
static String TargetLanguage
Definition: OgreShaderHLSLProgramWriter.h:75
void makeFloor(const Vector3 &cmp)
Sets this vector's components to the minimum of its own and the ones of the passed in vector.
Definition: OgreVector3.h:544
virtual void injectMovableObject(MovableObject *m)
Inject a MovableObject instance created externally.
const UserObjectBindings & getUserObjectBindings() const
Return an instance of user objects binding associated with this class.
Definition: OgreOldNode.h:747
void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
FileInfoListPtr findFileInfo(const String &pattern, bool recursive=true, bool dirs=false)
Find all files or directories matching a given pattern in this archive and get some detailed informat...
virtual TextureGpu * findIbl(const TextureGpu *baseParams)
GLES2OldVertexArrayObject()
virtual Real getNearClipDistance(void) const
Sets the position of the near clipping plane.
static const IdString UvDiffuse12
Definition: OgreUnlitProperty.h:89
@ ENV_PLANAR
Envmap based on vector from camera to vertex position, good for planar geometry.
Definition: OgreTextureUnitState.h:101
virtual uint32 getWidth(void) const
static GLenum getGLType(unsigned int type)
Utility function to get the correct GL type based on VET's.
Definition: OgreGL3PlusHardwareBufferManager.h:128
void _genMipmaps()
Internal function to update mipmaps on update of level 0.
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...
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
const BufferSourceVec & getBufferSources(void) const
Definition: OgreCompositorPassComputeDef.h:141
Frustum * getCullingFrustum(void) const
Returns the custom culling frustum in use.
Definition: OgreCamera.h:626
virtual void removeResponseHandler(uint16 channel, ResponseHandler *rh)=0
Remove a Response handler.
const T & const_reference
Definition: OgreMain/include/OgreSmallVector.h:179
@ ID_FLUSH_COMMAND_BUFFERS
Definition: OgreScriptCompiler.h:892
virtual void allWorkspacesBeforeBeginUpdate(void)
Called from CompositorManager2 (not CompositorWorkspace) when we're about to begin updating all the w...
GLES2DefaultHardwareBufferManagerBase()
virtual void * getProcAddress(const char *procname) const =0
Get the address of a function.
Standard 2-dimensional vector.
Definition: OgreVector2.h:51
VisibleSide
Definition: OgrePatchSurface.h:71
virtual ~TextureGpuListener()
@ GMM_RELATIVE_ASPECT_ADJUSTED
Positions & sizes are in virtual pixels.
Definition: OgreOverlayElement.h:64
bool copyTo(DepthBuffer *destination)
Copies the contents of the DepthBuffer to the destination.
static const IdString UsePrePass
Definition: OgreHlms.h:877
virtual void getCustomAttribute(IdString name, void *pData)
Definition: OgreD3D11Device.h:37
size_t size
Definition: OgreNULLVaoManager.h:53
virtual void setValue(const Quaternion &)
Set value.
Definition: OgreAnimable.h:171
virtual BufferPackedTypes getBufferPackedType(void) const
Useful to query which one is the derived class.
Definition: OgreUavBufferPacked.h:56
static PixelFormat getFormatFromName(const String &name, bool accessibleOnly=false, bool caseSensitive=false)
Gets the format from given name.
PagedWorldSection * createWorldSection(const String &typeName, const String &name, PagedWorld *parent, SceneManager *sm)
Create a new instance of PagedWorldSection using the registered factories.
void saveMaterials(const Hlms *hlms, String &outString, const String &additionalTextureExtension)
Saves all the Datablocks defined in the given Hlms into a JSON formatted string.
void attachToProgramObject(const GLuint programObject)
const Vector3 getCenterFront(void) const
Gets the center of the corners 2, 3, 6, 7.
Definition: OgreVolumeOctreeNode.h:301
Definition: OgreNaClGLContext.h:40
Utility class which defines the sub-parts of an Entity.
Definition: OgreSubEntity.h:64
@ SBT_TRANSPARENT_COLOUR
Make the object transparent based on the colour values in the texture (brighter = more opaque)
Definition: OgreBlendMode.h:220
int XRRConfigCurrentConfiguration(XRRScreenConfiguration *config, Rotation *rotation)
bool getSourceModifier(unsigned short index, SourceModifier &modType, int &customNum) const
Returns the source modifier parameters for a given texture unit.
@ UNLIT_BLEND_OVERLAY
Definition: OgreHlmsUnlitPrerequisites.h:71
StdMap< String, String > BinaryOptionList
Definition: OgreCommon.h:704
const Vector3 & _getCachedRealPosition(void) const
Definition: OgreCamera.h:443
bool applyTextureAliases(const AliasTextureNamePairList &aliasList, const bool apply=true) const
Applies texture names to Texture Unit State with matching texture name aliases.
unsigned char * getSwBufferPtr(void)
Definition: OgreIndirectBufferPacked.h:51
PixelFormatGpu depthFormat
PF_NULL if no depth buffer is used.
Definition: OgreHlmsPso.h:106
Definition: OgreRenderPassDescriptor.h:117
int flags
Definition: OgreX11EGLSupport.h:87
Alignment getAlignment() const
Definition: OgreTextAreaOverlayElement.h:121
iterator begin()
Definition: OgreStackVector.h:289
void destroyAllTracks(void)
Removes and destroys all tracks making up this animation.
virtual void setPageRangeMinY(int32 minY)
Set the index range of all Pages (values outside this will be ignored)
ReadBarrier
Definition: OgreResourceTransition.h:83
virtual const String & getMovableType(void) const
Returns the type name of this object.
Definition: OgreMovableObject.h:640
bool hasSkeleton(void) const
Returns whether or not this Item is skeletally animated.
Definition: OgreItem.h:190
T left
Definition: OgreCommon.h:714
PageProvider()
Definition: OgrePageManager.h:60
GeneralAllocatedObject StereoDriverAlloc
Definition: OgreMemoryAllocatorConfig.h:347
@ ACT_VIEW_UP_VECTOR
This variable provides the view up vector (world space).
Definition: OgreGpuProgramParams.h:1272
ID3D11Buffer * getSplicingHelperBuffer(void)
When dealing with copy operations on structured buffers, D3D11 wants buffers to be of the same size a...
VertexElementType getColourVertexElementType(void) const
See RenderSystem.
Definition: OgreD3D9MultiRenderTarget.h:40
void addVertex(size_t index, const Vector3 &offset)
Adds an offset to a vertex for this pose.
HlmsSamplerblock const * samplerBlock
Definition: OgreCbTexture.h:39
const Vector3 & getCenter(void) const
ParamVec mParams
Definition: OgreShaderParams.h:145
@ OT_PATCH_14_CONTROL_POINT
Definition: OgreHlmsPso.h:73
virtual void getMidPointGridSpace(int32 x, int32 y, int32 z, Vector3 &mid)
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.
bool validateMaterial(const String &schemeName, const String &materialName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Validate specific material scheme.
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
@ ID_IDENTIFIER
Definition: OgreScriptCompiler.h:893
Definition: OgreParallaxCorrectedCubemapAuto.h:41
Concrete IteratorWrapper for nonconst access to the underlying container.
Definition: OgreIteratorWrapper.h:186
virtual bool createCpuSubPrograms(ProgramSet *programSet)
Create sub programs that represents this sub render state as part of a program set.
void setSortingEnabled(bool enabled)
Set whether or not particles are sorted according to the camera.
Definition: OgreParticleSystem.h:543
@ PBSM_DETAIL1_NM
Definition: OgreHlmsPbsPrerequisites.h:68
virtual void createInternalResources(void)
Creates the internal texture resources for this texture.
@ PF_DXT4
DDS (DirectDraw Surface) DXT4 format.
Definition: OgrePixelFormat.h:118
FIBITMAP * encodeBitmap(MemoryDataStreamPtr &input, CodecDataPtr &pData) const
Common encoding routine.
virtual void reset(void)
Clears any of the entities / nodes added to this geometry and destroys anything which has already bee...
Represents Texture buffers (also known as tbuffers in D3D11)
Definition: OgreTexBufferPacked.h:40
virtual ~AsyncTextureTicket()
map< IdString, MetadataCacheEntry >::type MetadataCacheMap
Definition: OgreTextureGpuManager.h:261
@ FILTER_TRIANGLE
Definition: OgreImage2.h:338
void initialize()
Render-System specific data.
Definition: OgreHlmsPso.h:213
void createDevice(const String &appName, IDXGIAdapter *adapter, D3D_DRIVER_TYPE driverType, UINT deviceFlags, D3D_FEATURE_LEVEL *pFirstFL, UINT numFeatureLevels, D3D_FEATURE_LEVEL *outFeatureLevel, ID3D11Device **outDevice)
static const String & getPointLightExtruderVs_glslesFiniteDebug(void)
Get extruder program source for debug point lights, compatible with glsles.
Definition: OgreShadowVolumeExtrudeProgram.h:310
TargetRenderState()
Class default constructor.
@ SPC_LIGHTPOSITION_OBJECT_SPACE5
Definition: OgreShaderParameter.h:212
static IDirect3DDevice9 * getActiveD3D9Device()
A caching Source.
Definition: OgreVolumeCacheSource.h:52
void addStrategy(PageStrategy *strategy)
Add a new PageStrategy implementation.
MetalTextureGpuRenderTarget(GpuPageOutStrategy::GpuPageOutStrategy pageOutStrategy, VaoManager *vaoManager, IdString name, uint32 textureFlags, TextureTypes::TextureTypes initialType, TextureGpuManager *textureManager)
virtual void setInputOperationType(OperationType operationType)
Sets the operation type that this geometry program expects to receive.
Definition: OgreGLSLShader.h:123
Real getVerticalTexelOffset()
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this r...
virtual IdString addTextureSourceName(const String &name, size_t index, TextureSource textureSource)
Overloaded to prevent creating input channels.
IdString name
Definition: OgreCompositorNamedBuffer.h:48
void assign(QueuedSubMesh *qsm, ushort atLod)
Assign a queued submesh to this bucket, using specified mesh LOD.
bool getSharedVertexDataAnimationIncludesNormals() const
Returns whether animation on shared vertex data includes normals.
Definition: OgreMesh.h:933
int msEdges[16]
Definition: OgreVolumeIsoSurfaceTablesMC.h:334
bool _getMorphRequired() const
Get whether LOD morphing is needed.
Definition: OgreTerrain.h:1482
Real getWorldSize() const
Get the size of the terrain in world units.
@ SPC_LIGHTDIRECTION_OBJECT_SPACE5
Definition: OgreShaderParameter.h:172
Vector2(const Real afCoordinate[2])
Definition: OgreVector2.h:74
virtual uint8 getMaxLayers(const Terrain *terrain) const
Get the maximum number of layers supported with the given terrain.
Definition: OgreTerrainMaterialGenerator.h:325
static void toUpperCase(String &str)
Upper-cases all the characters in the string.
bool hasColour(void) const
If this returns false, the values of mR, mG, mB & mA will be ignored.
Definition: OgreHlmsUnlitDatablock.h:148
void setUseDiffuseMapAsGrayscale(bool bUseDiffuseMapAsGrayscale)
When set, it treats the diffuse map as a grayscale map; which means it will spread red component to a...
MeshPtr prepare(const String &filename, const String &groupName, HardwareBuffer::Usage vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexBufferShadowed=true, bool indexBufferShadowed=true)
Prepares a mesh for loading from a file.
@ ID_SHADING
Definition: OgreScriptCompiler.h:692
@ RSC_MSAA_2D_ARRAY
Supports doing MSAA on TextureTypes::Type2DArray.
Definition: OgreRenderSystemCapabilities.h:219
static PropertyType getTypeForValue(const String &val)
Definition: OgreProperty.h:162
LightFactory()
Definition: OgreLight.h:659
virtual void _hlmsSamplerblockCreated(HlmsSamplerblock *newBlock)
virtual void destroyParticleSystem(ParticleSystem *obj)
Removes & destroys a ParticleSystem from the SceneManager.
virtual void setRenderQueueGroup(uint8 queueID)
InternalCubemapProbes only allow ForwardPlusBase::MinCubemapProbeRq <= queueID < ForwardPlusBase::Max...
_StringBase String
Definition: OgreCommon.h:43
void setSaveMicrocodesToCache(const bool val)
Set if the microcode of a shader should be saved to a cache.
LodInfo & getLodInfo(uint lodLevel)
Definition: OgreTerrainLodManager.h:120
virtual SampleDescription validateSampleDescription(const SampleDescription &sampleDesc, PixelFormatGpu format)
Returns supported sample description for requested FSAA mode, with graceful downgrading.
OverlayElement representing a flat, single-material (or transparent) panel which can contain other el...
Definition: OgrePanelOverlayElement.h:60
Definition: OgrePlanarReflectionActor.h:75
ImageDownsamplerCube downscale2x_Float32_XXXA_cube
Definition: OgreImageDownsampler.h:156
@ M_ANIMATION_BASEINFO
Definition: OgreMeshFileFormat.h:161
GeometryAllocatedObject PatchAlloc
Definition: OgreMemoryAllocatorConfig.h:320
const Vector3 getCorner1(void) const
Gets the coordinate of corner 1.
Definition: OgreVolumeOctreeNode.h:454
STBIImageCodec(const String &type)
static ParameterPtr createOutTexcoord1(int index, Parameter::Content content)
uint8 getIndexToDescriptorTexture(uint8 texType)
This function has O( log N ) complexity, but O(1) if the texture was not set.
~D3D11MultiRenderTarget()
CategorisedAllocPolicy< Ogre::MEMCATEGORY_GENERAL > GeneralAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:265
uint16 getLODLevelWhenVertexEliminated(long rowOrColulmn) const
Utility method, get the first LOD Level at which this vertex is no longer included.
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 void getCornersGridSpace(int32 x, int32 y, Vector2 *pFourPoints)
Get the (grid space) corners of a cell.
virtual void _setVertexArrayObject(const VertexArrayObject *vao)
Part of the low level rendering interface.
void updateUniformBlocks(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program object uniform blocks using data from GpuProgramParameters.
void _reload()
Detects all supported fbo's and recreates the tempory fbo.
void setConfigOption(const String &name, const String &value)
Sets an option for this API.
Shared pointer implementation used to share pixel buffers.
Definition: OgreHardwarePixelBuffer.h:200
@ D3D_NO_EXCEPTION
Definition: OgreD3D11Device.h:95
@ HLMS_USER1
Definition: OgreHlmsCommon.h:184
void setScrollAnimation(Real uSpeed, Real vSpeed)
Sets up an animated scroll for the texture layer.
FontPtr create(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Create a new font.
void setSchemeName(const String &schemeName)
Set the 'scheme name' for this technique.
virtual void setAlphaTestThreshold(float threshold)
Alpha test's threshold.
void getTransforms(SimpleMatrixAf4x3 *RESTRICT_ALIAS outTransform, const FastArray< unsigned short > &usedBones) const
void shrinkToFitMemoryPools(void)
Defragments memory, then reallocates a smaller pool that tightly fits the current number of objects.
Definition: OgreGpuResource.h:103
Real getScrollY(void) const
Gets the current Y scroll value.
Manages the target rendering window.
Definition: OgreRenderWindow.h:63
virtual Endian getEndian() const
Get the endian mode.
Definition: OgreStreamSerialiser.h:141
@ GPU_AMD
Definition: OgreRenderSystemCapabilities.h:309
RawSimdUniquePtr(size_t numElements)
Definition: OgreRawPtr.h:59
size_t getPassNumber(const CompositorPassDef *passDef) const
Returns the pass # of the given pass definition in this node.
GeneralAllocatedObject PropertyAlloc
Definition: OgrePropertyPrerequisites.h:37
@ ID_ONE_MINUS_DEST_ALPHA
Definition: OgreScriptCompiler.h:663
static bool RealEqual(Real a, Real b, Real tolerance=std::numeric_limits< Real >::epsilon())
Compare 2 reals, using tolerance for inaccuracies.
Representation of a dynamic light source in the scene.
Definition: OgreLight.h:72
bool operator==(const HlmsPassPso &_r) const
Definition: OgreHlmsPso.h:116
v1::VertexData * vertexData
Definition: OgreVertexShadowMapHelper.h:126
const Radian & getTextureRotate(void) const
Get texture rotation effects angle value.
Definition: OgreShaderExTextureAtlasSampler.h:223
void destroyNode(BoneTransform &inOutTransform)
Releases memory acquired through.
CompareFunction getAlphaRejectFunction(void) const
Gets the alpha reject function.
Definition: OgrePass.h:702
virtual String getResourceGroupStr(void) const
virtual void undoReadChunk(uint32 id)
Call this to 'rewind' the stream to just before the start of the current chunk.
HlmsManager * getHlmsManager(void) const
Gets the HlmsManager, which is needed to register generators at startup.
Definition: OgreRoot.h:329
const IteratorType & end()
Bookmark to the end (one behind the last element) of the underlying collection.
Definition: OgreIteratorWrapper.h:117
virtual void passSceneAfterShadowMaps(CompositorPassScene *pass)
Called after a pass scene has rendered shadow casting (it gets called even if there is no shadow node...
Definition: OgreCompositorWorkspaceListener.h:79
@ PASS_UAV
Definition: OgreCompositorPassDef.h:60
virtual ~HlmsPbsMobileDatablock()
static const IdString NormalSamplingFormat
Definition: OgreHlmsPbs.h:488
bool operator!=(const AnimationState &rhs) const
Inequality operator.
void loadingComplete(Resource *prog)
Called whenever the resource finishes loading.
virtual void normal(const Vector3 &norm)
Add a vertex normal to the current vertex.
static String FACTORY_TYPE_NAME
Definition: OgreEntity.h:747
void setAmbient(const ColourValue &upperHemisphere, const ColourValue &lowerHemisphere)
Extremely similar version of SceneManager::setAmbientLight In fact the hemisphereDir parameter is sha...
TextureBox _getSysRamCopyAsBox(uint8 mipLevel)
~StackVector()
Definition: OgreStackVector.h:102
virtual OldNode * removeChild(unsigned short index)
Drops the specified child from this OldNode.
virtual void _renderEmulated(const CbDrawCallStrip *cmd)
static const IdString TexMatrixCount
Definition: OgreHlmsUnlitMobile.h:95
Real getSquaredViewDepth(const Camera *cam) const
Overridden from Renderable.
bool getShareableDepthBuffer(void) const
Definition: OgreGLES2DepthTexture.h:48
Vector3 vScale
Definition: OgreSkeletonDef.h:54
void addDependency(const String &libFileName)
Add dependency for this program.
virtual String getErrorDescription(long errorNumber) const =0
Returns a description of an error code.
void destroyTempResources(void)
@ PFG_ASTC_RGBA_UNORM_10X10_LDR
Definition: OgrePixelFormatGpu.h:247
virtual void _notifyParentNodeMemoryChanged(void)
@See Node::_callMemoryChangeListeners
Definition: OgreMovableObject.h:209
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
@ SPC_POSITION_LIGHT_SPACE1
Definition: OgreShaderParameter.h:94
SkeletonInstance * createSkeletonInstance(const SkeletonDef *skeletonDef)
Creates an instance of a skeleton based on the given definition.
Region(IdType id, ObjectMemoryManager *objectMemoryManager, StaticGeometry *parent, SceneManager *mgr, uint32 regionID, const Vector3 ¢re)
const String & getNormalMapTextureName() const
Return the normal map texture name.
Definition: OgreShaderExNormalMapLighting.h:140
void setDatablockOrMaterialName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Sets the material to use for the whole of this Item.
void windowMovedOrResized(void)
Overridden - see RenderWindow.
Real getNormalMapWeight(void) const
Returns the detail normal maps' weight.
virtual void _descriptorSetUavDestroyed(DescriptorSetUav *set)
uint32 texUnitIdx
Index of texture unit state to change.
Definition: OgreCompositorPassComputeDef.h:56
Local texture definition.
Definition: OgreTextureDefinition.h:97
vector< Bone * >::type BoneVec
Definition: OgreSceneNode.h:38
void testValidity(void)
Definition: OgreIrradianceField.h:91
void destroy(HighLevelGpuProgram *prog)
CbStartV1LegacyRendering()
@ PF_R32_UINT
32-bit pixel format, 32 bits red (unsigned int).
Definition: OgrePixelFormat.h:176
virtual ~OverlayElementFactory()
Destroy the overlay element factory.
Definition: OgreOverlayElementFactory.h:62
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
virtual v1::Entity * createEntity(PrefabType ptype, SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC)
Create an Entity (instance of a discrete mesh) from a range of prefab shapes.
GeneralAllocatedObject SerializerAlloc
Definition: OgreMemoryAllocatorConfig.h:328
virtual const DisplayString & getCaption(void) const
Gets the caption for this element.
Definition: OgreThreads.h:91
@ PFG_B4G4R4A4_UNORM
Definition: OgrePixelFormatGpu.h:178
Definition: OgreGL3PlusNullTexture.h:91
Quaternion(Real *valptr)
Construct a quaternion from 4 manual w/x/y/z values.
Definition: OgreQuaternion.h:92
CompositorWorkspaceDef * addWorkspaceDefinition(const String &name)
Returns a new workspace definition.
@ ENDIAN_AUTO
Automatically determine endianness.
Definition: OgreStreamSerialiser.h:77
StdMap< String, String > AliasTextureNamePairList
Alias / Texture name pair (first = alias, second = texture name)
Definition: OgreCommon.h:710
virtual void _updateCustomGpuParameter(const GpuProgramParameters_AutoConstantEntry &constantEntry, GpuProgramParameters *params) const
Update a custom GpuProgramParameters constant which is derived from information only this Renderable ...
static ArrayMaskR CompareGreater(ArrayReal a, ArrayReal b)
Returns the result of "a > b".
Definition: OgreMathlibC.h:254
bool outSkipped
Whether the Lod level generation was skipped, because it has same vertex count as the previous Lod le...
Definition: OgreLodConfig.h:122
A volume source from a discrete 3d grid.
Definition: OgreVolumeGridSource.h:44
virtual void _executeStreaming(Image2 &image, TextureGpu *texture)
Gets executed from worker thread, right after the Image was loaded from file and we're done setting t...
virtual SubRenderState * createOrRetrieveInstance(SGScriptTranslator *translator)
Retrieve the previous instance the SRS in the script translator or create a new instance if not found...
@ ID_DEPTH_FAIL_OP
Definition: OgreScriptCompiler.h:971
@ PFG_ASTC_RGBA_UNORM_4X4_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 4x4)
Definition: OgrePixelFormatGpu.h:236
Interface to a general purpose request / response style background work queue.
Definition: OgreWorkQueue.h:77
uint8 getExecutionMask(void) const
Definition: OgreCompositorWorkspace.h:361
Glib::RefPtr< const Gdk::GL::Context > getMainContext() const
@ GCT_MATRIX_4X4
Definition: OgreGpuProgramParams.h:93
uint64 getMicrosecondsCPU()
Returns microseconds since initialisation or last reset, only CPU time measured.
Command object for nonvisible timeout (see ParamCommand).
Definition: OgreParticleSystem.h:141
@ TID_END
Definition: OgreScriptLexer.h:60
virtual bool isVisible(const AxisAlignedBox &bound, FrustumPlane *culledBy=0) const
Tests whether the given container is visible in the Frustum.
@ BP_TYPE_CONST
Definition: OgreBufferPacked.h:86
const T * const_iterator
Definition: OgreStackVector.h:56
virtual void getInterpolatedKeyFrame(const TimeIndex &timeIndex, KeyFrame *kf) const
Gets a KeyFrame object which contains the interpolated transforms at the time index specified.
static const int TextureShiftTransp
Definition: OgreRenderQueue.h:313
TextureMapType mapType
Definition: OgreHlmsTextureManager.h:146
ComPtr() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:126
void setWorldSize(Real newWorldSize)
Set the world size of terrain.
virtual void _autogenerateMipmaps(void)
Tells the API to let the HW autogenerate mipmaps.
const ColourValue & getSurfaceDiffuseColour(void) const
ArrayVector3()
Definition: C/OgreArrayVector3.h:69
const GpuProgramParameters_AutoConstantEntry * _findRawAutoConstantEntryUnsignedInt(size_t physicalIndex)
Finds an auto constant that's affecting a given physical position in the unsigned integer buffer.
uint32 primCount
Definition: OgreCbDrawCall.h:44
bool hasMovableObjectFactory(const String &typeName) const
Checks whether a factory is registered for a given MovableObject type.
const UserObjectBindings & getUserObjectBindings() const
Return an instance of user objects binding associated with this class.
Definition: OgreRenderable.h:373
@ FRUSTUM_PLANE_BOTTOM
Definition: OgreFrustum.h:77
size_t getDualCellCount(void) const
Gets the amount of generated dual cells.
Definition: OgreVolumeDualGridGenerator.h:332
static const IdString BlendModeIndex0
Definition: OgreHlmsPbs.h:530
TRect(T const &l, T const &t, T const &r, T const &b)
Definition: OgreCommon.h:716
@ NUM_COMPARE_FUNCTIONS
Definition: OgreCommon.h:95
virtual v1::HardwarePixelBufferSharedPtr getBuffer(size_t face=0, size_t mipmap=0)=0
Return hardware pixel buffer for a surface.
@ ID_LOD_DISTANCES
Definition: OgreScriptCompiler.h:628
virtual bool canDownload(size_t length) const
Checks if this staging buffer has enough free space to use _asyncDownload.
const SplitPointList & getSplitPoints() const
Returns the calculated split points.
Definition: OgreShadowCameraSetupPSSM.h:141
void setNormalMapFiltering(const FilterOptions minFilter, const FilterOptions magFilter, const FilterOptions mipFilter)
Set the normal map filtering attributes.
Definition: OgreShaderExNormalMapLighting.h:148
virtual void * getRenderSystemData(void)
An internal function that should be used only by a render system for internal use.
Definition: OgreHardwareBuffer.h:351
ConfigOptionMap & getConfigOptions(void)
See RenderSystem.
virtual void queueBindUAV(uint32 slot, UavBufferPacked *buffer, ResourceAccess::ResourceAccess access=ResourceAccess::ReadWrite, size_t offset=0, size_t sizeBytes=0)
void _setGlTextureName(GLuint textureName)
ArrayReal squaredDistance(const ArrayVector3 &rhs) const
Returns the square of the distance to another vector.
iterator erase(iterator first, iterator last)
Definition: OgreStackVector.h:180
MeshPtr createCurvedIllusionPlane(const String &name, const String &groupName, const Plane &plane, Real width, Real height, Real curvature, int xsegments=1, int ysegments=1, bool normals=true, unsigned short numTexCoordSets=1, Real uTile=1.0f, Real vTile=1.0f, const Vector3 &upVector=Vector3::UNIT_Y, const Quaternion &orientation=Quaternion::IDENTITY, HardwareBuffer::Usage vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexShadowBuffer=true, bool indexShadowBuffer=true, int ySegmentsToKeep=-1)
Creates a plane, which because of it's texture coordinates looks like a curved surface,...
virtual void endCurrent()
This is called before another context is made current.
void _datablockAdded(HlmsDatablock *datablock)
Internal function used by Hlms types to tell us a datablock has been created so that we can return it...
RadialDensityMask(SceneManager *sceneManager, const float radius[3], HlmsManager *hlmsManager)
void setIrradianceVolume(IrradianceVolume *irradianceVolume)
Definition: OgreHlmsPbs.h:390
const VertexElement2 * findBySemantic(VertexElementSemantic semantic, size_t &outIndex, size_t &outOffset, size_t repeat=0) const
Returns the entire VertexElement2 descriptor in the vertex buffers.
void setCompositeMapEnabled(bool enabled)
Whether to use the composite map to provide a lower LOD technique in the distance (default true).
virtual void setRay(const Ray &ray)
Sets the ray which is to be used for this query.
static PixelFormat _getClosestSupportedPF(PixelFormat ogrePF)
utility method, find closest Ogre pixel format that D3D9 can support
void setAlphaRejectFunction(CompareFunction func)
Sets the alpha reject function.
virtual void calculateHash()
Calculates the hashes needed for sorting by the RenderQueue (i.e. mTextureHash)
virtual ~HighLevelGpuProgramFactory()
virtual void setMinDuration(Real min)
Sets the minimum duration of this emitter in seconds (see setDuration for more details)
void build(v1::HardwareVertexBufferSharedPtr destVertexBuffer, size_t vertexStart, v1::HardwareIndexBufferSharedPtr destIndexBuffer, size_t indexStart)
Tells the system to build the mesh relating to the surface into externally created buffers.
void destroy()
Definition: OgreStackVector.h:107
virtual ~MetalAsyncTextureTicket()
ReadRequests(VertexElementSemantic _semantic)
Definition: OgreVertexArrayObject.h:192
Ogre::SharedPtr< T > argument_type
Definition: OgreSharedPtr.h:394
virtual const String & getType() const
@ ID_EXPOSE
Definition: OgreScriptCompiler.h:900
Predefined controller function based on linear function interpolation.
Definition: OgrePredefinedControllers.h:289
virtual void setFsaaResolveDirty(void)
Depth buffers never resolve; only colour buffers do.
Definition: OgreMetalDepthTexture.h:110
virtual void setTerrainSize(uint16 newTerrainSize)
Set the size of each terrain instance in number of vertices down one side.
virtual const SyntaxCodes & getSupportedSyntax(void) const
Returns the syntaxes that this manager supports.
bool isInt() const
Definition: OgreGpuProgramParams.h:230
String getShaderTypeLabel(GpuProgramType programType)
Get a string containing the name of the GLSL shader type correspondening to the OGRE GPU program type...
virtual void bindBufferVS(uint16 slot)
Binds the constant buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
@ GeometryShader
Definition: OgreCommon.h:346
virtual ~CGProgramWriter()
Class destructor.
const SubEntity * getSubEntity(const String &name) const
bool isBorderFront(const OctreeNode &root) const
Gets whether this cell is at the front of the given root cell.
Definition: OgreVolumeOctreeNode.h:283
Terrain * getParent() const
Get the parent terrain.
Definition: OgreTerrainLayerBlendMap.h:84
User Interface (2D) implementation specfically designed for OpenGL ES 2.0 and other RenderSystems whi...
Definition: OgreHlmsUnlitMobile.h:53
uint32 stride
Definition: OgreD3D11VaoManager.h:100
static const size_t MS_CORNERS_BOTTOM[4]
To call Marching Squares with a cube on its bottom.
Definition: OgreVolumeIsoSurface.h:75
Helper utility class that creates common parameters.
Definition: OgreShaderParameter.h:608
RenderQueue::Modes getRenderQueueMode(uint8 rqId) const
uint8 mipmapLevel
Definition: OgreDescriptorSetUav.h:110
CompositorWorkspaceDef * getWorkspaceDefinitionNoThrow(IdString name) const
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:672
static const Vector3 ZERO
Definition: OgreVector3.h:814
@ VET_INT3
Definition: OgreVertexElements.h:97
uint8 numMipmaps
Definition: OgreTextureGpuManager.h:257
HardwareBufferLockGuard(const SharedPtr< T > &p, size_t offset, size_t length, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:370
Definition: OgreGLES2NullTexture.h:69
When mUsedMemory >= mMaxMemory (that is, we've exhausted all our preallocated memory) ArrayMemoryMana...
Definition: OgreArrayMemoryManager.h:85
@ PT_INT
Definition: OgreStringInterface.h:55
String doGet(const void *target) const
@ ERR_ITEM_NOT_FOUND
Definition: OgreException.h:112
@ ANT_VARIABLE_SET
Definition: OgreScriptCompiler.h:86
IndexData * indexData
Index data - only valid if useIndexes is true.
Definition: OgreRenderOperation.h:71
@ ID_ANIM_TEXTURE
Definition: OgreScriptCompiler.h:735
@ OT_PATCH_3_CONTROL_POINT
Definition: OgreHlmsPso.h:62
static const IdString GL3Plus
Definition: OgreHlms.h:922
unsigned short submeshID
Definition: OgreLodData.h:123
DriverVersion()
Definition: OgreRenderSystemCapabilities.h:283
void * lock(size_t offset, size_t length, LockOptions options)
Override HardwareBuffer to turn off all shadowing.
Definition: OgreD3D11VideoModeList.h:38
LwString & a(const LwString &a0)
Definition: OgreLwString.h:207
Real getBaseKeyFrameTime() const
If a base keyframe is being used, the time of that keyframe.
const BoneDataVec & getBones(void) const
Definition: OgreSkeletonDef.h:146
size_t slicePitch
Number of elements between the top left pixel of one (depth) slice and the top left pixel of the next...
Definition: OgrePixelBox.h:95
virtual bool _loadProceduralPage(Page *page, PagedWorldSection *section)
Give a provider the opportunity to prepare page content procedurally.
SerializeEvent
Definition: OgreMaterialSerializer.h:67
map< IdString, MetadataCacheEntry >::type MetadataCacheMap
Definition: OgreHlmsTextureManager.h:151
virtual void optimiseAllAnimations(bool preservingIdentityNodeTracks=false)
Optimise all of this skeleton's animations.
StrideChanger(size_t _offsetAfterPadding, size_t _paddedBytes)
Definition: OgreNULLVaoManager.h:63
static const IdString PssmSplits
Definition: OgreHlms.h:863
Side getSide(const Vector3 &rkPoint) const
const String & getDescription() const
Get the description of the property.
Definition: OgreProperty.h:147
virtual ~D3D11AsyncTextureTicket()
ViewportRect()
Definition: OgreCompositorPassDef.h:108
Definition: OgreEmscriptenEGLSupport.h:36
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.
void baseVertexPointerToElement(void *pBase, float **pElem) const
Adjusts a pointer to the base of a vertex to point at this element.
Definition: OgreHardwareVertexBuffer.h:214
virtual void _setToDisplayDummyTexture(void)
bool mEnabled
While disabled, this probe won't be updated (even if dirty) and won't be considered for blending (i....
Definition: OgreCubemapProbe.h:83
PixelFormat format
Definition: OgreImageCodec.h:69
void reinitialise(void)
See RenderSystem.
virtual_l2 void rotate(const Quaternion &q, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around an aritrary axis using a Quarternion.
bool getReceiveDynamicShadowsLowLod() const
Whether to use shadows on low LOD material rendering (when using composite map) (default false).
Definition: OgreTerrainMaterialGeneratorA.h:143
@ ID_ALPHA_REJECTION
Definition: OgreScriptCompiler.h:684
void setTextureSwizzle(uint8 texType, uint8 r, uint8 g, uint8 b, uint8 a)
Sets the final swizzle when sampling the given texture.
void createPoses(const float **positionData, const float **normalData, size_t numPoses, size_t numVertices, const String *names=0, bool halfPrecision=true)
Fills the pose animation buffer with the given poseData.
virtual bool getPreferDepthTexture(void) const
IrradianceVolume * getIrradianceVolume(void) const
Definition: OgreHlmsPbs.h:392
Instances of this class 'control' the value of another object in the system.
Definition: OgreController.h:136
@ ID_MASK
Definition: OgreScriptCompiler.h:958
virtual void setSourceA(Source *a)
Sets the first operator source.
const MaterialPtr & _getCompositeMapMaterial() const
Internal getting of material for the terrain composite map.
Definition: OgreTerrain.h:1336
@ PT_UNSIGNED_LONG
Definition: OgreStringInterface.h:60
@ IndexBuffer
After the barrier, data can be used as an index buffer.
Definition: OgreResourceTransition.h:91
const String & getType(void) const
Get the type of the object to be created.
BufferSlot buffer
Definition: OgreDescriptorSetTexture.h:230
Definition: OgreRenderable.h:479
virtual void copyTo(BufferInterface *dstBuffer, size_t dstOffsetBytes, size_t srcOffsetBytes, size_t sizeBytes)
uint32 getVisibilityFlags(void) const
Get the visbility flags that terrains will be rendered with.
Definition: OgreTerrain.h:1999
virtual void notifyDeviceRestored(D3D11Device *device)=0
void _setName(IdString newName)
Do not call directly.
Definition: OgreTextureDefinition.h:132
static void initialiseModulationPassPrograms(void)
Initialise the creation of these modulation pass programs.
RegionSceneQuery(SceneManager *mgr)
Standard constructor, should be called by SceneManager.
@ InheritScale
Definition: OgreArrayMemoryManager.h:315
bool isStillOutstanding(void)
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.
void destroyOverlayElement(const String &instanceName, bool isTemplate=false)
Destroys a OverlayElement.
virtual void textureCoord(Real u)
Add a texture coordinate to the current vertex.
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:1153
ComPtr< ID3D11Buffer > vertexBufferVbo
Definition: OgreD3D11VaoManager.h:98
virtual void _hlmsBlendblockDestroyed(HlmsBlendblock *block)
void getCustomAttribute(const String &name, void *pData)
Implementation of CompositorPass This implementation will render a fullscreen triangle/quad to the Re...
Definition: OgreCompositorPassQuad.h:87
virtual BufferPackedTypes getBufferPackedType(void) const =0
Useful to query which one is the derived class.
void getAsVector3(Vector3 &out, size_t index) const
Definition: C/OgreArrayVector3.h:77
virtual void initialise(void)
Initialise the background queue system.
@ GVA_TOP
Definition: OgreOverlayElement.h:81
void setBrdf(PbsBrdf::PbsBrdf brdf)
Changes the BRDF in use.
HlmsBasicBlock
Definition: OgreHlmsDatablock.h:45
virtual ~CompositorNodeDef()
Definition: OgreCompositorNodeDef.h:109
Definition: OgreScriptTranslator.h:184
@ ID_COMBINED_UVW
Definition: OgreScriptCompiler.h:738
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)
Sets this texture layer to use a combination of 6 texture maps, each one relating to a face of a cube...
Decal(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager)
unsigned short getNumWorldTransforms(void) const
Overridden - see Renderable.
float4(const Vector2 &valXY, const Vector2 &valZW)
Definition: OgreShaderPrimitives.h:77
void * getProcAddress(const char *procname) const
Get the address of a function.
virtual GpuProgramPtr load(const String &name, const String &groupName, const String &filename, GpuProgramType gptype, const String &syntaxCode)
Loads a GPU program from a file of assembly.
Real calcMaxHeightDelta
Temp calc area for max height delta.
Definition: OgreTerrainQuadTreeNode.h:142
uint32 getBoneBlockIdx(void) const
Definition: OgreSkeletonTrack.h:93
Template struct which creates a distinct type for each exception code.
Definition: OgreException.h:190
void _setDepthBufferCheckEnabled(bool enabled=true)
Basefunctionality for IteratorWrappers.
Definition: OgreIteratorWrapper.h:48
TextureSource
Definition: OgreTextureDefinition.h:86
void setRenderTarget(const RenderPassDescriptor *renderPassDesc)
You must call this function every frame, and every time the RenderTarget changes.
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:188
void write(const T *pT, size_t count=1)
Catch-all method to write primitive types.
Definition: OgreStreamSerialiser.h:267
bool operator!=(const ConstVectorRange &rhs) const
comparison operator for inequality
Definition: OgreIteratorRange.h:223
void setClipPlane(ushort index, Real A, Real B, Real C, Real D)
An individual profile that will be processed by the Profiler.
Definition: OgreProfiler.h:233
uint32 getUavBufferAlignment(void) const
Definition: OgreVaoManager.h:412
virtual void _dispatch(const HlmsComputePso &pso)
Struct containing information about a RenderTarget Viewport-specific event.
Definition: OgreRenderTargetListener.h:53
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:153
HlmsComputeJob * job
Definition: OgreVctVoxelizer.h:60
String doGet(const void *target) const
Cache-friendly array of Quaternion represented as a SoA array.
Definition: C/OgreArrayQuaternion.h:66
@ PT_STRING
Definition: OgreStringInterface.h:61
GL3PlusContext * clone() const
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
ThreadLocalPtr()
Definition: OgreThreadDefinesSTD.h:49
virtual void setRegionDimensions(const Vector3 &size)
Sets the size of a single region of geometry.
Definition: OgreStaticGeometry.h:668
const GpuProgramPtr & getGeometryProgram(void) const
Gets the geometry program used by this pass, only available after _load().
float * getFloatPointer(size_t pos)
Get a pointer to the 'nth' item in the float buffer.
Definition: OgreGpuProgramParams.h:770
void bindSharedParameters(GpuProgramParametersSharedPtr params, uint16 mask)
Execute the shared param binding functions for this shader.
static const Real PI
Definition: OgreMath.h:748
GpuProgramUsage(GpuProgramType gptype, Pass *parent)
Default constructor.
VectorIterator< OverlayContainerList > Overlay2DElementsIterator
Returns an iterator over all 2D elements in this manager.
Definition: OgreOverlay.h:249
void setAutoConstant(size_t index, AutoConstantType acType, uint16 extraInfo1, uint16 extraInfo2)
Sets up a constant which will automatically be updated by the system.
static const IdString TexMatrixCount6
Definition: OgreUnlitProperty.h:58
GLSLESLinkProgramManager(void)
static const int MeshShift
Definition: OgreRenderQueue.h:305
virtual void bakeLodLevel(LodData *data, int lodIndex)
@ FILTER_NEAREST
Definition: OgreImage.h:451
Compact implementation similar to std::array.
Definition: OgreStackVector.h:48
virtual void unload(ResourceHandle handle)
Unloads a single resource by handle.
bool mReuseCullData
When true, the frustum culling is skipped in this pass.
Definition: OgreCompositorPassSceneDef.h:145
void setTexture(TextureGpu *texPtr)
Sets this texture layer to use a single texture, given the pointer to the texture to use on this laye...
@ OT_TRIANGLE_STRIP
A strip of triangles, 3 vertices for the first triangle, and 1 per triangle after that.
Definition: OgreHlmsPso.h:56
D3D9Device * getActiveRenderTargetDevice()
Viewport & _getCurrentRenderViewport(void)
Definition: OgreRenderSystem.h:708
virtual void clearShaderCache(void)
Destroys the shader cache from all jobs, causing us to reload shaders from file again.
ComPtr< ID3D11ShaderResourceView > createSrv(const DescriptorSetTexture2::TextureSlot &texSlot) const
const Matrix4 & getInverseViewMatrix(void) const
const T * const_iterator
Definition: OgreFastArray.h:98
ScriptCompilerEvent(const String &type)
Definition: OgreScriptCompiler.h:355
virtual ColourValue getDiffuseColour(void) const
Returns the closest match for a diffuse colour, if applicable by the actual implementation.
TextureGpu * getDepthBuffer(void) const
bool isBorderBottom(const OctreeNode &root) const
Gets whether this cell is at the bottom of the given root cell.
Definition: OgreVolumeOctreeNode.h:250
static Real InvSqrt(Real fValue)
Inverse square root i.e.
ConstBufferPacked * materialBuffer
Definition: OgreConstBufferPool.h:64
bool getCastsDynamicShadows() const
Whether the terrain will be able to cast shadows (texture shadows only are supported,...
Definition: OgreTerrain.h:1971
void setListener(CompositorWorkspaceListener *listener)
uint8 getNumMipmaps(void) const
Codec specialized in images.
Definition: OgreImageCodec2.h:49
CompositorShadowMapRepeatTranslator()
virtual_l2 Vector3 convertWorldToLocalPosition(const Vector3 &worldPos)
Gets the local position, relative to this node, of the given world-space position.
static void buildLightList(const size_t numNodes, ObjectData t, const LightListInfo &globalLightList)
@See SceneManager::buildLightList
void setNumTexUnits(uint8 numSlots)
Creates 'numSlots' number of slots before they can be set.
void doSet(void *target, const String &val)
@ PX
Definition: OgreTextureGpu.h:73
virtual ManualObjectSection * end(void)
Finish defining the object and compile the final renderable version.
void setMacroblock(const HlmsMacroblock ¯oblock)
Sets the macroblock for all passes.
virtual void _update(void)
Internal method to update the element based on transforms applied.
virtual ~MeshSerializer()
static const IdString DetailOffsetsD
Definition: OgreHlmsPbsMobile.h:126
bool getAlwaysUpdateMainSkeleton() const
The skeleton of the main entity will be updated even if the an LOD entity is being displayed.
Definition: OgreEntity.h:711
map< unsigned short, bool >::type SchemeHardwareAnimMap
Definition: OgreEntity.h:90
UINT getSubresourceIndex(size_t box_front) const
@ ID_CLEAR_COLOUR
Definition: OgreScriptCompiler.h:884
Built, renderable section of geometry.
Definition: OgreManualObject2.h:290
float mMaxLod
Definition: OgreHlmsSamplerblock.h:85
@ BCT_UNKNOWN
Definition: OgreGpuProgramParams.h:63
String doGet(const void *target) const
String alias
Definition: OgreTextureGpuManager.h:266
static Degree Abs(const Degree &dValue)
Absolute value function.
Definition: OgreMath.h:256
VectorIterator< Techniques > TechniqueIterator
Definition: OgreMaterial.h:222
virtual const String & getTargetLanguage(void) const =0
Get the name of the language this factory creates programs for.
FunctionAtom()
Class default constructor.
int8 kernelStartY
Definition: OgreImageDownsampler.h:219
Definition: OgreCbDrawCall.h:36
Vector3 getCorner(CornerEnum cornerToGet) const
Gets the position of one of the corners.
Definition: OgreAxisAlignedBox.h:328
static const IdString UvDetailNm0
Definition: OgreHlmsPbsMobile.h:148
SmallVector< T, S >::iterator iterator
Definition: OgreVectorSet.h:46
VoxelizerJobSetting
Definition: OgreVctVoxelizer.h:50
virtual ~TerrainLayerBlendMap()
virtual void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
void XMapWindow(Display *nativeDisplayType, Window nativeWindowType)
AbstractNode * clone() const
Returns a new AbstractNode which is a replica of this one.
void setEnableVpls(bool enable)
Definition: OgreForwardPlusBase.h:221
DebugVisualizationMode
Definition: OgreVctVoxelizer.h:119
bool isTexture(void) const
Definition: OgreDescriptorSetTexture.h:267
bool queryResult(MovableObject *first, MovableObject *second)
Self-callback in order to deal with execute which returns collection.
virtual bool isCustomViewMatrixEnabled(void) const
Returns whether a custom view matrix is in use.
Definition: OgreFrustum.h:415
virtual Real getInitialWidth(size_t chainIndex) const
Get the starting ribbon width in world units.
~RawSimdUniquePtr()
Definition: OgreRawPtr.h:83
const HardwareVertexBufferSharedPtr & getVertexBuffer(void) const
Gets the vertex buffer containing positions for this keyframe.
Real getSquaredViewDepth(const Camera *cam) const
Overridden, see Renderable.
virtual const String & getTargetLanguage() const
Return the target language of this processor.
Definition: OgreShaderCGProgramProcessor.h:60
_OgreExport void SetHandler(Handler newHandler)
virtual void getRenderOperation(v1::RenderOperation &op, bool casterPass)
Gets the render operation required to send this object to the frame buffer.
@ ACT_LIGHT_DIRECTION_ARRAY
Array of light directions in world space (count set by extra param)
Definition: OgreGpuProgramParams.h:1090
size_t getUnsignedIntLogicalIndexForPhysicalIndex(size_t physicalIndex)
Retrieves the logical index relating to a physical index in the uint buffer, for programs which suppo...
void setCastsDynamicShadows(bool s)
Whether the terrain will be able to cast shadows (texture shadows only are supported,...
Definition: OgreTerrain.h:1978
CbDrawCallStrip(bool supportsBaseInstance)
OctreeNode * root
The octree node to use.
Definition: OgreVolumeChunkHandler.h:69
virtual void passPreExecute(CompositorPass *pass)
Called when each pass is about to be executed.
virtual RenderTexture * createRenderTexture(const String &name, const GL3PlusSurfaceDesc &target, bool writeGamma, uint fsaa)=0
Create a texture rendertarget object.
static const ArrayMatrix4 IDENTITY
Definition: C/OgreArrayMatrix4.h:214
static uint32 ClosestPow2(uint32 x)
Return closest power of two not smaller than given number.
Definition: OgreMath.h:515
const String & getPluginStringName(void) const
Returns the string name of this Plugin (as set by the Plugin)
Definition: OgreExternalTextureSource.h:138
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
virtual void _descriptorSetUavCreated(DescriptorSetUav *newSet)
static Codec * getCodec(char *magicNumberPtr, size_t maxbytes)
Gets the codec that can handle the given 'magic' identifier.
VertexAnimationTrack(Animation *parent, unsigned short handle, VertexAnimationType animType)
Constructor.
virtual void markProfileEvent(const String &event)
Marks an instantaneous event for graphics profilers.
virtual uint32 fillBuffersFor(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, uint32 lastTextureHash)
Fills the constant buffers.
ComputeTextureSource(size_t _texUnitIdx, IdString _textureName, ResourceAccess::ResourceAccess _access, int32 _mipmapLevel, int32 _textureArrayIndex, PixelFormatGpu _pixelFormat, bool _allowWriteAfterWrite)
Definition: OgreCompositorPassComputeDef.h:76
void setNull()
Sets the box to a 'null' value i.e.
Definition: OgreAxisAlignedBox.h:508
void removeAnimationState(const String &name)
Remove animation state with the given name.
PageContent(PageContentFactory *creator)
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware vertex buffer.
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a vertex buffer.
LinkedSkeletonAnimationSource(const String &skelName, Real scl, SkeletonPtr skelPtr)
Definition: OgreSkeleton.h:473
virtual_l2 Vector3 _getDerivedPositionUpdated(void)
Gets the position of the node as derived from all parents.
const Matrix4 * getWorldMatrixArray(void) const
void reset()
Definition: OgreAny.h:129
virtual void messageLogged(const Ogre::String &message, Ogre::LogMessageLevel lml, bool maskDebug, const Ogre::String &logName, bool &skipThisMessage)
ConstMapIterator< AliasTextureNamePairList > AliasTextureIterator
Definition: OgreSubMesh.h:200
static void packColour(const ColourValue &colour, const PixelFormat pf, void *dest)
Pack a colour value to memory.
A factory that enables creation of LayeredBlending instances.
Definition: OgreShaderExLayeredBlending.h:202
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:100
Controller< Real > * createGpuProgramTimerParam(GpuProgramParametersSharedPtr params, size_t paramIndex, Real timeFactor=1.0f)
Creates a controller for passing a frame time value through to a vertex / fragment program parameter.
Terrain LOD data manager.
Definition: OgreTerrainLodManager.h:53
virtual void releaseTmpRtt(const TextureGpu *tmpRtt)
@ NUM_PBSM_SOURCES
Definition: OgreHlmsPbsPrerequisites.h:73
RenderingAPIException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
virtual void _setDepthBufferDefaults(uint16 depthBufferPoolId, bool preferDepthTexture, PixelFormatGpu desiredDepthBufferFormat)
These 3 values are used as defaults for the compositor to use, but they may be explicitly overriden b...
Definition: OgreSceneManager.h:132
Definition: OgreGL3PlusTexBufferPacked.h:40
static String FACTORY_TYPE_NAME
Definition: OgreLight.h:662
Forward3D(uint32 width, uint32 height, uint32 numSlices, uint32 lightsPerCell, float minDistance, float maxDistance, SceneManager *sceneManager)
size_t calculateSize(void) const
virtual void _copyRenderTargetToCubemap(uint32 cubemapArrayIdx)
@ ET_UVSCROLL
Constant u/v scrolling effect.
Definition: OgreTextureUnitState.h:81
Node * getParentNode(void) const
Returns our parent node. May be null.
Definition: OgreSkeletonInstance.h:195
virtual void _executeResourceTransition(ResourceTransition *resTransition)
Definition: OgreRenderSystem.h:826
@ SPC_NORMAL_TANGENT_SPACE
Normal in tangent space.
Definition: OgreShaderParameter.h:112
virtual void _notifyResourceTouched(Resource *res)
Notify this manager that a resource which it manages has been 'touched', i.e.
HlmsJsonUnlit(HlmsManager *hlmsManager, TextureGpuManager *textureManager)
TextureDefinitionVec & getLocalTextureDefinitionsNonConst(void)
Returns the local texture definitions.
Definition: OgreTextureDefinition.h:316
@ ID_POINT
Definition: OgreScriptCompiler.h:715
int _calculateNumUvAtlas(bool casterPass) const
Node ** mParents
Holds the pointers to each parent. Ours is mParents[mIndex].
Definition: OgreObjectData.h:44
long getSeed(void) const
Gets the initial seed.
virtual ConstObjectIterator getAttachedObjectIterator(void) const
Retrieves an iterator which can be used to efficiently step through the objects attached to this node...
virtual void setTextureStacksAndSlices(uchar stacks, uchar slices)
setTextureStacksAndSlices() will generate texture coordinate rects as if the texture for the billboar...
virtual void getShadowCamera(const SceneManager *sm, const Camera *cam, const Light *light, Camera *texCam, size_t iteration, const Vector2 &viewportRealSize) const
Returns shadow camera configured to get 1-1 homography between screen and shadow map when restricted ...
virtual 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.
float * getPoseWeights() const
PlaneBoundedVolume getPlaneBoundedVolume()
Gets a world-space list of planes enclosing the frustum.
@ VET_USHORT2
Definition: OgreVertexElements.h:92
static Profiler & getSingleton(void)
Override standard Singleton retrieval.
static const IdString UvDiffuseSwizzle12
Definition: OgreUnlitProperty.h:106
void _setDepthBufferCheckEnabled(bool enabled=true)
See RenderSystem.
uint32 BGRA
Definition: OgreColourValue.h:44
static FORCEINLINE T lerp(const T &a, const T &b, const S &w)
Linear interpolation.
Definition: OgreMath.h:377
virtual void _setSamplersCS(uint32 slotStart, const DescriptorSetSampler *set)
bool _getBuffersMarkedForAnimation(void) const
Are buffers already marked as vertex animated?
Definition: OgreSubEntity.h:221
@ PFG_PVRTC2_4BPP
PVRTC (PowerVR) Version 2, 4 bpp.
Definition: OgrePixelFormatGpu.h:210
RenderSystem * getRenderSystem(void)
virtual bool isMsaaPatternSupported(MsaaPatterns::MsaaPatterns pattern)
Matrix4 getInverseViewProjMatrix(void) const
Definition: OgreHlmsLowLevel.h:107
@ ID_RENDER_QUAD
Definition: OgreScriptCompiler.h:876
String getShaderTypeLabel(GpuProgramType programType)
Get a string containing the name of the GLSL shader type correspondening to the OGRE GPU program type...
virtual HlmsCache preparePassHash(const Ogre::CompositorShadowNode *shadowNode, bool casterPass, bool dualParaboloid, SceneManager *sceneManager)
Called every frame by the Render Queue to cache the properties needed by this pass.
static D3D11_BLEND get(SceneBlendFactor sbf, bool forAlpha)
return a D3D11 equivalent for a Ogre SceneBlendFactor value
static const ArrayReal fEpsilon
Definition: OgreMathlibC.h:52
virtual ~GLSLProgramWriter()
Class destructor.
bool tryLock()
Tries to aquire the lock and returns immediately.
Vector4 getUserValue(uint8 userValueIdx) const
virtual void _renderEmulatedNoBaseInstance(const CbDrawCallIndexed *cmd)
bool isDerivedDataUpdateInProgress() const
Calls Terrain::isDerivedDataUpdateInProgress on each loaded instance and returns true if any of them ...
void convertImageToUVSpace(size_t x, size_t y, Real *outX, Real *outY)
Convert image space (0, imageSize) to local space values (0,1).
Implements default shadow camera setup.
Definition: OgreShadowCameraSetup.h:94
Matrix3(const Real arr[3][3])
Definition: OgreMatrix3.h:76
GLES2DepthPixelBuffer(GLES2DepthTexture *parentTexture, const String &baseName, uint32 width, uint32 height, uint32 depth, PixelFormat format)
@ ID_SCALE
Definition: OgreScriptCompiler.h:788
void * at(size_t xPos, size_t yPos, size_t zPos) const
x, y & z are in pixels.
Definition: OgreTextureBox.h:133
@ ID_COMPUTE_PROGRAM
Definition: OgreScriptCompiler.h:1028
static GLenum getGLOriginFormat(PixelFormat mFormat, bool hwGamma)
Takes the OGRE pixel format and returns the appropriate GL one.
RenderPassTargetBase stencil
Definition: OgreRenderPassDescriptor.h:250
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:1057
static ScreenRatioPixelCountLodStrategy & getSingleton(void)
Override standard Singleton retrieval.
void setIndexBufferPolicy(HardwareBuffer::Usage usage, bool shadowBuffer=false)
Sets the policy for the index buffers to be used when loading this Mesh.
D3D11HLSLProgram * domainShader
Definition: OgreD3D11HlmsPso.h:55
@ ID_SHARED_PARAMS_REF
Definition: OgreScriptCompiler.h:811
String mResourceGroup
Definition: OgreScriptCompiler.h:582
int refCount
Definition: OgreLodData.h:94
GL3PlusAsyncTextureTicket(uint32 width, uint32 height, uint32 depthOrSlices, TextureTypes::TextureTypes textureType, PixelFormatGpu pixelFormatFamily, GL3PlusVaoManager *vaoManager, bool supportsGetTextureSubImage)
void removeTemplate(const String &name, bool deleteTemplate=true)
Removes a specified template from the ParticleSystemManager.
Definition: OgreManualObject2.h:44
@ FBT_DEPTH
Definition: OgreCommon.h:323
Real getSurfaceAlphaRejectionValue(void) const
@ TLSS_SPECULAR
Specular reflectance.
Definition: OgreTerrainMaterialGenerator.h:65
static size_t gcd(size_t a, size_t b)
Returns Greatest Common Denominator.
Definition: OgreMath.h:734
SourceData(char const *_data, size_t _bytesPerVertex, VertexElement2 _element)
Definition: OgreSubMesh2.h:292
const SkeletonDefPtr & getSkeleton(void) const
Gets a pointer to any linked Skeleton.
Definition: OgreMesh2.h:301
virtual void beginRenderPassDescriptor(RenderPassDescriptor *desc, TextureGpu *anyTarget, uint8 mipLevel, const Vector4 *viewportSizes, const Vector4 *scissors, uint32 numViewports, bool overlaysEnabled, bool warnIfRtvWasFlushed)
When the descriptor is set to Load clear, two possible things may happen:
Listener()
Definition: OgreCamera.h:109
const GpuProgramParameters_AutoConstantEntry * _findRawAutoConstantEntryDouble(size_t physicalIndex)
Finds an auto constant that's affecting a given physical position in the double-point buffer.
D3D11HardwareBuffer(BufferType btype, size_t sizeBytes, HardwareBuffer::Usage usage, D3D11Device &device, bool useSystemMem, bool useShadowBuffer, bool streamOut)
void cleanerArrayAabb(char *dstPtr, size_t indexDst, char *srcPtr, size_t indexSrc, size_t numSlots, size_t numFreeSlots, size_t elementsMemSize)
@ ID_GEOMETRY_PROGRAM
Definition: OgreScriptCompiler.h:614
BufferPacked * destination
Buffer where the contents of the staging buffer will be copied to after unmapping.
Definition: OgreStagingBuffer.h:84
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: OgreMesh2.h:295
void addSharedParameters(const String &sharedParamsName)
Use a set of shared parameters in this parameters object.
Definition: OgreCompositorWorkspaceDef.h:62
virtual void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
Update GPU programs parameters before a rendering operation occurs.
Definition: OgreShaderSubRenderState.h:106
ConstPoseRefIterator getPoseReferenceIterator(void) const
Get a const iterator over the pose references.
TextureGpu * getAreaLightMasks(void) const
Definition: OgreHlmsPbs.h:412
Parameters for loading the volume.
Definition: OgreVolumeChunk.h:51
TextureGpu * texture
Definition: OgreDescriptorSetTexture.h:180
@ FO_LINEAR
Average of a 2x2 pixel area, denotes bilinear for MIN and MAG, trilinear for MIP.
Definition: OgreCommon.h:222
TextureUnitStateIterator getTextureUnitStateIterator(void)
Get an iterator over the TextureUnitStates contained in this Pass.
@ GCT_MATRIX_DOUBLE_3X3
Definition: OgreGpuProgramParams.h:107
~GLSLESLinkProgramManager(void)
size_t getGlobalNumberOfInstances() const
Gets the global number of instances.
bool mCameraCubemapReorient
When true, the camera will be rotated 90°, -90° or 180° depending on the value of mRtIndex and then r...
Definition: OgreCompositorPassSceneDef.h:119
virtual SortMode _getSortMode(void) const
Gets the sort mode of this billboard set.
virtual const String & getType() const
const IndexToIndexMap & getSlotToBone(void) const
Definition: OgreSkeletonDef.h:198
bool isCategoryRelevant(CapabilitiesCategory cat)
Return whether a category is 'relevant' or not, ie will it be reported.
Definition: OgreRenderSystemCapabilities.h:868
Radian & operator=(const Real &f)
Definition: OgreMath.h:56
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:215
virtual ~SharedPtrInfoNone()
void push_back(const T &val)
Definition: OgreStackVector.h:117
virtual void _collectKeyFrameTimes(vector< Real >::type &keyFrameTimes)
Internal method to collect keyframe times, in unique, ordered format.
ulong frameTime
The total time this profile has taken this frame.
Definition: OgreProfiler.h:256
virtual void enableReflection(const MovablePlane *p)
Modifies this frustum so it always renders from the reflection of itself through the plane specified.
Vector3 transformDirectionAffine(const Vector3 &v) const
3-D Vector transformation specially for an affine matrix.
Definition: OgreMatrix4.h:652
void destroyConstBuffer(ConstBufferPacked *constBuffer)
Destroys the given constant buffer created with createConstBuffer.
bool isStereo(void) const
bool operator==(const Degree &d) const
Definition: OgreMath.h:128
unordered_map< String, uint32 >::type IdMap
Definition: OgreScriptCompiler.h:195
virtual bool isCompatible(RenderTarget *renderTarget, bool exactFormatMatch) const
Returns whether the specified RenderTarget is compatible with this DepthBuffer That is,...
static const IdString UvDiffuseSwizzle15
Definition: OgreUnlitProperty.h:109
void setDefaultStrategy(LodStrategy *strategy)
Set the default strategy.
void setStencilBufferParams(CompareFunction func=CMPF_ALWAYS_PASS, uint32 refValue=0, uint32 compareMask=0xFFFFFFFF, uint32 writeMask=0xFFFFFFFF, StencilOperation stencilFailOp=SOP_KEEP, StencilOperation depthFailOp=SOP_KEEP, StencilOperation passOp=SOP_KEEP, bool twoSidedOperation=false, bool readBackAsTexture=false)
@ PFG_D32_FLOAT
Definition: OgrePixelFormatGpu.h:87
TextureEntryVec textureEntry
Definition: OgreHlmsTexturePack.h:58
Basic triangle structure.
Definition: OgreEdgeListBuilder.h:60
Class for the generation of the DualGrid.
Definition: OgreVolumeDualGridGenerator.h:66
virtual_l1 void textureCoord(Real u, Real v)
Add a texture coordinate to the current vertex.
Direct3D implementation of a few things common to low-level vertex & fragment programs.
Definition: OgreD3D9GpuProgram.h:40
bool execute(ObjectData objData, size_t numNodes, SceneQueryListener *listener)
GLuint getWarningTextureID()
Definition: OgreGLES2TextureManager.h:45
@ ACT_TEXTURE_SIZE
Provides texture size of the texture unit (index determined by setAutoConstant call).
Definition: OgreGpuProgramParams.h:1349
HighLevelGpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
String doGet(const void *target) const
~GL3PlusHardwareShaderStorageBuffer()
Class representing colour.
Definition: OgreColourValue.h:58
GpuProgramParametersSharedPtr createParameters(void)
Creates a new parameters object compatible with this program definition.
virtual void _forceReleaseBufferCopies(HardwareVertexBuffer *sourceBuffer)
Internal method that forces the release of copies of a given buffer.
Definition: OgreHardwareBufferManager.h:532
virtual void notifyDataIsReady(void)
Notifies it is safe to use the real data. Everything has been uploaded.
float mGaussianDeviationFactor
Used when mMipmapGenerationMethod == ComputeHQ.
Definition: OgreCompositorPassMipmapDef.h:72
void _update(void)
Overridden from OverlayElement.
const Any & _getRenderSystemData() const
Internal method that the RenderSystem might use to store optional data.
Definition: OgreGpuProgramParams.h:861
Definition: OgreX11EGLSupport.h:88
SceneCtlAlignedObject SceneMgtAlignedAlloc
Definition: OgreMemoryAllocatorConfig.h:329
static D3DFILLMODE get(PolygonMode level)
return a D3D9 equivalent for a Ogre PolygonMode value
const Radian & getRotate(void) const
Gets the rotation applied to this overlay, in degrees.
Definition: OgreOverlay.h:216
bool operator==(const ConstMapRange &rhs) const
comparison operator for equality
Definition: OgreIteratorRange.h:324
void createScheme(const String &schemeName)
Create a scheme.
@ ID_CULL_MODE
Definition: OgreScriptCompiler.h:689
void setResetsEveryUpdate(bool resetsEveryUpdate)
Set whether this object resets its buffers each time it updates.
Definition: OgreRenderToVertexBuffer.h:90
uint32 uavSlot
Definition: OgreCompositorPassUavDef.h:78
multimap< TextureEffectType, TextureEffect >::type EffectMap
Texture effects in a multimap paired array.
Definition: OgreTextureUnitState.h:153
void setTopLeftBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the top-left corner of the border.
virtual ~Win32EGLContext()
IdString mDepthTextureNoMsaa
Definition: OgreCompositorPassSceneDef.h:95
WireAabbFactory()
Definition: OgreWireAabb.h:69
virtual size_t getChainIndexForNode(const Node *n)
Get the chain index for a given Node being tracked.
void setActiveVertexShader(GLSLESShader *vertexShader)
Set the active vertex shader for the next rendering state.
ComPtr & operator=(U *other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:157
virtual void _notifyViewport()
Overridden from OverlayElement.
Matrix4(const Quaternion &rot)
Creates a standard 4x4 transformation matrix with a zero translation part from a rotation/scaling Qua...
Definition: OgreMatrix4.h:143
@ WFT_TRIANGLE
An angular wave with a constant increase / decrease speed with pointed peaks.
Definition: OgreCommon.h:278
void _queueDownloadToRam(TextureGpu *texture, bool resyncOnly)
virtual ~StagingTextureManager()
@ DefaultSeparateDiffuseFresnel
Same as Default but the fresnel of the diffuse is calculated differently.
Definition: OgreHlmsPbsDatablock.h:115
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
static AngleUnit getAngleUnit(void)
Get the unit being used for angles.
void setConstant(size_t index, const Vector2 &vec)
Sets a 4-element floating-point parameter to the program via Vector2.
Real getSkirtSize() const
The default size of 'skirts' used to hide terrain cracks (default 10, set for new Terrain using Terra...
Definition: OgreTerrain.h:1239
void setManualValue(const uint32 *value, uint32 numValues)
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...
virtual void touchVertexBufferCopy(const HardwareVertexBufferSharedPtr &bufferCopy)
Tell engine that the vertex buffer copy intent to reuse.
Definition: OgreHardwareBufferManager.h:509
AxisAlignedBox intersection(const AxisAlignedBox &b2) const
Calculate the area of intersection of this box and another.
Definition: OgreAxisAlignedBox.h:573
void createEmptyImage(uint32 width, uint32 height, uint32 depthOrSlices, TextureTypes::TextureTypes textureType, PixelFormatGpu format, uint8 numMipmaps=1u)
Convenience function.
IndexData * indexData
Definition: OgreStaticGeometry.h:156
static HardwareSkinningFactory & getSingleton(void)
Override standard Singleton retrieval.
HardwarePixelBufferSharedPtr(HardwarePixelBuffer *buf)
virtual void _setTexturesCS(uint32 slotStart, const DescriptorSetTexture *set)
void reinitialise()
Restart the renderer (normally following a change in settings).
@ ID_CONTENT_TYPE
Definition: OgreScriptCompiler.h:803
PageID calculatePageID(int32 x, int32 y)
void setCurrentPlugIn(const String &sTexturePlugInType)
Sets active plugin (ie.
@ SOP_INCREMENT_WRAP
Increase the stencil value by 1, wrapping back to 0 when incrementing the maximum value.
Definition: OgreCommon.h:112
static const int ShaderBits
Definition: OgreRenderQueue.h:296
virtual void updateDebugDisplay(Page *p, SceneNode *sn)=0
Update the contents of the passed in SceneNode to reflect the debug display of a given page.
NULLMultiSourceVertexBufferPool(size_t vboPoolIndex, const VertexElement2VecVec &vertexElementsBySource, size_t maxVertices, BufferType bufferType, size_t internalBufferStart, VaoManager *vaoManager)
void requestFullscreenSwitch(bool goFullscreen, bool borderless, uint32 monitorIdx, uint32 width, uint32 height, uint32 frequencyNumerator, uint32 frequencyDenominator)
Requests to toggle between fullscreen and windowed mode.
Definition: OgreTextureGpu.h:209
Pass * getPass(unsigned short index)
Retrieves the Pass with the given index.
bool hasResolvedTexture2D() const
Definition: OgreD3D11Texture.h:85
SharedPtr< DataStreamList > DataStreamListPtr
Shared pointer to list of DataStream items.
Definition: OgreDataStream.h:310
size_t getConstBufferSize(void) const
void convertUVToWorldSpace(Real x, Real y, Vector3 *outWorldPos)
Helper method - convert a point in local space to worldspace based on the terrain settings.
virtual bool preCreateGpuPrograms(ProgramSet *programSet)
RuntimeAssertionException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
void reloadAll(bool reloadableOnly=true)
Caused all currently loaded resources to be reloaded.
Definition: OgreResourceManager.h:230
virtual void setOrigin(const Vector3 &worldOrigin)
Set the origin of the grid in world space.
TextureBox()
Definition: OgreTextureBox.h:55
void setKeepParticlesInLocalSpace(bool keepLocal)
Sets whether particles (and any affector effects) remain relative to the node the particle system is ...
const Vector3 * getWorldSpaceCorners(void) const
Gets the world space corners of the frustum.
void unbindSurface(size_t attachment)
Unbind attachment.
void recreateAllNodes(void)
Destroys and recreates all nodes.
void setRadialDensityMask(bool bEnabled, const float radius[3])
Draws a Radial Density Mask to lower the quality around the edges in VR.
Definition: OgreNULLUavBufferPacked.h:41
virtual void unprepareImpl(void)
virtual void _updateBounds(void)
Update the bounds of the billboardset.
virtual void prepareWorldGeometry(const String &filename)
Sets the source of the 'world' geometry, i.e.
void destroyAllNumericTracks(void)
Removes and destroys all tracks making up this animation.
virtual void setNearClipDistance(Real nearDist)
Sets the position of the near clipping plane.
virtual bool notifyRecreated(const TextureGpu *channel)
@See CompositorNode::notifyRecreated
const map< String, RenderSystemCapabilities * >::type & getCapabilities() const
Access to the internal map of loaded capabilities.
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:57
virtual void _notifyAttached(Page *parent)
Internal method to notify a collection that it is attached.
@ Default
Most physically accurate BRDF we have.
Definition: OgreHlmsPbsDatablock.h:73
GLuint getGLShaderHandle() const
Definition: OgreGLSLESShader.h:72
virtual bool preCreateGpuPrograms(ProgramSet *programSet)
@ PFG_RGBA16_FLOAT
Definition: OgrePixelFormatGpu.h:59
const Vector4 * getCustomParameterNoThrow(uint16 index) const
Definition: OgreGL3PlusTextureGpuWindow.h:39
const Vector3 getCenterFrontBottom(void) const
Gets the center of the corners 2, 3.
Definition: OgreVolumeOctreeNode.h:373
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
void _notifyWindowDestroyed(Window *window)
size_t sizeBytes
Definition: OgreCompositorPassComputeDef.h:92
@ STALL_FULL
The whole pipeline is brought to a stop.
Definition: OgreStagingBuffer.h:53
virtual ~InvalidCallException()
Command object for getting/setting assembler code.
Definition: OgreD3D9HLSLProgram.h:92
const uint32 * getNumThreadGroups(void) const
Definition: OgreHlmsComputeJob.h:201
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:76
virtual StringVectorPtr find(const String &pattern, bool recursive=true, bool dirs=false)=0
Find all file or directory names matching a given pattern in this archive.
const Vector3 getCenterBackRight(void) const
Gets the center of the corners 1, 5.
Definition: OgreVolumeOctreeNode.h:436
void setDebugVisualization(VctVoxelizer::DebugVisualizationMode mode, SceneManager *sceneManager)
SharedPtr< HighLevelGpuProgram > HighLevelGpuProgramPtr
Definition: OgrePrerequisites.h:393
XSizeHints * XAllocSizeHints()
Vector3 xyz() const
Swizzle-like narrowing operations.
Definition: OgreVector4.h:105
A class that represents a shader based program parameter.
Definition: OgreShaderParameter.h:48
T width() const
Definition: OgreCommon.h:732
const Vector3 & getCenter(void) const
Returns the center point of the sphere.
Definition: OgreSphere.h:72
ParallaxCorrectedCubemapAutoListener * getListener(void) const
Definition: OgreParallaxCorrectedCubemapAuto.h:101
virtual ~D3D11VaoManager()
float _m[12]
Definition: OgreShaderPrimitives.h:104
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
VertexAnimationTrack * _clone(Animation *newParent) const
Clone this track (internal use only)
virtual ~HLSLProgramWriter()
Class destructor.
TrackedRenderable(Renderable *_renderable, MovableObject *_movableObject, const Vector3 &_reflNormal, const Vector3 &_renderableCenter)
Definition: OgrePlanarReflections.h:103
RenderTexture * getRenderTarget(size_t zoffset)
Get rendertarget for z slice.
@ CB_DRAW_CALL_STRIP_EMULATED
Definition: OgreCbCommon.h:44
@ SKELETON_VERSION_1_8
OGRE version v1.8+.
Definition: OgreSkeletonSerializer.h:46
DXGI_USAGE BufferUsage
Definition: OgreD3D11LegacySDKEmulation.h:59
#define _OgreGLES2Export
Definition: OgreGLES2Prerequisites.h:291
void destroyBufferResources(IDirect3DDevice9 *d3d9Device)
Destroy resources associated with the given device.
virtual v1::StaticGeometry * createStaticGeometry(const String &name)
Creates a StaticGeometry instance suitable for use with this SceneManager.
bool isYawFixed(void) const
Definition: OgreSceneNode.h:234
static int getFloatCount(int mask)
Return the float count of the given mask.
const String & getMovableType(void) const
Overridden from MovableObject.
uint flags
Definition: OgreImageCodec.h:67
Quaternion getOrientation() const
Returns a quaternion representing the nodes orientation.
static ArrayReal Abs4(ArrayReal a)
Returns the absolute values of each 4 floats.
Definition: OgreMathlibC.h:69
void detachFromProgramObject(const GLuint programObject)
Implementation of HardwareBufferManager for OpenGL ES.
Definition: OgreGLES2HardwareBufferManager.h:41
GPUVendor getVendor() const
Definition: OgreRenderSystemCapabilities.h:468
virtual void removeAllLinkedSkeletonAnimationSources(void)
Remove all links to other skeletons for the purposes of sharing animation.
void swap(Quaternion &other)
Exchange the contents of this quaternion with another.
Definition: OgreQuaternion.h:99
@ PFG_BGR8_UNORM_SRGB
Definition: OgrePixelFormatGpu.h:189
const NumericTrackList & _getNumericTrackList(void) const
Fast access to NON-UPDATEABLE numeric track list.
const String & getGLVendor(void) const
Get vendor information.
Definition: OgreGL3PlusSupport.h:70
ShaderProgramWriterGLSLFactory()
Definition: OgreShaderGLSLProgramWriter.h:124
void undeclareResource(const String &name, const String &groupName)
Undeclare a resource.
virtual void _hlmsMacroblockCreated(HlmsMacroblock *newBlock)
Pose * clone(void) const
Clone this pose and create another one configured exactly the same way (only really useful for clonin...
static ArrayReal Sin4(ArrayReal x)
Returns the sine of x.
void uploadTo(TextureGpu *texture, uint8 minMip, uint8 maxMip, uint32 dstZorSliceStart=0u, uint32 srcDepthOrSlices=0u)
Synchronously uploads the selected mips from this Image into a TextureGpu.
@ HBL_NO_OVERWRITE
As HBL_DISCARD, except the application guarantees not to overwrite any region of the buffer which has...
Definition: OgreHardwareBuffer.h:138
void setGamma(Real gamma)
Sets the gamma adjustment factor applied to this texture on loading the data.
Definition: OgreTextureUnitState.h:554
String doGet(const void *target) const
TexBufferPacked * createTexBuffer(PixelFormatGpu pixelFormat, size_t sizeBytes, BufferType bufferType, void *initialData, bool keepAsShadow)
Creates an constant buffer based on the given parameters.
GPUDeviceNameRuleIterator getGPUDeviceNameRuleIterator() const
Get an iterator over the currently registered device name rules.
size_t getFrameCount(void) const
Returns how many times _update has been called.
Definition: OgreCompositorManager2.h:223
RenderTargetViewDef * getRenderTargetViewDefNonConstNoThrow(IdString name)
void setVertexData(VertexData *v_in)
Set the incoming vertex data (which will be modified)
void setDoBoneCalculations(bool doBoneCalculations)
void _addPendingResidencyChanges(uint32 value)
virtual void defineTerrain(long x, long y, const Terrain::ImportData *importData)
Define the content of a 'slot' in the terrain grid.
size_t size
Definition: OgreGL3PlusVaoManager.h:54
GLboolean depthWrite
Definition: OgreGL3PlusHlmsPso.h:48
IdString getTypeName(void) const
Definition: OgreHlms.h:455
Definition: OgreDescriptorSetUav.h:106
virtual void notifyDestroyed(TextureGpu *channel)
@See CompositorNode::notifyDestroyed
static const IdString BlendModeIndex8
Definition: OgreUnlitProperty.h:119
void unlock(void)
Override HardwareBuffer to turn off all shadowing.
@ TID_UNKNOWN
Definition: OgreScriptLexer.h:59
virtual void convertGridToWorldSpace(const Vector2 &grid, Vector3 &world)
Convert a grid point to world space - note only 2 axes populated.
void setTopBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the top edge of the border.
const String & getDefaultResourceGroup() const
Get the default resource group to use to load / save terrains.
Definition: OgreTerrain.h:2098
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:58
CommonTextureTypes
Definition: OgreTextureGpuManager.h:99
static void SetRandomValueProvider(RandomValueProvider *provider)
This class manages all textures (i.e.
Definition: OgreTextureGpuManager.h:226
virtual void notifyTextureChanged(TextureGpu *texture, TextureGpuListener::Reason reason, void *extraData)
Called when a TextureGpu changed in a way that affects how it is displayed:
@ ID_BUFFERS
Definition: OgreScriptCompiler.h:947
virtual OldNode * getChild(unsigned short index) const
Gets a pointer to a child OldNode.
Hlms * getCreator(void) const
Definition: OgreHlmsComputeJob.h:142
void addConstantDefinition(const String &name, GpuConstantType constType, size_t arraySize=1)
Add a new constant definition to this shared set of parameters.
virtual void _notifyRenderTargetDetached(RenderTarget *renderTarget)
Called when a RenderTarget is detaches from this DepthBuffer.
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
String doGet(const void *target) const
bool mTemplatesOutOfDate
Definition: OgreHlmsDiskCache.h:168
static long parseLong(const String &val, long defaultValue=0)
Converts a String to a whole number.
This class uses as accessor from a template SubRenderState to all of its instances that created based...
Definition: OgreShaderSubRenderState.h:173
Real getValueImpl(const MovableObject *movableObject, const Camera *camera) const
VertexBufferPacked const * vertexBuffer
Definition: OgreVertexArrayObject.h:190
virtual void destroyAllBillboardSets(void)
Removes & destroys all BillboardSets.
String doGet(const void *target) const
@ OGREPROF_USER_DEFAULT
User default profile.
Definition: OgreProfiler.h:210
void doSet(void *target, const String &val)
const PluginInstanceList & getInstalledPlugins() const
Gets a read-only list of the currently installed plugins.
Definition: OgreRoot.h:745
ConstVectorIterator< NodeVec > ConstNodeVecIterator
Definition: OgreNode.h:75
Definition: OgreScriptParser.h:47
int SafeBoolHelper::* SafeBoolType
Definition: OgreComPtr.h:190
virtual void resourceGroupLoadEnded(const String &groupName)=0
This event is fired when a resource group finished loading.
virtual_l2 Quaternion convertLocalToWorldOrientation(const Quaternion &localOrientation)
Gets the world orientation of an orientation in the node local space useful for simple transforms tha...
void clear(void)
Clear the settings.
#define ARRAY_PACKED_REALS
Definition: OgreArrayConfig.h:159
map< unsigned short, HardwareVertexBufferSharedPtr >::type VertexBufferBindingMap
Defines the vertex buffer bindings used as source for vertex declarations.
Definition: OgreHardwareVertexBuffer.h:505
BufferType getBufferType(void) const
Definition: OgreBufferPacked.h:205
void setAutoConstantReal(size_t index, AutoConstantType acType, Real rData)
virtual void _startLegacyV1Rendering(void)
May override the current VertexArrayObject!
@ PFG_R16_FLOAT
Definition: OgrePixelFormatGpu.h:100
void setStartLight(unsigned short startLight)
Sets the light index that this pass will start at in the light list.
virtual void passPreExecute(CompositorPass *pass)
Called when each pass is about to be executed.
A staging buffer is a buffer that resides on the GPU and be written to/from both CPU & GPU However th...
Definition: OgreGLES2StagingBuffer.h:46
virtual void _hlmsComputePipelineStateObjectCreated(HlmsComputePso *newPso)
virtual void setHlmsPassProperties(Hlms *hlms)
static const IdString TexMatrixCount
Definition: OgreUnlitProperty.h:51
MovablePlane(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, const Vector3 &rkPoint0, const Vector3 &rkPoint1, const Vector3 &rkPoint2)
void encodeToFile(MemoryDataStreamPtr &input, const String &outFileName, CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
DataStreamPtr open(const String &filename, bool readOnly=true)
Open a stream on a given file.
virtual ~AnimationTrack()
void add3D(SceneNode *node)
Adds a node capable of holding 3D objects to the overlay.
GLenum destBlend
Definition: OgreGLES2HlmsPso.h:56
SceneManagerFactory()
Definition: OgreSceneManager.h:2867
virtual Real getDefaultHeight(void) const
See setDefaultDimensions - this gets 1 component individually.
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.
@ PFG_ASTC_RGBA_UNORM_5X5_LDR
Definition: OgrePixelFormatGpu.h:238
void importLodConfig(Ogre::LodConfig *config, const Ogre::String &filename)
HighLevelGpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
Create an instance of GLSLProgram.
void setSamplerblock(const HlmsSamplerblock &samplerblock)
Changes the current samplerblock for a new one.
DefaultHardwareIndexBuffer(IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage)
static const IdString DetailOffsetsN1
Definition: OgreHlmsPbsMobile.h:133
void _frameEnded(void)
Called when the frame has fully ended (ALL passes have been executed to all RTTs)
Contains information needed by PBS (Physically Based Shading) for OpenGL 3+ & D3D11+.
Definition: OgreHlmsUnlitDatablock.h:59
bool isAA() const
Definition: OgreD3D9RenderWindow.h:54
Definition: OgreScriptTranslator.h:228
RenderTexture * getBoundSurface(size_t index)
Get a pointer to a bound surface.
Definition: OgreRenderTexture.h:125
Definition: OgreOSXCocoaTouchView.h:51
void _setVertexTexture(size_t unit, const TexturePtr &tex)
CbDrawCallStrip(int baseInstanceAndIndirectBuffers, VertexArrayObject *_vao, void *_indirectBufferOffset)
bool mIncludeOverlays
TODO: Refactor OgreOverlay to remove this design atrocity.
Definition: OgreCompositorPassDef.h:163
virtual String getNameStr(void) const
Retrieves a user-friendly name.
#define OGRE_STATIC_MUTEX(name)
Definition: OgreThreadDefinesBoost.h:48
NumericAnimationTrack * _clone(Animation *newParent) const
Clone this track (internal use only)
IncludeOrExclude includeOrExclude
Definition: OgreTechnique.h:97
static Real Cos(const Radian &fValue, bool useTables=false)
Cosine function.
Definition: OgreMath.h:311
MetalTextureGpu(GpuPageOutStrategy::GpuPageOutStrategy pageOutStrategy, VaoManager *vaoManager, IdString name, uint32 textureFlags, TextureTypes::TextureTypes initialType, TextureGpuManager *textureManager)
virtual void getCustomAttribute(IdString name, void *pData)
Definition: OgreWindow.h:228
GeneralAllocatedObject RTShaderSystemAlloc
Definition: OgreShaderPrerequisites.h:47
static uint8 getMaxMipmapCount(uint32 width, uint32 height, uint32 depth)
Vector3 getDiffuse(void) const
DataStream(uint16 accessMode=READ)
Constructor for creating unnamed streams.
Definition: OgreDataStream.h:197
virtual void postInitializePassDef(CompositorPassDef *passDef)
Called right after we create a pass definition.
Definition: OgreCompositorNodeDef.h:137
QuadTextureSource(size_t _texUnitIdx, IdString _textureName)
Definition: OgreCompositorPassQuadDef.h:58
Definition: OgreTextureFilters.h:119
SkeletonPtr getByName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Get a resource by name.
bool contains(const Box &def) const
Return true if the other box is a part of this one.
Definition: OgreCommon.h:866
static const IdString UvDiffuse3
Definition: OgreUnlitProperty.h:80
virtual void _setMaterialName(const String &matName, const String &resourceGroup)
Sets the material this renderer must use; called by ParticleSystem.
void close(void)
Close the stream; this makes further operations invalid.
void doSet(void *target, const String &val)
~GL3PlusDefaultHardwareIndexBuffer()
const float & max(const float &a, const float &b)
Definition: OgreCommon.h:1117
virtual void bindBufferVS(uint16 slot)
Binds the constant buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
const StringVector & getVertexShaderProfilesList() const
Get the output vertex shader target profiles as list of strings.
Definition: OgreShaderGenerator.h:168
@ PF_R8
8-bit pixel format, all bits red.
Definition: OgrePixelFormat.h:226
TexturePtr getTexture(uint8 texUnit) const
virtual ~GLES2GpuProgramManager()
virtual bool frameStarted(const FrameEvent &evt)
Called when a frame is about to begin rendering.
Definition: OgreFrameListener.h:97
void preExtraThreadsStarted()
Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might...
Vertex array objects (Vaos) are immutable objects that describe a combination of vertex buffers and i...
Definition: OgreVertexArrayObject.h:58
void setFog(bool overrideScene, FogMode mode=FOG_NONE, const ColourValue &colour=ColourValue::White, Real expDensity=0.001, Real linearStart=0.0, Real linearEnd=1.0)
Sets the fogging mode applied to each pass.
virtual void loadImage(const Image &img)
Loads the data from an image.
Definition: OgreTextureFilters.h:143
DataStreamPtr encode(MemoryDataStreamPtr &input, CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
CamerasInProgress getCamerasInProgress(void) const
Gets the current camera being rendered (advanced use only, only valid during viewport update.
Definition: OgreSceneManager.h:2637
Definition: OgreLwConstString.h:64
CompositorPassType getType() const
Definition: OgreCompositorPass.h:211
void getRenderOperation(v1::RenderOperation &op, bool casterPass)
See Renderable.
virtual v1::StaticGeometry * getStaticGeometry(const String &name) const
Retrieve a previously created StaticGeometry instance.
const MaterialPtr & getMaterial() const
Get the material being used for the terrain.
ushort supportsPoseAnimation
Definition: OgreMaterialSerializer.h:55
virtual Real getHoldRadiusInCells()
Get the Hold radius as a multiple of cells.
Definition: OgreGrid2DPageStrategy.h:175
void setProgram(GpuProgramPtr &prog)
Sets the program to use.
GLES2VertexArrayObject(GLuint vaoName, uint32 renderQueueId, const VertexBufferPackedVec &vertexBuffers, IndexBufferPacked *indexBuffer, OperationType opType)
Definition: Vao/OgreGLES2VertexArrayObject.h:42
static GLenum getGLType(unsigned int type)
Utility function to get the correct GL type based on VET's.
id< MTLTexture > getFinalTextureName(void) const
Definition: OgreMetalTextureGpu.h:103
ConstVectorRange(typename T::const_iterator b, typename T::const_iterator e)
Constructor.
Definition: OgreIteratorRange.h:208
virtual void _notifyRenderTargetAttached(RenderTarget *renderTarget)
Called when a RenderTarget is attaches this DepthBuffer.
GenericDocument< UTF8< char >, MemoryPoolAllocator< CrtAllocator >, CrtAllocator > Document
Definition: OgreSceneFormatImporter.h:40
void upload(const void *data, size_t elementStart, size_t elementCount)
virtual const Vector3 & getDirection(void) const
Returns the base direction of the emitter.
virtual bool isClosed() const
Indicates whether the window has been closed by the user.
Definition: OgreD3D11Window.h:72
@ BRDF_MASK
Definition: OgreHlmsPbsDatablock.h:63
Real getAttenuationRange(void) const
Returns the absolute upper range of the light.
Definition: OgreLight.h:232
Window * createRenderWindow(const String &name, uint32 width, uint32 height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
static const IdString UvDiffuseSwizzle2
Definition: OgreUnlitProperty.h:96
bool getPassFogStates(void) const
TextureGpu * getTexture(uint8 texType) const
CompositorPassStencil(const CompositorPassStencilDef *definition, const RenderTargetViewDef *rtv, CompositorNode *parentNode, RenderSystem *renderSystem)
const Matrix4 & getSpotlightWorldViewProjMatrix(size_t index) const
SimplexNoise(unsigned long definedSeed)
Constructor with a by seed defined permutation table.
@ MetallicWorkflow
Definition: OgreHlmsPbsDatablock.h:207
virtual PixelFormat getSupportedAlternative(PixelFormat format)
Get the closest supported alternative format.
Definition: OgreRenderPassDescriptor.h:137
StringVector possibleValues
Definition: OgreConfigOptionMap.h:53
@ GCT_MATRIX_2X4
Definition: OgreGpuProgramParams.h:87
static Real AngleUnitsToDegrees(Real units)
Convert from the current AngleUnit to degrees.
LayerBlendSource source2
The second source of colour/alpha.
Definition: OgreBlendMode.h:149
virtual RenderTexture * getRenderTarget(size_t slice=0)
Get a render target for this PixelBuffer, or a slice of it.
virtual size_t _getSizeBytes(void)
Returns size in bytes.
vector< Destination >::type DestinationVec
Definition: OgreStagingBuffer.h:105
std::string getReleaseText() const
Always returns "[Hash 0x0a0100ef]" strings in any mode.
Definition: OgreIdString.h:267
void setDetailMapOffsetScale(uint8 detailMap, const Vector4 &offsetScale)
Sets the scale and offset of the detail map.
@ AmbientSh
Uses spherical harmonics.
Definition: OgreHlmsPbs.h:103
PixelFormatGpu pixelFormat
Definition: OgreCompositorPassUavDef.h:64
void _updateCustomGpuParameter(const GpuProgramParameters_AutoConstantEntry &constantEntry, GpuProgramParameters *params) const
Overridden from Renderable to provide some custom behaviour.
AndroidEGLWindow(AndroidEGLSupport *glsupport)
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.
@ ID_DEPTH_CHECK
Definition: OgreScriptCompiler.h:671
ValType ValueType
Type you expect to get by funktions like peekNext(Value)
Definition: OgreIteratorWrapper.h:63
size_t split
Definition: OgreCompositorShadowNodeDef.h:64
void destroy()
Destroys the memory ptrs.
@ ID_LIGHT_CLIP_PLANES
Definition: OgreScriptCompiler.h:687
virtual void setColourRangeStart(const ColourValue &colour)
Sets the minimum colour of particles to be emitted.
uint16 refCount
Definition: OgreGL3PlusRenderPassDescriptor.h:49
const LightList * setShadowMapsToPass(Renderable *rend, const Pass *pass, AutoParamDataSource *autoParamDataSource, size_t startLight)
SceneNode *const * getProxySceneNodes(void) const
Definition: OgreParallaxCorrectedCubemap.h:212
int getSoftwareAnimationRequests(void) const
Returns the number of requests that have been made for software animation.
Definition: OgreEntity.h:510
const String & findGroupContainingResource(const String &filename)
Find the group in which a resource exists.
void setDumpPathsOnShutdown(const String &fullPathPerFrame, const String &fullPathAccum)
Ogre will call dumpProfileResults for your on shutdown if you set these paths.
void merge(const Vector3 &points)
Extends the box to encompass the specified point (if needed).
bool getLightCountAutoUpdate() const
Return true if this render state override the light count.
Definition: OgreShaderRenderState.h:109
char * DisplayString(NativeDisplayType nativeDisplayType)
virtual_l1 void textureCoord(const Vector3 &uvw)
Add a texture coordinate to the current vertex.
void _setViewMatrix(const Matrix4 &m)
Sets the view transform matrix.
virtual void setDefaultHeight(Real height)
See setDefaultDimensions - this sets 1 component individually.
Definition: OgreMetalNullTexture.h:98
void beginOcclusionQuery()
Starts the hardware occlusion query.
void setCustomParameter(size_t index, const Vector4 &value)
Sets a custom parameter for this Renderable, which may be used to drive calculations for this specifi...
Definition: OgreRenderable.h:258
bool async
Whether to load the chunks async. if set to false, the call to load waits for the whole chunk....
Definition: OgreVolumeChunk.h:92
void notifyStaticAabbDirty(MovableObject *movableObject)
Notifies that the given MovableObject is dirty (i.e.
virtual void index(uint32 idx)
Add a vertex index to construct faces / lines / points via indexing rather than just by a simple list...
static vector< String >::type 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...
~D3D9HLSLProgramFactory()
virtual void destroyDevice(ID3D11Device *device)
static String getBNFExpressionOfPixelFormats(bool accessibleOnly=false)
Gets the BNF expression of the pixel-formats.
virtual void _setRenderOperation(const v1::CbRenderOp *cmd)
bool isCompositeMapEnabled() const
Whether to use the composite map to provide a lower LOD technique in the distance (default true).
Definition: OgreTerrainMaterialGeneratorA.h:110
Polygon(const Polygon &cpy)
@ PF_BC5_UNORM
DDS (DirectDraw Surface) BC5 format (unsigned normalised)
Definition: OgrePixelFormat.h:214
virtual PagedWorldSection * getParentSection() const
Get the PagedWorldSection this page belongs to.
Definition: OgrePage.h:115
GpuNamedConstants()
Definition: OgreGpuProgramParams.h:500
@ BBT_PERPENDICULAR_COMMON
Billboards are perpendicular to a shared direction vector (used as Z axis, the facing direction) and ...
Definition: OgreBillboardSet.h:86
@ PFF_DEPTH
This is a depth format (for depth textures)
Definition: OgrePixelFormat.h:378
Particle * getNext(void)
Returns a pointer to the next particle, and moves the iterator on by 1 element.
#define _OgreHlmsUnlitExport
Definition: OgreHlmsUnlitPrerequisites.h:50
static const uint32 TERRAINLAYERSAMPLERELEMENT_CHUNK_ID
Definition: OgreTerrain.h:286
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
virtual void shutdown(void)
Shut down the background queue system.
bool canHandleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
WorkQueue::RequestHandler override.
virtual void extractLayoutQualifiers(void)
Finds layout qualifiers in the shader source and sets attribute indices appropriately.
virtual void destroyAdvancedTexture(const String &sTextureName, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)=0
What this destroys is dependent on the plugin...
vector< IndexData * >::type LODFaceList
Definition: OgreSubMesh.h:118
Timer class.
Definition: Android/OgreTimerImp.h:38
virtual bool isHidden(void) const
Indicates whether the window was set to hidden (not displayed)
static ArrayReal Modf4(ArrayReal x, ArrayReal &outIntegral)
Break x into fractional and integral parts.
void setNamedConstant(const String &name, Real val)
Sets a single value constant floating-point parameter to the program.
HLMS implementation that handles compute shaders.
Definition: OgreHlmsCompute.h:50
Archive * archive
The archive in which the file has been found (for info when performing multi-Archive searches,...
Definition: OgreArchive.h:54
const String & getLanguage(void) const
Returns a string that specifies the language of the gpu programs as specified in a material script.
#define ACCUM1(x, y, z, factor)
size_t getNumOldNodeTracks(void) const
Gets the number of OldNodeAnimationTrack objects contained in this animation.
virtual void setSourceB(Source *b)
Sets the second operator source.
int32 value
Definition: OgreHlmsCommon.h:146
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:69
bool requiresTextureFlipping() const
Definition: OgreGL3PlusRenderTexture.h:60
LinkedSkeletonAnimationSource(const String &skelName, Real scl)
Definition: OgreSkeleton.h:471
static const IdString UvAtlas1
Definition: OgreHlmsUnlitMobile.h:144
size_t currentSize
Current physical size allocation.
Definition: OgreGpuProgramParams.h:570
void setGlyphAspectRatio(CodePoint id, Real ratio)
Sets the aspect ratio (width / height) of this character.
Definition: OgreFont.h:334
void setBounds(const Aabb &aabb, Real radius)
Set the bounds of the BillboardSet.
const String & getName(void) const
Gets resource name.
StoreAction::StoreAction mStoreActionDepth
Definition: OgreCompositorPassDef.h:134
Class for rendering the border of a BorderPanelOverlayElement.
Definition: OgreBorderPanelOverlayElement.h:324
void setFilenamePrefix(const String &prefix)
static const IdString ScreenSpaceRefractions
Definition: OgreHlms.h:912
virtual void addChild(OldNode *child)
Adds a (precreated) child scene OldNode to this OldNode.
static MeshManager & getSingleton(void)
Override standard Singleton retrieval.
Level of detail strategy based on distance from camera.
Definition: OgreDistanceLodStrategy.h:59
bool operator<(const LightClosest &right) const
Definition: OgreCommon.h:666
CompareFunction compareOp
Definition: OgreCommon.h:124
DefaultShadowCameraSetup()
Default constructor.
bool requiresTextureFlipping() const
Definition: OgreGLES2FBOMultiRenderTarget.h:48
void addResourceLocation(const String &name, const String &locType, const String &resGroup=DEFAULT_RESOURCE_GROUP_NAME, bool recursive=false, bool readOnly=true)
Method to add a resource location to for a given resource group.
void reposition(int left, int top)
Reposition the window.
Definition: OgreD3D11RenderWindow.h:59
ConstVectorRange(const VectorRange< T > &rhs)
Constructor.
Definition: OgreIteratorRange.h:216
Definition: OgreHlmsUnlitMobile.h:94
void _createSurfaceList(void)
internal method, create D3D11HardwarePixelBuffers for every face and mipmap level.
uint treeEnd
Definition: OgreTerrainLodManager.h:80
void setBlendValue(size_t x, size_t y, float val)
Set a single value of blend information (0 = transparent, 255 = solid)
bool getIgnoreAlphaDiffuse(void) const
void setValue(Real value)
ControllerValue implementation.
AutoParam ap
Definition: OgreShaderParams.h:85
@ SPC_POSTOLIGHT_OBJECT_SPACE6
Definition: OgreShaderParameter.h:133
virtual bool hasAnimationState(const String &name) const
Returns whether an animation state with the given name exists.
size_t getBytesPerElement(void) const
Definition: OgreBufferPacked.h:311
TerrainQuadTreeNode * getParent() const
Get parent node.
static D3DLIGHTTYPE get(Ogre::Light::LightTypes lightType)
return a D3D9 equivalent for a Ogre LightTypes value
unsigned long long int ResourceHandle
Definition: OgreResource.h:42
float r
Definition: OgreColourValue.h:76
Abstract class defining a movable object in a scene.
Definition: OgreMovableObject.h:63
static const IdString UvDiffuse10
Definition: OgreUnlitProperty.h:87
void setMaxNonCasterDirectionalLights(uint16 maxLights)
Non-caster directional lights are hardcoded into shaders.
bool Undef(const char *iMacroName, size_t iMacroNameLen)
Undefine a macro.
void setShadowCasterMaterial(const Ogre::String &name)
set this material specific shadow casting specific material
D3D11Device & getDevice(void) const
Definition: OgreD3D11VaoManager.h:285
virtual TransformKeyFrame * createNodeKeyFrame(Real timePos)
Creates a new KeyFrame and adds it to this animation at the given time index.
void optimiseVertexCacheTriList(void)
Re-order the indexes in this index data structure to be more vertex cache friendly; that is to re-use...
void doSet(void *target, const String &val)
void setQueryFlags(uint32 flags)
Set the default query flags for terrains.
Definition: OgreTerrain.h:2010
static const uint8 DERIVED_DATA_DELTAS
Definition: OgreTerrain.h:1192
@ M_GEOMETRY
Definition: OgreMeshFileFormat.h:212
void setTrueTypeResolution(uint ttfResolution)
Gets the resolution (dpi) of the font used to generate the texture (only required for FT_TRUETYPE).
virtual ConfigOptionMap & getConfigOptions(void)
Returns the details of this API's configuration options.
Definition: OgreNULLRenderSystem.h:72
HLMS Texture Manager manages textures in the way HLMS expects.
Definition: OgreHlmsTextureManager.h:72
const Vector4 & getLodCameraPosition(void) const
virtual bool getCastsShadows(void) const
Method which reports whether this renderable would normally cast a shadow.
Definition: OgreRenderable.h:241
FogMode getFogMode(void) const
Returns the fog mode for this pass.
MemoryDataStream(void *pMem, size_t size, bool freeOnClose=false, bool readOnly=false)
Wrap an existing memory chunk in a stream.
D3D11NullTextureTarget(D3D11NullTexture *ultimateTextureOwner, const String &name, v1::HardwarePixelBuffer *buffer, uint32 zoffset)
virtual void uninstall()=0
Perform the final plugin uninstallation sequence.
@ NormalMap
Definition: OgreTextureGpuManager.h:101
int _findclose(intptr_t id)
virtual void setMaterialName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Sets the name of the material to be used for this billboard set.
static ArrayReal Max(ArrayReal a, ArrayReal b)
Returns the maximum value between a and b.
Definition: OgreMathlibC.h:293
void deleteAllInputParameters()
Delete all input parameters from this function.
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:135
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
bool IsHlsl4() const
Return if hlsl 4.0 shading language is currently in use.
Definition: OgreShaderGenerator.h:143
PageManager * getManager() const
void destroyAllTexBufferViews(void)
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
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:231
static const IdString UvAtlas7
Definition: OgreHlmsUnlitMobile.h:150
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:402
~RibbonTrailFactory()
Definition: OgreRibbonTrail.h:235
VisibleObjectsPerThreadArray & _getTmpVisibleObjectsList()
@See mTmpVisibleObjects
Definition: OgreSceneManager.h:1842
void setRegionToVoxelize(bool autoRegion, const Aabb ®ionToVoxelize, const Aabb &maxRegion=Aabb::BOX_INFINITE)
Call this function before VctVoxelizer::autoCalculateRegion.
@ PFG_R32_UINT
Definition: OgrePixelFormatGpu.h:89
ResourceAccess::ResourceAccess access
The UAV pass already sets the texture access.
Definition: OgreCompositorPassDef.h:197
void load(StreamSerialiser &stream)
Prepare and load the terrain in one simple call from a stream.
static uint16 floatToHalfI(uint32 i)
Converts float in uint32 format to a a half in uint16 format.
Definition: OgreBitwise.h:327
@ LOADSTATE_PREPARED
Fully prepared.
Definition: OgreResource.h:129
static const IdString BlendModeIdx12
Definition: OgreHlmsUnlitMobile.h:137
virtual ~GL3PlusTexture()
virtual void setFsaaResolved()
Definition: OgreD3D11DepthTexture.h:124
ColourValue saturateCopy(void) const
As saturate, except that this colour value is unaffected and the saturated colour value is returned a...
Definition: OgreColourValue.h:136
virtual const Source * getSourceA() const
Gets the first operator source.
#define OGRE_NUM_SHADOW_EXTRUDER_PROGRAMS
Definition: OgreShadowVolumeExtrudeProgram.h:200
static const IdString VctConeDirs
Definition: OgreHlmsPbs.h:554
@ ACT_SURFACE_AMBIENT_COLOUR
Surface ambient colour, as set in Pass::setAmbient.
Definition: OgreGpuProgramParams.h:1018
@ DebugVisualizationEmissive
Definition: OgreVctVoxelizer.h:122
static const IdString UvDiffuse15
Definition: OgreUnlitProperty.h:92
void reload(LoadingFlags flags=LF_DEFAULT)
Reloads the resource, if it is already loaded.
id< MTLTexture > getBlankTextureMetalName(TextureTypes::TextureTypes textureType) const
uint16 getLodIndex(Real value) const
Retrieves the level of detail index for the given LOD value.
PixelFormatGpu pixelFormat
When left as PFG_UNKNOWN, we'll automatically use the TextureGpu's native format.
Definition: OgreDescriptorSetTexture.h:187
ControllerFunction(bool deltaInput)
Constructor.
Definition: OgreController.h:89
uint16 boneIndex
Definition: OgreVertexBoneAssignment.h:66
uint32 getLifetimeThreshold(void) const
Returns the time in milliseconds in which a StagingBuffer should live with a reference count of 0 bef...
Definition: OgreStagingBuffer.h:303
@ M_EDGE_LIST_LOD
Definition: OgreMeshFileFormat.h:121
virtual void setSortingEnabled(bool sortenable)
Enables sorting for this BillboardSet.
static const IdString BlendModeIdx11
Definition: OgreHlmsUnlitMobile.h:136
Hlms(HlmsTypes type, const String &typeName, Archive *dataFolder, ArchiveVec *libraryFolders)
@ PM_POINTS
Only points are rendered.
Definition: OgreCommon.h:294
const UniformParameterList & getParameters() const
Get the list of uniform parameters of this program.
Definition: OgreShaderProgram.h:122
@ ST_LINEAR
Definition: OgreShaderPrerequisites.h:95
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...
@ OT_PATCH_21_CONTROL_POINT
Definition: OgreHlmsPso.h:80
const Radian & getRotation(void) const
Get the rotation of the billboard.
Definition: OgreBillboard.h:105
@ ID_TARGET_WIDTH_SCALED
Definition: OgreScriptCompiler.h:851
static ArrayReal Inv4(ArrayReal val)
Returns the reciprocal of x.
Definition: OgreMathlibC.h:330
virtual void updateCompositeMap(const Terrain *terrain, const Rect &rect)
Update the composite map for a terrain.
virtual void translateCustomPass(const AbstractNodePtr &node, CompositorPassDef *customPassDef)
Optional override which allows users to define custom properties in the compositor scripts for custom...
Definition: OgreCompositorPassProvider.h:107
~SimplePageContentCollection()
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
uint32 getDepth() const
Gets the depth of this buffer.
Definition: OgreHardwarePixelBuffer.h:193
void _useLights(const LightList &lights, unsigned short limit)
Tells the rendersystem to use the attached set of lights (and no others) up to the number specified (...
@ PFG_COUNT
Definition: OgrePixelFormatGpu.h:267
double PreciseReal
Real type for numeric solvers.
Definition: OgreNumerics.h:44
Ogre::SharedPtr< Vector3 > vertexNormalBuffer
Definition: OgreLodBuffer.h:54
void doSet(void *target, const String &val)
size_t globalIndex
Index to SceneManager::mGlobalLightList.
Definition: OgreCommon.h:654
virtual void _renderEmulated(const CbDrawCallIndexed *cmd)
ImageDownsampler2D downscale2x_Float32_XXXA
Definition: OgreImageDownsampler.h:145
void setEqaa(uint8 colourSamples, uint8 coverageSamples)
Set EQAA by its marketing number (which coincides with its technical spec) e.g.
void setEyesCenter(const Vector2 &leftEyeCenter, const Vector2 &rightEyeCenter)
Sets the center of the eye.
static String AUTODETECT_RESOURCE_GROUP_NAME
Special resource group name which causes resource group to be automatically determined based on searc...
Definition: OgreResourceGroupManager.h:290
@ InheritOrientation
Definition: OgreBoneArrayMemoryManager.h:65
Real getTanTime_0_1(Real x) const
~GLES2OldVertexArrayObject()
bool isHeightDataModified() const
Returns whether terrain heights have been modified since the terrain was first loaded / defined.
Definition: OgreTerrain.h:768
Definition: OgreHlmsJson.h:74
void load()
Load - will be called in main thread.
virtual void setCullIndividually(bool cullIndividual)
Sets whether culling tests billboards in this individually as well as in a group.
Matrix4 getInverseTransposeProjectionMatrix() const
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.
static const IdString TexMatrixCount6
Definition: OgreHlmsUnlitMobile.h:102
GpuProgramParameters_AutoConstantEntry(GpuProgramParameters::AutoConstantType theType, size_t theIndex, Real theData, uint16 theVariability, size_t theElemCount=4)
Definition: OgreGpuProgramParams.h:2510
GLenum getGL3PlusTextureTarget(void) const
void _setSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendOperation op)
VertexData * _getSoftwareVertexAnimVertexData(void) const
Advanced method to get the temporarily blended software vertex animation information.
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)
@ TAM_UNKNOWN
Unknown.
Definition: OgreHlmsSamplerblock.h:56
static PixelFormat getClosestOGREFormat(GLenum fmt, GLenum dataType)
Function to get the closest matching OGRE format to an internal GL format.
void _setTexture(size_t unit, TextureGpu *tex)
See RenderSystem.
DXGI_MODE_SCALING Scaling
Definition: OgreD3D11LegacySDKEmulation.h:69
@ FFP_VS_PRE_PROCESS
Definition: OgreShaderFFPRenderState.h:45
void createIrradianceVolumeTexture(uint32 numBlocksX, uint32 numBlocksY, uint32 numBlocksZ)
GLXFBConfig * chooseFBConfig(const GLint *attribList, GLint *nElements)
Portable replacement for glXChooseFBConfig.
virtual ~MeshSerializerImpl_v1_10()
ComPtr(ComPtr< U > const &other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:140
@ VET_USHORT3_DEPRECATED
Definition: OgreVertexElements.h:93
void _removeCompositorTextures(size_t from)
Removes all compositor textures from 'from' to end.
unsigned int line
Definition: OgreScriptCompiler.h:72
void setRenderQueueMode(uint8 rqId, RenderQueue::Modes newMode)
Sets the mode for the RenderQueue ID.
void setBlendblock(const HlmsBlendblock &blendblock)
Sets the blendbock to every pass.
MovableObject * detachObjectFromBone(const String &movableName)
Detach a MovableObject previously attached using attachObjectToBone.
unsigned short getNumWorldTransforms(void) const
Returns the number of world transform matrices this renderable requires.
Definition: OgreBorderPanelOverlayElement.h:336
const Vector3 & _getBindingPoseInverseScale(void) const
Gets the inverted binding pose scale.
Definition: OgreOldBone.h:119
@ MESH_VERSION_LEGACY
Legacy versions, DO NOT USE for writing.
Definition: OgreMeshSerializer.h:62
GLSLShaderFactory(const GL3PlusSupport &support)
@ VES_COUNT
The number of VertexElementSemantic elements (note - the first value VES_POSITION is 1)
Definition: OgreVertexElements.h:64
@ FFP_ALPHA_TEST
Definition: OgreShaderFFPRenderState.h:77
D3D11VideoModeList(IDXGIAdapterN *pAdapter)
@ MESH_VERSION_LEGACY
Definition: OgreMesh2Serializer.h:66
void setMaterial(const MaterialPtr &material)
Sets the material to use for the whole of this entity.
virtual const String & getType() const
Get the type of the content, which will match it's factory.
virtual PixelFormatGpu getDesiredDepthBufferFormat(void) const
@ ACT_TIME_0_X
Single float value, which repeats itself based on given as parameter "cycle time".
Definition: OgreGpuProgramParams.h:1193
#define OGRE_MUTEX(name)
Definition: OgreThreadDefinesBoost.h:47
void setShadowCasterVertexProgram(const String &name)
Sets the details of the vertex program to use when rendering as a shadow caster.
vector< Frustum * >::type FrustumVec
Definition: OgreMovableObject.h:43
SubStringRef(const String *original, size_t start)
Definition: OgreHlmsCommon.h:55
Class for quickly loading settings from a text file.
Definition: OgreConfigFile.h:65
MeshPtr create(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Create a new mesh.
size_t getNumActiveShadowCastingLights(void) const
The return value may change in the future, which happens when the number of lights changes to or from...
Definition: OgreCompositorShadowNode.h:274
virtual void setCommonDirection(const Vector3 &vec)
Use this to specify the common direction given to billboards of type BBT_ORIENTED_COMMON or BBT_PERPE...
Real * ptr()
Pointer accessor for direct copying.
Definition: OgreVector3.h:126
virtual void _notifyParticleResized(void)
Internal callback used by Particles to notify their parent that they have been resized.
void loadImage(const Image &img)
Load an image into this blend layer.
uint32 getHeight() const
Gets the height of this buffer.
Definition: OgreHardwarePixelBuffer.h:191
virtual bool resourceExists(const String &name)
Returns whether the named resource exists in this manager.
Definition: OgreResourceManager.h:384
void _releaseManualHardwareResources()
Notifies that hardware resources were lost.
virtual_l2 void translate(Real x, Real y, Real z, TransformSpace relativeTo=TS_PARENT)
Moves the node along the Cartesian axes.
GL3PlusTextureGpuRenderTarget(GpuPageOutStrategy::GpuPageOutStrategy pageOutStrategy, VaoManager *vaoManager, IdString name, uint32 textureFlags, TextureTypes::TextureTypes initialType, TextureGpuManager *textureManager)
void addResolveStageMask(unsigned int mask)
Add the given mask to resolve stage flags that this sub render state will produce.
Definition: OgreShaderFFPColour.h:108
@ PFG_ASTC_RGBA_UNORM_12X12_LDR
Definition: OgrePixelFormatGpu.h:249
void removePose(const String &name)
Destroy a pose by name.
HardwareVertexBufferSharedPtr createStreamOutputVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a stream output vertex buffer.
Win32EGLWindow(Win32EGLSupport *glsupport)
virtual TerrainSlotDefinition * getTerrainDefinition(long x, long y) const
Get the definition of a slot in the terrain.
static Vector3 octahedronMappingDecode(Vector2 f)
Takes a 2D value in range [0; 1] and returns a unit-length 3D vector.
Class representing an approach to rendering this particular Material.
Definition: OgreTechnique.h:51
void * lock(size_t offset, size_t length, LockOptions options)
Override HardwareBuffer to turn off all shadowing.
FilterType
Definition: OgreCommon.h:206
Definition: C/OgreBooleanMask.h:39
SGMaterialSerializerListener * getMaterialSerializerListener()
Return custom material Serializer of the shader generator.
GLES2SurfaceDesc requestRenderBuffer(GLenum format, uint32 width, uint32 height, uint fsaa)
Request a render buffer.
float getMaxDistance(void) const
Definition: OgreForwardClustered.h:134
A specialisation of the PanelOverlayElement to provide a panel with a border.
Definition: OgreBorderPanelOverlayElement.h:59
virtual const String & getTargetLanguage() const =0
Return the target language of this writer.
IdString(const char *string)
Definition: OgreIdString.h:112
GPUVendorRule(GPUVendor v, IncludeOrExclude ie)
Definition: OgreTechnique.h:100
MovableObject * getAttachedObject(const String &name)
Retrieves a pointer to an attached object.
static const int TextureBits
Definition: OgreRenderQueue.h:298
Definition: OgreD3D9Texture.h:41
OperationType
Definition: OgreHlmsPso.h:46
bool isShadowMapIdxActive(uint32 shadowMapIdx) const
Returns true if the shadow map index is not active.
bool empty() const
Definition: OgreStackVector.h:216
@ PF_R8G8B8A8
32-bit pixel format, 8 bits for red, green, blue and alpha.
Definition: OgrePixelFormat.h:81
Class encapsulating a set of AnimationState objects.
Definition: OgreAnimationState.h:202
Ogre currently does not support deinterleaved vertex buffers.
Definition: OgreVertexBufferDownloadHelper.h:70
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.
void install()
Perform the plugin initial installation sequence.
virtual void getCornersGridSpace(int32 x, int32 y, int32 z, Vector3 *pEightPoints)
Get the (grid space) corners of a cell.
bool ff(size_t count)
Step forward in cached stream by 'count' bytes.
Definition: OgreDataStream.h:123
virtual void setConfigOption(const String &name, const String &value)
Sets an option for this API.
Definition: OgreNULLRenderSystem.h:73
void setNamedConstant(const String &name, const float *val, size_t count, size_t multiple=4)
Sets a multiple value constant floating-point parameter to the program.
A volume source from a 16 Bit float 3D grid capable of loading volume serializations.
Definition: OgreVolumeHalfFloatGridSource.h:41
const String & getType(void) const
Returns the factory type.
void setManualValue(float value)
Shortcut for setting the given value without dealing with mp manually.
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
void addSoftwareAnimationRequest(bool normalsAlso)
Add a request for software animation.
@ CB_SET_CONSTANT_BUFFER_HS
Definition: OgreCbCommon.h:49
BillboardType
The type of billboard to use.
Definition: OgreBillboardSet.h:78
double mVplIntensityRangeMultiplier
Definition: OgreInstantRadiosity.h:219
Definition: OgreArrayRay.h:37
uint64 getMilliseconds()
Returns milliseconds since initialisation or last reset.
virtual void nodeDestroyed(const Node *)
Node is being destroyed.
Definition: OgreNode.h:93
Math(unsigned int trigTableSize=4096)
Default constructor.
Log * getLog(const String &name)
Retrieves a log managed by this class.
static const IdString DiffuseMapCount15
Definition: OgreHlmsUnlitMobile.h:123
float getAlphaTestThreshold(void) const
Definition: OgreHlmsDatablock.h:409
OptimisedSubMeshGeometry()
Definition: OgreStaticGeometry.h:141
@ SPC_LIGHTPOSITION_WORLD_SPACE1
Definition: OgreShaderParameter.h:218
@ RSC_CONST_BUFFER_SLOTS_IN_SHADER
Definition: OgreRenderSystemCapabilities.h:228
HlmsPbs(Archive *dataFolder, ArchiveVec *libraryFolders)
virtual MaterialPtr generateForCompositeMap(const Terrain *terrain)=0
Generate / reuse a material for the terrain.
virtual AsyncTicketPtr createAsyncTicket(BufferPacked *creator, StagingBuffer *stagingBuffer, size_t elementStart, size_t elementCount)
@ 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 _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Overridden from OverlayElement.
virtual void applyDeltaValue(const Any &val)
Apply delta value.
size_t poolCapacity
Definition: OgreVaoManager.h:170
@ ID_PARAM_NAMED_AUTO
Definition: OgreScriptCompiler.h:639
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.
VertexData * getVertexDataForBinding(bool casterPass)
Retrieve the VertexData which should be used for GPU binding.
ProfileChildrenMap childrenMap
Definition: OgreProfiler.h:337
virtual void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
const D3DCAPS9 & getD3D9DeviceCaps() const
Definition: OgreD3D9Driver.h:54
void _updateTracking(void)
Called by the SceneManager every frame to update our data based on tracked target.
const HlmsMacroblock * _getMacroblock(uint16 idx) const
Gets a macroblock based on its index.
void setFog(bool overrideScene, FogMode mode=FOG_NONE, const ColourValue &colour=ColourValue::White, Real expDensity=0.001, Real linearStart=0.0, Real linearEnd=1.0)
Sets the fogging mode applied to each pass.
virtual PageStrategyData * getStrategyData() const
Get the data required by the PageStrategy which is specific to this world section.
Definition: OgrePagedWorldSection.h:135
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:74
bool isInitialised(void) const
Has this Entity been initialised yet?
Definition: OgreEntity.h:668
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:297
virtual void bindBufferPS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
void setMetricsMode(GuiMetricsMode gmm)
Tells this element how to interpret the position and dimension values it is given.
virtual StringVectorPtr list(bool recursive=true, bool dirs=false)=0
List all file names in the archive.
@ PF_ASTC_SRGB8A8_8X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 8x5)
Definition: OgrePixelFormat.h:299
uint32 getDepth(void) const
Returns the depth of the texture (only applicable for 3D textures).
Definition: OgreTexture.h:229
void fillConstBufferData(const Matrix4 &viewMatrix, float *RESTRICT_ALIAS passBufferPtr) const
Image & loadRawData(DataStreamPtr &stream, uint32 width, uint32 height, uint32 depth, PixelFormat format, size_t numFaces=1, size_t numMipMaps=0)
Loads raw data from a stream.
T * Get() const ASSUME_NOEXCEPT
Definition: OgreComPtr.h:197
virtual void quad(uint32 i1, uint32 i2, uint32 i3, uint32 i4)
Add a set of 4 vertex indices to construct a quad (out of 2 triangles); this is a shortcut to calling...
void destroySamplerblock(const HlmsSamplerblock *Samplerblock)
@See destroyMacroblock
Definition: OgreSkeletonDef.h:45
static void prepareMatricesForVertexBlend(const Matrix4 **blendMatrices, const Matrix4 *boneMatrices, const IndexMap &indexMap)
Prepare matrices for software indexed vertex blend.
void insert(iterator pos, InputIterator f, InputIterator l)
Definition: OgreCommon.h:579
void migrateTo(NodeMemoryManager *nodeMemoryManager)
Migrates the node and all of its children to the new memory manager, at the same depth level.
TextureAddressingMode mW
Definition: OgreHlmsSamplerblock.h:72
@ FOG_LINEAR
Fog density increases linearly between the start and end distances.
Definition: OgreCommon.h:245
virtual uint32 fillBuffersFor(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)
static String toString(const ColourValue &val)
Converts a ColourValue to a String.
virtual void readChunkEnd(uint32 id)
Finish the reading of a chunk.
const ColourValue & getAmbient(void) const
Gets the ambient colour reflectance of the pass.
virtual void setStencilBufferParams(uint32 refValue, const StencilParams &stencilParams)
See RenderSystem.
bool _isSkeletonAnimated(void) const
Tests if skeleton was animated.
void * getSymbol(const String &strName) const
Returns the address of the given symbol from the loaded library.
virtual ~D3D11StereoDriverBridge()
Definition: OgreSharedPtr.h:98
Real m[4][4]
Definition: OgreMatrix4.h:90
Definition: OgreGL3PlusAsyncTicket.h:39
const TextureSlot & getTexture(void) const
Definition: OgreDescriptorSetUav.h:204
void merge(const Aabb &rhs)
Merges the passed in box into the current box.
void XSendEvent(Display *nativeDisplayType, Window nativeWindowType, int dummy1, int mask, XEvent *xevent)
virtual ~ParticleEmitterFactory()
@ 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:1328
SharedPtr< D3D9HLSLProgram > D3D9HLSLProgramPtr
Definition: OgreD3D9Prerequisites.h:100
Box(uint32 l, uint32 t, uint32 r, uint32 b)
Define a box from left, top, right and bottom coordinates This box will have depth one (front=0 and b...
Definition: OgreCommon.h:833
void getActualDimensions(int &left, int &top, int &width, int &height) const
Access to actual dimensions (based on target size).
static const IdString OutUvHalfCount
Definition: OgreUnlitProperty.h:129
static const int MeshBits
Definition: OgreRenderQueue.h:297
BufferBindFlags
Definition: OgreBufferPacked.h:94
@ SPC_TEXTURE_COORDINATE2
Definition: OgreShaderParameter.h:290
void buildRenderState(ShaderGenerator::SGPass *sgPass, TargetRenderState *renderState)
Build render state from the given pass that emulates the fixed function pipeline behaviour.
const String & getLanguage(void) const
Get the name of the language this factory creates shaders for.
virtual void updateChainElement(size_t chainIndex, size_t elementIndex, const Element &billboardChainElement)
Update the details of an existing chain element.
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...
@ TextureArrays
Definition: OgreHlmsTextureManager.h:76
ParameterPtr resolveOutputParameter(Parameter::Semantic semantic, int index, const Parameter::Content content, GpuConstantType type)
Resolve output parameter of this function.
@ ID_WARN_IF_RTV_WAS_FLUSHED
Definition: OgreScriptCompiler.h:888
@ RSC_HW_GAMMA
Supports Blending operations other than +.
Definition: OgreRenderSystemCapabilities.h:168
size_t getSize(void) const
Retrieves info about the size of the resource.
const_reverse_iterator rend() const
Definition: OgreMain/include/OgreSmallVector.h:197
virtual void getInterpolatedKeyFrame(const TimeIndex &timeIndex, KeyFrame *kf) const
Gets a KeyFrame object which contains the interpolated transforms at the time index specified.
virtual GpuProgramParametersSharedPtr createParameters(void)
Creates a new GpuProgramParameters instance which can be used to bind parameters to your programs.
void setSize(size_t size)
Sets the number of elements in the parameter (for arrays).
Definition: OgreShaderParameter.h:350
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:198
int getTargetLodLevel()
Definition: OgreTerrainLodManager.h:118
MaterialBucket * getParent(void)
Definition: OgreStaticGeometry.h:232
Aabb getWorldAabb() const
Gets the axis aligned box in world space.
const String & getType(void) const
Returns the factory type.
virtual void changeEnableState(bool enabled)
If the profiler disables this listener then it should hide its panels (if any exists) or stop sending...
Definition: OgreProfiler.h:384
@ NonColourData
Definition: OgreTextureGpuManager.h:104
vector< Vector3 >::type extremityPoints
A list of extreme points on the submesh (optional).
Definition: OgreSubMesh.h:140
ConstVectorIterator(const T &c)
Constructor.
Definition: OgreIteratorWrapper.h:232
virtual void fillConstBufferData(Viewport *viewport, TextureGpu *renderTarget, IdString shaderSyntax, bool instancedStereo, float *RESTRICT_ALIAS passBufferPtr) const =0
Fills 'passBufferPtr' with the necessary data for ForwardPlusBase rendering.
Prepared IteratorWrapper for container like std::vector.
Definition: OgreIteratorWrapper.h:136
void setGeometryProgramConstantFloatCount(ushort c)
The number of floating-point constants geometry programs support.
Definition: OgreRenderSystemCapabilities.h:729
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
void nodeCreated(BoneTransform &outTransform, size_t depth)
Requests memory for the given transform for the first, initializing values.
virtual void _setTessellationHullTexture(size_t unit, TextureGpu *tex)
void setRotation(const Radian &rad)
Sets the current rotation.
vector< Vertex >::type VertexList
Definition: OgreLodData.h:149
@ SPC_LIGHTDIRECTION_TANGENT_SPACE0
Light direction in tangent space index 0-7.
Definition: OgreShaderParameter.h:197
virtual_l1 void setPosition(const Vector3 &pos)
Sets the position of the node relative to it's parent.
bool isVisible(void) const
Returns whether or not this object is supposed to be visible or not.
Ogre::SharedPtr< Vector3 > vertexBuffer
Definition: OgreLodBuffer.h:53
PixelFormat pixelFormat
Definition: OgreHlmsTextureManager.h:98
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:51
virtual const FrameStats & getStatistics(void) const
@ Monochrome
Definition: OgreTextureGpuManager.h:102
@ DXGI_ALPHA_MODE_FORCE_DWORD
Definition: OgreD3D11LegacySDKEmulation.h:47
uint8 getLayerCount() const
Get the number of layers in this terrain.
Definition: OgreTerrain.h:994
ObjectAbstractNode(AbstractNode *ptr)
@ RSC_DOT3
Supports fixed-function DOT3 texture blend.
Definition: OgreRenderSystemCapabilities.h:88
void getWorldTransforms(Matrix4 *xform) const
Overridden from Renderable.
@ LBX_BLEND_MANUAL
as LBX_BLEND_DIFFUSE_ALPHA but use a constant manual blend value (0.0-1.0)
Definition: OgreBlendMode.h:101
GpuProgramPtr tesselationHullShader
Definition: OgreHlmsPso.h:179
void setIsAlpha(bool isAlpha)
Sets whether this texture is requested to be loaded as alpha if single channel.
virtual void triangleRemoved(LodData *data, LodData::Triangle *tri)
Definition: OgreLodOutputProvider.h:47
ResourceAllocatedObject TechniqueAlloc
Definition: OgreMemoryAllocatorConfig.h:338
virtual GLES2Context * clone() const =0
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
uint16 refCount
Definition: OgreD3D11RenderPassDescriptor.h:50
virtual void _beginFrameOnce(void)
Signifies the beginning of the main frame.
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:126
static FORCEINLINE uint64 bswap64(uint64 arg)
Returns value with reversed bytes order.
Definition: OgreBitwise.h:96
static ParameterPtr createOutTexcoord4(int index, Parameter::Content content)
VaoManager(const NameValuePairList *params)
AxisAlignedBox()
Definition: OgreAxisAlignedBox.h:90
ArrayAabb(const ArrayVector3 ¢er, const ArrayVector3 &halfSize)
Definition: C/OgreArrayAabb.h:79
void setCorners(Real left, Real top, Real width, Real height)
Sets the corners of the rectangle, in relative coordinates.
static const IdString DiffuseMapCount11
Definition: OgreHlmsUnlitMobile.h:119
static uint32 blockIdxToSlotStart(uint32 blockIdx)
Convertes a block index back to a slot index.
Definition: OgreSkeletonDef.h:192
size_t getOffset(void) const
Gets the offset into the buffer where this element starts.
Definition: OgreHardwareVertexBuffer.h:137
virtual void postRenderTargetUpdate(const RenderTargetEvent &evt)
Called just after a RenderTarget has been rendered to.
Definition: OgreRenderTargetListener.h:111
String doGet(const void *target) const
virtual_l1 void tangent(Real x, Real y, Real z)
Add a vertex tangent to the current vertex.
void cleanerArrayQuaternion(char *dstPtr, size_t indexDst, char *srcPtr, size_t indexSrc, size_t numSlots, size_t numFreeSlots, size_t elementsMemSize)
@ BIND_SOFTWARE_MORPH
Definition: OgreEntity.h:648
Technique(Material *parent, const Technique &oth)
Copy constructor.
LinearSkinning()
Class default constructor.
const String & getLanguage(void) const
Overridden from GpuProgram.
@ CB_SET_TEXTURE_BUFFER_CS
Definition: OgreCbCommon.h:58
bool _isSM3Available() const
Internal.
Definition: OgreTerrainMaterialGeneratorA.h:146
SceneNode * getParentSceneNode(void) const
size_t prevIndexCount
Definition: OgreLodData.h:144
Animation * getAnimation(const String &name, const LinkedSkeletonAnimationSource **linker=0) const
Returns the named Animation object.
@ Fade
Good 'ol regular alpha blending.
Definition: OgreHlmsPbsDatablock.h:185
static void removeWindowEventListener(Window *window, WindowEventListener *listener)
virtual int32 getCellRangeMaxZ() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:173
void _setColourBufferWriteEnabled(bool red, bool green, bool blue, bool alpha)
IdString textureName
Name of the texture (can come from input channel, local textures, or global ones)
Definition: OgreCompositorPassQuadDef.h:56
ParticleEmitter(ParticleSystem *psys)
static const ArrayReal ONE
Definition: OgreMathlibC.h:46
static const IdString MetallicWorkflow
Definition: OgreHlmsPbs.h:483
const D3DDISPLAYMODE & getDesktopMode() const
Definition: OgreD3D9Driver.h:60
MeshSerializerImpl_v1_10()
Real dz
Definition: OgreDualQuaternion.h:166
void addEmitterFactory(ParticleEmitterFactory *factory)
Adds a new 'factory' object for emitters to the list of available emitter types.
virtual void swapBuffers(void)
Only valid for TextureGpu classes.
SmallVectorTemplateBase<isPodLike = false> - This is where we put method implementations that are des...
Definition: OgreMain/include/OgreSmallVector.h:238
ptrdiff_t difference_type
Definition: OgreMain/include/OgreSmallVector.h:170
ArrayVector3(ArrayReal chunkX, ArrayReal chunkY, ArrayReal chunkZ)
Definition: C/OgreArrayVector3.h:70
size_t capacity() const
capacity - Return the total number of elements in the currently allocated buffer.
Definition: OgreMain/include/OgreSmallVector.h:204
const String & getType(void) const
Get the type of the object to be created.
virtual void _hlmsPipelineStateObjectCreated(HlmsPso *newPso)
virtual Real transformUserValue(Real userValue) const
Transform user supplied value to internal value.
virtual void performCleanup(uint16 level, const MemoryPoolVec &basePtrs, size_t const *elementsMemSizes, size_t startInstance, size_t diffInstances)
Called when too many nodes were destroyed in a non-LIFO fashion.
@ 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:166
String doGet(const void *target) const
Definition: OgreD3D11LegacySDKEmulation.h:66
virtual ~WindowEventListener()
Definition: OgreWindowEventUtilities.h:68
void setVisibilityFlags(uint32 flags)
Set the visbility flags that terrains will be rendered with.
Definition: OgreTerrain.h:2004
void setPoseWeight(size_t index, float w)
DefaultSceneManagerFactory()
Definition: OgreSceneManagerEnumerator.h:51
ImageBlur2D separableBlur_XA88
Definition: OgreImageDownsampler.h:104
static const IdString AlphaBlend
Definition: OgreHlms.h:910
virtual bool resolveDependencies(ProgramSet *programSet)
Vector3 collapseMin(void) const
Takes each Vector and returns one returns a single vector.
Terrain * terrain
Which terrain instance was hit, if any.
Definition: OgreTerrainGroup.h:383
void encodeToFile(MemoryDataStreamPtr &input, const String &outFileName, CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
vector< BufferSource >::type BufferSourceVec
Definition: OgreCompositorPassComputeDef.h:102
bool intersects(const Aabb &b2) const
Returns whether or not this box intersects another.
GLSLESProgramPipelineManager(void)
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:1991
SharedPtr< StringVector > StringVectorPtr
Definition: OgreStringVector.h:47
const Vector3 & getPoint(unsigned short index) const
Gets the detail of one of the control points of the spline.
virtual void setMaterial(const MaterialPtr &mat)
Sets the given material. Overrides HLMS materials.
void _applyBaseKeyFrame(const KeyFrame *base)
Internal method to re-base the keyframes relative to a given keyframe.
void nodeDestroyed(const Node *node)
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:375
Technique * getTechnique(unsigned short index)
Gets the indexed technique.
@ ID_DECREMENT_WRAP
Definition: OgreScriptCompiler.h:969
const String & getTypeName(void) const
Retrieve the type name of this scene manager.
virtual void blitFromMemory(const PixelBox &src_orig, const Box &dstBox)
Hardware implementation of blitFromMemory.
virtual bool queryIsTransferDone(void)
void removeListener(CompositorWorkspaceListener *listener)
CullingMode
Hardware culling modes based on vertex winding.
Definition: OgreCommon.h:263
@ BB_FLAG_UAV
Definition: OgreBufferPacked.h:99
bool requiresTextureFlipping(void) const
uint32 getLastFrameUsed(void) const
Definition: OgreStagingTexture.h:188
virtual void _changeRenderSystem(RenderSystem *newRs)
void doSet(void *target, const String &val)
static ArrayReal SetAll(Real val)
Definition: OgreMathlibC.h:268
virtual IdString addTextureSourceName(const String &name, size_t index, TextureSource textureSource)
Adds a texture name, whether a real one or an alias, and where to grab it from.
@ M_MESH_BOUNDS
Definition: OgreMeshFileFormat.h:104
virtual_l1 void textureCoord(const Vector4 &xyzw)
Add a texture coordinate to the current vertex.
reference back()
Definition: OgreCommon.h:543
ColourValue getColourAt(size_t x, size_t y, size_t z)
Get colour value from a certain location in the PixelBox.
void nodeMoved(Transform &inOutTransform, size_t oldDepth, size_t newDepth)
Requests memory for the given Node to be moved to a different depth level, transferring existing valu...
IteratorWrapper< T, IteratorType, typename T::value_type >::PointerType PointerType
Definition: OgreIteratorWrapper.h:140
void update()
Publish any changes you made to the blend data back to the blend map.
void importMesh(DataStreamPtr &stream, Mesh *pDest, MeshSerializerListener *listener)
Imports Mesh and (optionally) Material data from a .mesh file DataStream.
float getHeightAtTerrainPosition(Real x, Real y) const
Get the height data for a given terrain position.
bool getHasAlpha() const
Returns true if the image has an alpha component.
@ Discard
When the resource is no longer resident, we just throw the GPU data.
Definition: OgreGpuResource.h:86
Real aspectRatio
Definition: OgreFont.h:145
Vector4 getLightAttenuation(size_t index) const
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, bool explicitResolve=false, bool shareableDepthBuffer=true)
Create a manual texture with specified width, height and depth (not loaded from a file).
virtual const ProfileList & getProfiles() const
Get the list of profiles that this generator supports.
Definition: OgreTerrainMaterialGenerator.h:216
virtual void _notifyBuffer(BufferPacked *buffer)
const GpuProgramParameters_AutoConstantEntry * _findRawAutoConstantEntryFloat(size_t physicalIndex)
Finds an auto constant that's affecting a given physical position in the floating-point buffer.
void setOrientation(const Quaternion &q)
Sets the camera's orientation.
Definition: OgreTextureGpuManager.h:249
static const Real LOG2
Stored value of log(2) for frequent use.
Definition: OgreMath.h:338
HardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage, bool useSystemMemory, bool useShadowBuffer)
Should be called by HardwareBufferManager.
bool hasMaterialAtlasingAttributes(Ogre::Material *material, TextureAtlasAttib *attrib=NULL) const
Tells whether a specific material has atlas attributes associated with it.
Specialisation of HardwareBuffer for a vertex buffer.
Definition: OgreHardwareVertexBuffer.h:55
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:249
virtual const Source * getSource(void) const
Gets the source.
FFPFragmentShaderStage
Definition: OgreShaderFFPRenderState.h:56
virtual ~Source(void)
Destructor.
TextureEffectType
Definition of the broad types of texture effect you can apply to a texture unit.
Definition: OgreTextureUnitState.h:75
static const IdString DiffuseMapCount9
Definition: OgreHlmsUnlitMobile.h:117
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:221
map< IdString, IdString >::type NodeAliasMap
Definition: OgreCompositorWorkspaceDef.h:72
float mVpScissorLeft
Definition: OgreCompositorPassDef.h:103
@ TEXCALC_ENVIRONMENT_MAP_PLANAR
Environment map based on vertex positions.
Definition: OgreRenderSystem.h:69
static const IdString BlendModeIdx14
Definition: OgreHlmsUnlitMobile.h:139
void importTextureMetadataCache(const String &filename, const char *jsonString)
static PFNGLXCREATENEWCONTEXTPROC createNewContext
Definition: OgreGLXUtils.h:44
virtual void dump(const String &filename) const
Dump the contents of this StaticGeometry to a file for diagnostic purposes.
virtual ~CompositorShadowNodeDef()
Definition: OgreCompositorShadowNodeDef.h:147
static ParameterPtr createOutTangent(int index)
@ PFG_ASTC_RGBA_UNORM_10X8_LDR
Definition: OgrePixelFormatGpu.h:246
virtual void skip(long count)=0
Skip a defined number of bytes.
Command object for setting the constant colour.
Definition: OgreTextAreaOverlayElement.h:197
static HardwareBufferManager & getSingleton(void)
Override standard Singleton retrieval.
void setBuildParametersFromReflection(bool buildParams)
Definition: OgreGpuProgram.h:301
Command object for renderer (see ParamCommand).
Definition: OgreParticleSystem.h:113
Definition: OgreTerrainQuadTreeNode.h:134
@ ID_LOD_VALUES
Definition: OgreScriptCompiler.h:626
virtual void _destroyAllCubemapProbes(void)
Definition: OgreImageDownsampler.h:215
TextureGpu * createTextureGpuWindow(GL3PlusContext *context, Window *window)
Creates a special GL3PlusTextureGpuWindow pointer, to be used by Ogre::Window.
virtual bool isStereoEnabled(const String &renderWindowName)=0
@ ET_VSCROLL
Constant u/v scrolling effect.
Definition: OgreTextureUnitState.h:85
const String & getVertexShaderProfiles() const
Get the output vertex shader target profiles.
Definition: OgreShaderGenerator.h:163
const Vector3 & getCommonUpVector(void) const
Gets the common up-vector for all billboards (BBT_PERPENDICULAR_SELF)
virtual void setFsaa(const String &fsaa)
Set the FSAA mode to be used if hardware support it.
ZipDataStream(ZZIP_FILE *zzipFile, size_t uncompressedSize)
Unnamed constructor.
void updateToLodLevel(int lodLevel, bool synchronous=false)
@ TextureEffectPause
Definition: OgreExternalTextureSource.h:62
Definition: OgreDecal.h:162
virtual Ogre::FloatRect const * getTextureCoords(uint16 *oNumCoords)
getTextureCoords() returns the current texture coordinate rects in effect.
int mBaseValueInt
Definition: OgreAnimable.h:98
GLES2Context * clone() const
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
static void splitBaseFilename(const Ogre::String &fullName, Ogre::String &outBasename, Ogre::String &outExtention)
Method for splitting a filename into the base name and extension.
@ ID_INCREMENT
Definition: OgreScriptCompiler.h:966
@ PT_PERSPECTIVE
Definition: OgreFrustum.h:65
@ SPC_LIGHTPOSITION_WORLD_SPACE4
Definition: OgreShaderParameter.h:221
virtual void setDepthBufferPool(uint16 poolId)
Sets the pool ID this RenderTarget should query from.
@ TU_UAV
Texture can be bound as an Unordered Access View (imageStore/imageRead/glBindImageTexture in GL jargo...
Definition: OgreTexture.h:72
Shader model 2 profile target.
Definition: OgreTerrainMaterialGeneratorA.h:61
Plane plane
Definition: OgreStaticFaceGroup.h:107
ResourceAllocatedObject CompositorInstAlloc
Definition: OgreMemoryAllocatorConfig.h:303
const String & getEntryPoint(void) const
Gets the entry point defined for this program.
Definition: OgreD3D11HLSLProgram.h:308
virtual PixelFormatGpu getDesiredDepthBufferFormat(void) const
ImageDownsampler2D downscale2x_XXX888
Definition: OgreImageDownsampler.h:58
const String * findResourceNameFromAlias(IdString aliasName, uint32 &outPoolId) const
Output outPoolId is left untouched if returned pointer is null.
Command object for setting backwards compatibility.
Definition: OgreD3D11HLSLProgram.h:84
const CompositorTextureVec & getTextureDependencies(void) const
Definition: OgreCompositorPass.h:219
PixelFormatGpu depthBufferFormat
Definition: OgreTextureDefinition.h:526
FaceGroupType fType
Definition: OgreStaticFaceGroup.h:71
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:123
static const String & getDirectionalLightExtruderVs_glslesFiniteDebug(void)
Get FINITE extruder program source for debug directional lights, compatible with glsles.
Definition: OgreShadowVolumeExtrudeProgram.h:320
virtual void _hlmsSamplerblockCreated(HlmsSamplerblock *newBlock)
Definition: OgreRenderSystem.h:834
virtual bool queryIsTransferDone(void)
@ ID_TECHNIQUE
Definition: OgreScriptCompiler.h:616
virtual void _notifyStaticDirty(void) const
Called by SceneManager when it is telling we're a static node being dirty Don't call this directly.
void _setSeparateSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendFactor sourceFactorAlpha, SceneBlendFactor destFactorAlpha, SceneBlendOperation op, SceneBlendOperation alphaOp)
virtual bool hasAnimation(const String &name) const
Returns whether this mesh contains the named vertex animation.
void dividideOctants(uint32 numOctantsX, uint32 numOctantsY, uint32 numOctantsZ)
ColourValue mColour
Current colour.
Definition: OgreParticle.h:92
virtual void createInternalResourcesImpl(void)
@ DepthStencil
After the barrier, data can be used as a Depth/Stencil buffer.
Definition: OgreResourceTransition.h:101
virtual void translate(const Matrix3 &axes, Real x, Real y, Real z, TransformSpace relativeTo=TS_PARENT)
Moves the OldNode along arbitrary axes.
static DistanceLodSphereStrategy & getSingleton(void)
Override standard Singleton retrieval.
UINT Height
Definition: OgreD3D11LegacySDKEmulation.h:55
virtual void textureUnitStateEventRaised(MaterialSerializer *ser, MaterialSerializer::SerializeEvent event, bool &skip, const TextureUnitState *textureUnit)
void setNamedConstant(const String &name, const ColourValue &colour)
Sets a ColourValue parameter to the program.
Specialisation of PageContentCollection which just provides a simple list of PageContent instances.
Definition: OgreSimplePageContentCollection.h:67
virtual void resetWindow(void)
Cancel view window.
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...
Real dotProduct(const Vector2 &vec) const
Calculates the dot (scalar) product of this vector with another.
Definition: OgreVector2.h:391
void addTemplateSubRenderState(SubRenderState *subRenderState)
Add a template sub render state to this render state.
boost::function< T(void) > getter_func
Definition: OgreProperty.h:219
static void setDefaultQueryFlags(uint32 flags)
Set the default query flags for all future MovableObject instances.
Definition: OgreMovableObject.h:486
virtual void execute(const Camera *lodCameraconst)=0
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:114
@ VES_TANGENT
Tangent (X axis if normal is Z)
Definition: OgreVertexElements.h:58
TextureGpu * getTexture(void) const
Definition: OgreLight.h:595
VertexBufferPacked(size_t internalBufferStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface, const VertexElement2Vec &vertexElements, size_t multiSourceId, MultiSourceVertexBufferPool *multiSourcePool, uint8 sourceIdx)
Real getSquaredViewDepth(const Camera *cam) const
Definition: OgreRectangle2D.h:88
KeyFrame * _clone(AnimationTrack *newParent) const
Clone a keyframe (internal use only)
Bone * getBone(size_t index)
Gets the bone from its index. Don't overflow!.
size_t size
Definition: OgreGLES2VaoManager.h:53
virtual ~GL3PlusTexBufferPacked()
virtual void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
void _notifyResourceGroupChanged(const String &oldGroup, Resource *res)
Internal method to notify the group manager that a resource has changed group (only applicable for au...
Definition: OgreGLXContext.h:37
Base class for GL Render Textures.
Definition: OgreGL3PlusRenderTexture.h:56
bool prefersLoadingFromFileAsSRGB(void) const
@ ID_USE_QUAD
Definition: OgreScriptCompiler.h:930
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
MeshLodGenerator()
Generates the Lod levels for a mesh.
Vector3 getSize(void) const
Gets the size of the box.
#define ACCUM4(x, y, z, factor)
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:1171
NULLWindow(const String &title, uint32 width, uint32 height, bool fullscreenMode)
void skip(long count)
Skip a defined number of bytes.
virtual void clearResults(void)
Clears the results of the last query execution.
virtual void setBillboardsInWorldSpace(bool ws)
Sets whether billboards should be treated as being in world space.
Definition: OgreBillboardSet.h:715
Specialises the SceneQuery class for querying within an axis aligned box.
Definition: OgreSceneQuery.h:266
IdString mJobName
Name of the HlmsComputeJob to run.
Definition: OgreCompositorPassComputeDef.h:112
virtual ~MeshSerializerImpl_v2_1_R1()
@ ID_CLAMP
Definition: OgreScriptCompiler.h:742
TimeIndex(Real timePos)
Construct time index object by the given time position.
Definition: OgreAnimationTrack.h:73
bool startWith(const char *stringCompare) const
Definition: OgreHlmsCommon.h:122
static const IdString EnableVpls
Definition: OgreHlms.h:882
Definition: OgreD3D9VideoMode.h:39
DXGI_FORMAT Format
Definition: OgreD3D11LegacySDKEmulation.h:56
BoneTransform & _getTransform()
Returns a direct access to the Transform state.
Definition: OgreBone.h:128
uint32 getFrequencyDenominator(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:174
uint8 mipLevel
Definition: OgreAsyncTextureTicket.h:65
virtual void setRelativeOrigin(const Vector3 &relativeOrigin, bool bPermanent)
Set whether to use relative offset co-ordinates when rendering, ie offset to subtract to the camera,...
static const IdString ExponentialShadowMaps
Definition: OgreHlmsPbs.h:537
virtual ~GLSLESLinkProgram(void)
HardwareOcclusionQuery * createHardwareOcclusionQuery(void)
Create an object for performing hardware occlusion queries.
void setSplitMirrored(bool split)
Sets whether or not to split vertices when a mirrored tangent space transition is detected (matrix pa...
Definition: OgreTangentSpaceCalc.h:132
void switchMode(uint &width, uint &height, short &frequency)
Abstract memory manager for managing large chunks of contiguous memory, optimized for SoA (Structure ...
Definition: OgreArrayMemoryManager.h:67
OldNodeAnimationTrack * createOldNodeTrack(unsigned short handle, OldNode *node)
Creates a new AnimationTrack automatically associated with a OldNode.
PropertyAbstractNode(AbstractNode *ptr)
String getDeviceName() const
gets the device name for render system
Definition: OgreRenderSystemCapabilities.h:708
bool frameEnded(const FrameEvent &evt)
Called just after a frame has been rendered.
ManualObjectSection(ManualObject *parent, const String &materialName, OperationType opType, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
bool isSystemMemory(void) const
Returns whether this buffer is held in system memory.
Definition: OgreHardwareBuffer.h:336
virtual void setMaxOutputVertices(int maxOutputVertices)
Set the maximum number of vertices that a single run of this geometry program can emit.
Definition: OgreGLSLShader.h:132
GLSLMonolithicProgram * getActiveMonolithicProgram(void)
Get the program object that links the two active shader objects together if a program object was not ...
static CommandBufferExecuteFunc execute_setTextureBufferDS
Definition: OgreCommandBuffer.h:85
static Vector3 calculateBasicFaceNormal(const Vector3 &v1, const Vector3 &v2, const Vector3 &v3)
Calculate a face normal, no w-information.
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:395
VertexReductionMethod reductionMethod
Reduction method to use.
Definition: OgreLodConfig.h:95
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)
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:87
virtual ~ForwardPlusBase()
virtual OverlayElement * clone(const String &instanceName)
IteratorWrapper< T, IteratorType, typename T::value_type >::ValueType ValueType
Definition: OgreIteratorWrapper.h:139
DXGI_OUTPUT_DESC getDisplayMode() const
void createNewWindow(unsigned int width, unsigned int height, String title)
LwString(char *inStr, size_t maxLength)
Definition: OgreLwString.h:114
Vector2(const Real scaler)
Definition: OgreVector2.h:69
RibbonTrail(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, size_t maxElements=20, size_t numberOfChains=1, bool useTextureCoords=true, bool useVertexColours=true)
Constructor (don't use directly, use factory)
static const IdString AmbientSh
Definition: OgreHlmsPbs.h:540
unsigned int getLastQuerysPixelcount()
Manages the organisation and rendering of a 'scene' i.e.
Definition: OgreSceneManager.h:224
@ ID_DOT_PRODUCT
Definition: OgreScriptCompiler.h:771
void unloadResourceGroup(const String &name, bool reloadableOnly=true)
Unloads a resource group.
std::pair< MovableObject *, SceneQuery::WorldFragment * > SceneQueryMovableObjectWorldFragmentPair
Definition: OgreSceneQuery.h:484
list< MovableObject * >::type SceneQueryResultMovableList
Definition: OgreSceneQuery.h:201
virtual uint32 getHeight(void) const
@ PF_BC4_UNORM
DDS (DirectDraw Surface) BC4 format (unsigned normalised)
Definition: OgrePixelFormat.h:210
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.
virtual void read(Radian *angle, size_t count=1)
@ PFG_ETC2_RGB8_UNORM
ETC2 (Ericsson Texture Compression). Mandatory in GLES 3.0.
Definition: OgrePixelFormatGpu.h:216
static void scale(const TextureBox &src, PixelFormatGpu srcFormat, const TextureBox &dst, PixelFormatGpu dstFormat)
Definition: OgreImageResampler.h:96
void _setPointSpritesEnabled(bool enabled)
See RenderSystem.
void _copySharedParams()
Update the parameters by copying the data from the shared parameters.
uint8 mFirstRQ
First Render Queue ID to render. Inclusive.
Definition: OgreCompositorPassSceneDef.h:108
void setUpdatedTrackedDataFromCamera(Camera *trackedCamera)
Will update both mTrackedPosition & mTrackedViewProjMatrix with appropiate settings every time it's c...
This is the target render state.
Definition: OgreShaderRenderState.h:139
virtual void removeUnreferencedResources(bool reloadableOnly=true)
Remove all resources which are not referenced by any other object.
virtual_l1 void clear(void)
Completely clear the contents of the object.
String doGet(const void *target) const
virtual ~DynLibManager()
Default destructor.
Degree & operator-=(const Degree &d)
Definition: OgreMath.h:118
virtual void postLoadImpl()
overridden from Resource
Standard 3-dimensional vector.
Definition: OgreVector3.h:52
virtual void _setViewMatrix(const Matrix4 &m)=0
Sets the view transform matrix.
@ M_ANIMATION_POSE_KEYFRAME
Definition: OgreMeshFileFormat.h:174
void _setSceneBlendingOperation(SceneBlendOperation op)
const PlaneBoundedVolumeList & getVolumes() const
Gets the volume which is being used for this query.
uint32 mTextureHash
Definition: OgreHlmsDatablock.h:298
GLES2SurfaceDesc()
Definition: OgreGLES2RenderTexture.h:48
@ PF_X8B8G8R8
32-bit pixel format, 8 bits for blue, 8 bits for green, 8 bits for red like PF_A8B8G8R8,...
Definition: OgrePixelFormat.h:87
float mkDr
Definition: OgreHlmsPbsMobileDatablock.h:60
PixelFormat
The pixel format used for images, textures, and render surfaces.
Definition: OgrePixelFormat.h:44
static UavBufferPacked * createBuffer(const BufferDefinition &bufferDef, const TextureGpu *finalTarget, VaoManager *vaoManager)
void setRenderSystem(RenderSystem *rs)
Notifies all SceneManagers of the destination rendering system.
virtual ~CodecData()
Definition: OgreCodec.h:69
~FloatGpuParameterControllerValue()
Definition: OgrePredefinedControllers.h:160
void resetAllNumPassesLeft(void)
Resets the number of passes left for every pass (.
Real getPssmFade(size_t shadowMapIdx) const
GpuProgramPtr vertexShader
Definition: OgreHlmsPso.h:177
bool hasNodeDefinition(IdString nodeDefName) const
Returns true if a node definition with the given name exists.
const String & getOrigin(void) const
Get the origin of this overlay, e.g.
Definition: OgreOverlay.h:260
static FORCEINLINE void advanceRawPointer(const T *&ptr, ptrdiff_t offset)
Advance the pointer with raw offset.
Definition: OgreOptimisedUtil.h:230
@ ID_ALIAS
Definition: OgreScriptCompiler.h:818
Listener()
Definition: OgreRenderSystem.h:1235
unsigned short boneIndex
Definition: OgreVertexBoneAssignment.h:56
static size_t getNumElemBits(PixelFormat format)
Returns the size in bits of an element of the given pixel format.
bool hasOverlayElement(const String &name, bool isTemplate=false)
Tests if an element exists.
void _setTextureUnitCompareFunction(size_t unit, CompareFunction function)
const HlmsSamplerblock * _getSamplerblock(uint16 idx) const
Gets a samplerblock based on its index.
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:242
void clearQueue()
Clears the internal buffer.
virtual void setFsaaResolved()
Definition: OgreGL3PlusDepthTexture.h:113
bool isBorderBack(const OctreeNode &root) const
Gets whether this cell is at the back of the given root cell.
Definition: OgreVolumeOctreeNode.h:272
GLES2HardwareBufferManager()
Definition: OgreGLES2HardwareBufferManager.h:74
void setClipPlane(ushort index, Real A, Real B, Real C, Real D)
virtual ~ScriptCompilerManager()
Ogre::Vector2 rightEyeRadius
Definition: OgreHiddenAreaMeshVr.h:57
void destroyNode(ObjectData &inOutData)
Releases memory acquired through.
virtual void copyTo(TextureGpu *dst, const TextureBox &dstBox, uint8 dstMipLevel, const TextureBox &srcBox, uint8 srcMipLevel, bool keepResolvedTexSynced=true)
static const int PassBits
Definition: OgreHlms.h:954
void _notifyOwner(BillboardSet *owner)
Internal method for notifying the billboard of it's owner.
@ VET_COLOUR_ABGR
GL style compact colour.
Definition: OgreVertexElements.h:86
bool operator<=(const Radian &r) const
Definition: OgreMath.h:81
Real getScissorWidth(void) const
Definition: OgreViewport.h:144
SceneQueryResultMovableList movables
List of movable objects in the query (entities, particle systems etc)
Definition: OgreSceneQuery.h:207
static String INTERNAL_RESOURCE_GROUP_NAME
Internal resource group name (should be used by OGRE internal only)
Definition: OgreResourceGroupManager.h:288
void setBottomBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the bottom edge of the border.
@ Aggregate
Search parent for same-named samples and merge timing instead of adding a new sample.
Definition: OgreProfilerCommon.h:39
static const IdString ShadowUsesDepthTexture
Definition: OgreHlms.h:869
void getTerrainVector(const Vector3 &inVec, Vector3 *outVec) const
Translate a vector from world space to local terrain space based on the alignment options.
HlmsBlendblock blendblock
Definition: OgreHlmsDiskCache.h:151
WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
WorkQueue::RequestHandler override.
void _unload(void)
Internal method for unloading this object as part of Material::unload.
virtual void setScale(const Vector3 &scale)
Sets the scaling factor applied to this OldNode.
GLuint getGLBufferId(void) const
Definition: OgreGL3PlusHardwareVertexBuffer.h:74
void destroyAllOldNodeTracks(void)
void scaleAnimation(bool scaleU, bool scaleV)
scaleAnimation.
static const IdString Skeleton
Definition: OgreHlms.h:816
@ BBO_CENTER_LEFT
Definition: OgreBillboardSet.h:61
Holds the results of a scene query.
Definition: OgreSceneQuery.h:205
virtual ~ObjectMemoryManager()
String syntax
Definition: OgreMaterialSerializer.h:52
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.
void swap(Matrix3 &other)
Exchange the contents of this matrix with another.
Definition: OgreMatrix3.h:101
~ProgramManager()
Class destructor.
const String & getName() const
Get the name of the property.
Definition: OgreProperty.h:195
bool isDirty
Definition: OgreShaderParams.h:81
void setTessellationHullProgramConstantFloatCount(ushort c)
The number of floating-point constants tessellation Hull programs support.
Definition: OgreRenderSystemCapabilities.h:880
static const IdString PoseNormals
Definition: OgreHlms.h:820
size_t arraySize
Length of array.
Definition: OgreGpuProgramParams.h:164
virtual const String & getTypeName(void) const
See OverlayElementFactory.
virtual OldNode * getParent(void) const
Gets this OldNode's parent (NULL if this is the root).
Camera * camera
The camera with respect to which the level of detail has changed.
Definition: OgreLodListener.h:79
void removeListener(Listener *lis)
Remove a listener on this resource.
GL3PlusNullTexture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, GL3PlusSupport &support)
virtual const String & getTypeName(void) const
See OverlayElementFactory.
virtual bool hasCustomShadowMacroblock(void) const
HlmsComputeJob * findComputeJobNoThrow(IdString datablockName) const
Finds an existing Compute Job. If none found, returns null.
IlluminationRenderStage
Describes the stage of rendering when performing complex illumination.
Definition: OgreSceneManager.h:239
size_t getConstBufferSize(void) const
void setFragmentProgramParameters(GpuProgramParametersSharedPtr params)
Sets the fragment program parameters.
static GLXFBConfig getFBConfigFromDrawable(Display *display, GLXDrawable drawable, unsigned int *width, unsigned int *height)
Get the GLXFBConfig used to create a GLXDrawable.
static uint32 QUERY_STATICGEOMETRY_DEFAULT_MASK
Default query mask for StaticGeometry.
Definition: OgreSceneManager.h:231
void updateUniformBlocks(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program object uniform blocks using shared parameter data from GpuProgramParameters.
void streamToAoS(SimpleMatrixAf4x3 *RESTRICT_ALIAS src) const
virtual bool getCastsShadows(void) const
Method which reports whether this renderable would normally cast a shadow.
QueuedRenderable()
Definition: OgreRenderQueue.h:55
Exception(const Exception &rhs)
Copy constructor.
@ ID_SHARED_PARAMS
Definition: OgreScriptCompiler.h:809
bool requiresTextureFlipping() const
Definition: OgreD3D9RenderWindow.h:74
AnimationContainer * getContainer()
Retrieve the container of this animation.
ushort getTessellationHullProgramConstantFloatCount(void) const
The number of floating-point constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:895
HlmsUnlitDatablock(IdString name, HlmsUnlit *creator, const HlmsMacroblock *macroblock, const HlmsBlendblock *blendblock, const HlmsParamVec ¶ms)
Valid parameters in params:
static const IdString IdentityWorld
Definition: OgreHlms.h:828
bool mUseQuad
Whether to use a full screen quad or triangle.
Definition: OgreCompositorPassQuadDef.h:85
HardwareUniformBufferSharedPtr()
Definition: OgreHardwareUniformBuffer.h:70
static bool allBitsSet(bool mask0[4], bool mask1[4])
Returns true if alls bit in mask0[i] and mask1[i] are set.
void linkWorldGeometryToResourceGroup(const String &group, const String &worldGeometry, SceneManager *sceneManager)
Associates some world geometry with a resource group, causing it to be loaded / unloaded with the res...
void reinitialise(void)
See RenderSystem.
bool end(void)
Returns true when at the end of the particle list.
void install()
Perform the plugin initial installation sequence.
int32 textureArrayIndex
Definition: OgreCompositorPassComputeDef.h:63
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 constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:957
virtual ~MetalNullTexture()
destructor
Codec specialized in loading ASTC (ARM Adaptive Scalable Texture Compression) images.
Definition: OgreASTCCodec.h:47
virtual void calculateFaceNormals(const float *positions, const v1::EdgeData::Triangle *triangles, Vector4 *faceNormals, size_t numTriangles)=0
Calculate the face normals for the triangles based on position information.
@ ID_BAKE_LIGHTING_ONLY
Definition: OgreScriptCompiler.h:926
virtual Quaternion convertWorldToLocalOrientation(const Quaternion &worldOrientation)
Gets the local orientation, relative to this OldNode, of the given world-space orientation.
Definition: OgreMetalTexture.h:44
static VertexElement2VecVec getVertexDeclaration(const VertexBufferPackedVec &vertexBuffers)
void setLightClipPlanesEnabled(bool enabled)
Gets whether or not this pass will be clipped by user clips planes bounding the area covered by the l...
Definition: OgrePass.h:1086
OverlayElement * createOverlayElementFromTemplate(const String &templateName, const String &typeName, const String &instanceName, bool isTemplate=false)
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
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:292
static void writeLayerDeclaration(const TerrainLayerDeclaration &decl, StreamSerialiser &ser)
Utility method to write a layer declaration to a stream.
static ParticleSystemManager & getSingleton(void)
Override standard Singleton retrieval.
NSOpenGLContext * getContext()
Grab the NSOpenGLContext if it exists.
virtual unsigned short _getSchemeIndex(const String &name)
Internal method - returns index for a given material scheme name.
virtual ~IrradianceFieldRaster()
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:854
void setUseTextures(bool bUseTextures)
Whether to evaluate diffuse & detail map textures.
ImageBlur2D separableBlur_Float32_X
Definition: OgreImageDownsampler.h:170
CompositorPassUavDef(CompositorNodeDef *parentNodeDef, CompositorTargetDef *parentTargetDef)
Definition: OgreCompositorPassUavDef.h:102
vector< TextureGpu * >::type TextureGpuVec
Definition: OgreCompositorManager2.h:52
static const String & getTypeName(PropertyType theType)
Get a string name of a property type.
virtual void setCurrent()
Enable the context.
Base implementation of a D3D11 buffer, dealing with all the common aspects.
Definition: OgreD3D11HardwareBuffer.h:41
void clear()
Definition: OgreLwString.h:153
Implements IrradianceField, but generating results via cubemap rasterization.
Definition: OgreIrradianceFieldRaster.h:69
int vBlankMissCount
Definition: OgreRenderTarget.h:81
Aabb aabb
Definition: OgreInstantRadiosity.h:184
void close(void)
Close the stream; this makes further operations invalid.
virtual void read(bool *val, size_t count=1)
ArrayReal volume(void) const
Calculate the volume of this box.
virtual 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 ...
virtual void setHidden(bool hidden)
Hide (or show) the window.
GeometryAllocatedObject ProgMeshAlloc
Definition: OgreMemoryAllocatorConfig.h:323
GL3PlusHardwareOcclusionQuery()
Default object constructor.
virtual ~D3D11TextureGpu()
@ LBX_MODULATE
multiply source1 and source2 together
Definition: OgreBlendMode.h:81
virtual_l2 void scale(const Vector3 &scale)
Scales the node, combining it's current scale with the passed in scaling factor.
Image & loadTwoImagesAsRGBA(DataStreamPtr &rgbStream, 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 ...
PixelFormatGpu pixelFormat
Definition: OgreTextureGpuManager.h:254
size_t getSizeBytes(void) const
Definition: OgreTextureBox.h:81
~ImportData()
Definition: OgreTerrain.h:491
void swap(DualQuaternion &other)
Exchange the contents of this dual quaternion with another.
Definition: OgreDualQuaternion.h:135
Vector4 getPackedUavSize(size_t index) const
uint16 getMinBatchSize() const
Get the minimum size in vertices along one side of a batch.
@ WorldRadius
Definition: OgreArrayMemoryManager.h:384
@ ID_1D
Definition: OgreScriptCompiler.h:727
void setNumVertexTextureUnits(ushort n)
Set the number of vertex texture units supported.
Definition: OgreRenderSystemCapabilities.h:819
uint32 mHlmsGlobalIndex
Index in the vector holding this Rendrable reference in the HLMS datablock.
Definition: OgreRenderable.h:458
Definition: OgreD3D9Mappings.h:42
void setLodBias(Real factor=1.0)
Sets the level-of-detail factor for this Camera.
map< String, PageStrategy * >::type StrategyMap
Definition: OgrePageManager.h:184
virtual void setDynamic(bool dyn)
Sets whether or not the buffers created for this object are suitable for dynamic alteration.
vector< GL3PlusTexturePtr >::type GL3PlusTexturePtrList
Definition: OgreGL3PlusTextureManager.h:40
void _updateBoneStartTransforms(void)
ParallaxCorrectedCubemapBase * getCreator(void)
Definition: OgreCubemapProbe.h:242
void addUavBuffer(uint32 slotIdx, const String &bufferName, ResourceAccess::ResourceAccess access, size_t offset=0, size_t sizeBytes=0, bool allowWriteAfterWrite=false)
virtual void remove(const String &filename)
Delete a named file.
@ PF_NULL
Dummy, used for UAV-only rendering.
Definition: OgrePixelFormat.h:359
Definition: OgreD3D9TextureManager.h:37
uint32 y
Definition: OgreTextureBox.h:44
virtual void destroyQuery(SceneQuery *query)
Destroys a scene query of any type.
void SetColumn(size_t iCol, const Vector3 &vec)
void extractUniformsFromGLSL(const String &src, GpuNamedConstants &constantDefs, const String &filename)
Populate a list of uniforms based on GLSL source and store them in GpuNamedConstants.
GL3+ doesn't support mapping the same buffer twice even if the regions don't overlap.
Definition: OgreGLES2DynamicBuffer.h:53
VectorIterator(typename T::iterator start, typename T::iterator last)
Constructor.
Definition: OgreIteratorWrapper.h:192
@ SPC_LIGHTDIRECTION_OBJECT_SPACE1
Definition: OgreShaderParameter.h:168
SharedPtr< TextureAtlasTable > TextureAtlasTablePtr
Definition: OgreShaderExTextureAtlasSampler.h:69
Specialises the SceneQuery class for querying within a plane-bounded volume.
Definition: OgreSceneQuery.h:300
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: OgrePixelBox.h:56
ID3D11DeviceN * operator->() const
Definition: OgreD3D11Device.h:74
RenderSystemCapabilitiesSerializer()
default constructor
@ ID_TEX_BORDER_COLOUR
Definition: OgreScriptCompiler.h:745
virtual ~ImageData2()
Definition: OgreImageCodec2.h:64
@ PF_ASTC_SRGB8A8_5X4_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 5x4)
Definition: OgrePixelFormat.h:291
virtual void bindBufferVS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Binds the texture buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
Definition: OgreNULLTexBufferPacked.h:49
Aabb intersection(const Aabb &b2) const
Calculate the area of intersection of this box and another.
virtual bool getFlipCullingOnNegativeScale() const
Get whether to automatically flip the culling mode on objects whenever they are negatively scaled.
Definition: OgreSceneManager.h:2586
AllocatedObject< RenderSysAllocPolicy > RenderSysAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:285
void destroyStagingTexture(GL3PlusStagingTexture *stagingTexture)
Important: Does not delete the stagingTexture.
@ Downloading
Definition: OgreAsyncTextureTicket.h:59
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.
float getAvgFps(void) const
Definition: OgreFrameStats.h:62
Allows the rendering of a simple 2D rectangle This class renders a simple 2D rectangle; this rectangl...
Definition: OgreRectangle2D.h:54
@ PFG_RG16_FLOAT
Definition: OgrePixelFormatGpu.h:81
virtual SceneManager * getSceneManager() const
Retrieve the SceneManager being used for this group.
Definition: OgreTerrainGroup.h:141
static const IdString NormalWeightDetail1
Definition: OgreHlmsPbs.h:497
Structure recording a queued geometry for low level builds.
Definition: OgreStaticGeometry.h:176
static void setProperty(HlmsPropertyVec &properties, IdString key, int32 value)
Utility helper, mostly useful to HlmsListener implementations.
vector< String >::type bases
Definition: OgreScriptCompiler.h:132
const Any & _getRenderSystemData() const
Internal method that the RenderSystem might use to store optional data.
Definition: OgreGpuProgramParams.h:804
@ TLSS_HEIGHT
Height information for the detail texture.
Definition: OgreTerrainMaterialGenerator.h:63
Definition: OgreBufferPacked.h:135
void executeCommand(const MovableObject *movableObject, Renderable *renderable, bool casterPass)
D3D11VideoMode(DXGI_OUTPUT_DESC d3ddm, DXGI_MODE_DESC ModeDesc)
@ ID_TEX_ADDRESS_MODE
Definition: OgreScriptCompiler.h:740
PointerType peekNextPtr() const
Returns a pointer to the next(=current) element in the collection, without advancing to the next afte...
Definition: OgreIteratorWrapper.h:164
static bool msIgnoreHidden
Definition: OgreFileSystem.h:123
virtual void copyFrom(const SubRenderState &rhs)
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
The root class of the Ogre system.
Definition: OgreRoot.h:70
TextureUsage
Enum identifying the texture usage.
Definition: OgreTexture.h:49
ResourceManagerIterator getResourceManagerIterator()
Get an iterator over the registered resource managers.
Definition: OgreResourceGroupManager.h:1014
void clear(void)
Clears everything, removing our VPLs.
EnvMapType
Enumeration to specify type of envmap.
Definition: OgreTextureUnitState.h:99
void setRectSize(Vector2 rectSize)
For custom 2D shape and area lights, sets the dimensions of the rectangle, in half size.
virtual void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
@ CB_SET_INDIRECT_BUFFER
Definition: OgreCbCommon.h:39
AutoConstantDefinition(AutoConstantType _acType, const String &_name, size_t _elementCount, ElementType _elementType, ACDataType _dataType)
Definition: OgreGpuProgramParams.h:1436
void resize(size_t newSize, const T &value=T())
Definition: OgreFastArray.h:297
OverlayElement * createOverlayElement(const String &instanceName)
See OverlayElementFactory.
Definition: OgreOverlayElementFactory.h:77
void setCalcMode(CalcMode calcMode)
Set the fog calculation mode.
Definition: OgreShaderFFPFog.h:111
virtual PixelFormat suggestPixelFormat() const
Suggests a pixel format to use for extracting the data in this target, when calling copyContentsToMem...
Definition: OgreRenderTarget.h:298
static const ArrayVector3 NEGATIVE_UNIT_Y
Definition: C/OgreArrayVector3.h:350
virtual void addListener(Listener *l)
Adds a listener to the custom events that this render system can raise.
Real _getHeight(void) const
Gets the height of this element in relation to the screen (where 1.0 = screen height)
Definition: OgreOverlayElement.h:259
void operator+=(IdString idString)
Definition: OgreIdString.h:208
const ColourValue & getDiffuse(void) const
Gets the diffuse colour reflectance of the pass.
float m[3][4]
Definition: OgreShaderPrimitives.h:103
DisplayMode
Definition: OgreProfiler.h:364
const String & getVertexProgramName(void) const
Gets the name of the vertex program used by this pass.
D3D11TextureGpu(GpuPageOutStrategy::GpuPageOutStrategy pageOutStrategy, VaoManager *vaoManager, IdString name, uint32 textureFlags, TextureTypes::TextureTypes initialType, TextureGpuManager *textureManager)
void addError(uint32 code, const String &file, int line, const String &msg="")
Adds the given error to the compiler's list of errors.
virtual void setFsaaResolveDirty(void)
String resourceGroup
Definition: OgreTextureGpuManager.h:267
vector< Real >::type RealVector
Definition: OgreTerrain.h:297
@ PF_DXT3
DDS (DirectDraw Surface) DXT3 format.
Definition: OgrePixelFormat.h:116
~ManualObjectFactory()
Definition: OgreManualObject2.h:383
static const IdString MaxUavSlot
Definition: OgreHlmsCompute.h:210
static const String & getDirectionalLightExtruderVs_glslFinite(void)
Get FINITE extruder program source for directional lights, compatible with glsl.
Definition: OgreShadowVolumeExtrudeProgram.h:297
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
StagingTexture(VaoManager *vaoManager, PixelFormatGpu formatFamily)
virtual void destroyAllCameras(void)
Removes (and destroys) all cameras from the scene.
Vector3 getDirection(void) const
Gets the camera's direction.
Definition: OgreObjCmdBuffer.h:98
static void TensorProduct(const Vector3 &rkU, const Vector3 &rkV, Matrix3 &rkProduct)
const Matrix4 & getWorldMatrix(void) const
GeneralAllocatedObject CodecAlloc
Definition: OgreMemoryAllocatorConfig.h:302
GL3PlusTextureBuffer(const String &baseName, GLenum target, GLuint id, GLint face, GLint level, Usage usage, bool writeGamma, uint fsaa)
Texture constructor.
Command object for setting target assembler.
Definition: OgreD3D9HLSLProgram.h:55
virtual void bindBufferVS(uint16 slot)
Binds the constant buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
void setBoneWeight(IdString boneName, Real weight)
Sets the per-bone weight to a particular bone.
static const IdString FineLightMask
Definition: OgreHlms.h:871
bool getSkipAnimationStateUpdate() const
Entity's skeleton's AnimationState will not be automatically updated when set to true.
Definition: OgreEntity.h:695
virtual BillboardType getBillboardType(void) const
Returns the billboard type in use.
virtual bool queryResult(MovableObject *object)=0
Called when a MovableObject is returned by a query.
Real z
Definition: OgreDualQuaternion.h:166
A factory that enables creation of FFPTexturing instances.
Definition: OgreShaderFFPTexturing.h:250
MovableObject(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, uint8 renderQueueId)
Constructor.
CPreprocessor()
Create an empty preprocessor object.
Definition: OgreGLSLPreprocessor.h:445
void setFromVector3(const Vector3 &v, size_t index)
Definition: C/OgreArrayVector3.h:97
TargetMode
The target animation mode.
Definition: OgreAnimationTrack.h:607
StringVectorPtr listResourceLocations(const String &groupName)
List all resource locations in a resource group.
virtual unsigned short getNumAnimations(void) const
Gets the number of morph animations in this mesh.
void logMessage(LogMessageLevel lml, const String &message, bool maskDebug=false)
Log a message to the default log (signature for backward compatibility).
Definition: OgreLogManager.h:129
StoreAction::StoreAction storeAction
Definition: OgreRenderPassDescriptor.h:128
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
void extract3x3Matrix(Matrix3 &m3x3) const
Extracts the rotation / scaling part of the Matrix as a 3x3 matrix.
Definition: OgreMatrix4.h:513
static void shutdown(void)
Static method to shutdown FreeImage and unregister the FreeImage codecs.
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.
void removeTextureAlias(const String &aliasName)
Remove a specific texture alias name from the sub mesh.
void getFsaaDesc(String &outFsaaSetting) const
Appends the FSAA description to the string.
T * iterator
Definition: OgreMain/include/OgreSmallVector.h:172
unsigned long size
Definition: OgreSearchOps.h:45
static GLSLESLinkProgramManager * getSingletonPtr(void)
For D3D11, most (if not all) buffers, can be treated with the same code.
Definition: OgreD3D11BufferInterface.h:42
@ SBF_ONE_MINUS_DEST_ALPHA
Definition: OgreBlendMode.h:244
Definition: OgreWindowEventUtilities.h:126
static const String & getPointLightExtruderVs_glslFiniteDebug(void)
Get extruder program source for debug point lights, compatible with glsl.
Definition: OgreShadowVolumeExtrudeProgram.h:308
virtual MovableObjectVec findMovableObjects(const String &type, const String &name)
Finds all the movable objects with the type and name passed as parameters.
virtual bool isHidden(void) const =0
Indicates whether the window was set to hidden (not displayed)
Rectangle2D * getRectangle(void) const
Definition: OgreRadialDensityMask.h:118
size_t getNumShadowTextureDefinitions() const
Gets the number of shadow texture definitions in this node.
Definition: OgreCompositorShadowNodeDef.h:194
AxisAlignedBox getWorldAABB() const
Get the AABB (world coords) of the entire terrain.
SubMeshIterator getSubMeshIterator(void)
Gets an iterator over the available submeshes.
Definition: OgreMesh.h:285
bool useBackgroundQueue
Whether you want to process it immediatelly on main thread or you want to use Ogre::WorkQueue.
Definition: OgreLodConfig.h:149
virtual bool _shouldRebindBackBuffer()
Definition: OgreD3D11RenderWindow.h:72
void setNumPasses(size_t numPasses)
Reserves enough memory for all passes (efficient allocation)
Definition: OgreCompositorPassDef.h:292
bool isHollowFullscreenRect(void) const
virtual Real transformUserValue(Real userValue) const
Transform user supplied value to internal value.
Profile * getActiveProfile() const
Get the active profile.
Definition: OgreTerrainMaterialGenerator.h:245
void update(Camera *camera, Real aspectRatio)
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:493
@ OT_PATCH_4_CONTROL_POINT
Definition: OgreHlmsPso.h:63
virtual void getMemoryStats(MemoryStatsEntryVec &outStats, size_t &outCapacityBytes, size_t &outFreeBytes, Log *log) const
Retrieves memory stats about our GPU pools being managed.
void * allocateScratch(uint32 size)
Allocator method to allow us to use a pool of memory as a scratch area for hardware buffers.
Matrix4 mHeadToEye[2]
Definition: OgreCamera.h:47
Content getContent() const
Return the content of this parameter.
Definition: OgreShaderParameter.h:335
static void scale(const PixelBox &src, const PixelBox &dst, Filter filter=FILTER_BILINEAR)
Scale a 1D, 2D or 3D image volume.
HardwareVertexBuffer * vertexBuffer
Definition: OgreVertexIndexData.h:245
T getManualValue(void) const
See other overload.
Definition: OgreShaderParams.h:132
RenderState * getRenderState(const String &schemeName, const String &materialName, unsigned short passIndex)
Get render state of specific pass.
@ ACT_LIGHT_SPECULAR_COLOUR_POWER_SCALED_ARRAY
Array of light specular colours scaled by light power (count set by extra param)
Definition: OgreGpuProgramParams.h:1080
static const IdString UvDetailWeight
Definition: OgreHlmsPbsMobile.h:141
void _beginFrame()
Signifies the beginning of a frame, i.e.
map< String, PageContentFactory * >::type ContentFactoryMap
Definition: OgrePageManager.h:236
uint32 height
Definition: OgreTextureBox.h:45
@ HLMS_USER0
Made for GUIs, overlays, particle FXs, self-iluminating billboards.
Definition: OgreHlmsCommon.h:183
bool uploadWillStall(void)
If it returns true, startMapRegion will stall.
void addListener(ProfileSessionListener *listener)
Vector3 getTrans() const
Extracts the translation transformation part of the matrix.
Definition: OgreMatrix4.h:418
virtual void bindBufferDS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
static const ArrayVector3 UNIT_SCALE
Definition: C/OgreArrayVector3.h:352
Specialisation of ZipArchiveFactory for embedded Zip files.
Definition: OgreZip.h:132
virtual void write(const AxisAlignedBox *aabb, size_t count=1)
virtual Real transformBias(Real factor) const
Transform LOD bias so it only needs to be multiplied by the LOD value.
IdString mShadowNode
Definition: OgreCompositorPassSceneDef.h:79
const ColourValue & getCompositeMapAmbient() const
Get the composite map ambient light to use.
Definition: OgreTerrain.h:1955
@ M_SUBMESH_TEXTURE_ALIAS
Definition: OgreMeshFileFormat.h:72
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
Copy data from another buffer into this one.
void _endUpdate(bool forceEndFrame)
Call after _update unless the final render target is not a render window.
size_t offset
Definition: OgreVertexIndexData.h:244
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
virtual void postExtraThreadsStarted()=0
void beginGPUSample(const String &name, uint32 *hashCache)
Radian mRotationSpeed
Speed of rotation in radians/sec.
Definition: OgreParticle.h:98
float getFps(void) const
Definition: OgreFrameStats.h:61
virtual bool eof(void) const =0
Returns true if the stream has reached the end.
bool getInheritParentEntityScale(void) const
Returns true if this TagPoint is affected by scaling factors applied to the parent entity.
size_t numberOfInstances
The number of instances for the render operation - this option is supported in only a part of the ren...
Definition: OgreRenderOperation.h:80
PatchSurface * patchSurf
Patch surface (only applicable when fType = FGT_PATCH)
Definition: OgreStaticFaceGroup.h:110
const String & getMaterialName(void) const
@ PF_A8R8G8B8
32-bit pixel format, 8 bits for alpha, red, green and blue.
Definition: OgrePixelFormat.h:75
Real y
Definition: OgreDualQuaternion.h:166
Vector4(const Real afCoordinate[4])
Definition: OgreVector4.h:64
const HlmsSamplerblock * getSamplerblock(void) const
Retrieves current samplerblock.
GLES2HardwareIndexBuffer(HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer)
const String & getFriendlyName(void) const
Returns the friendly name of the render system.
@ VET_DOUBLE3
Definition: OgreVertexElements.h:89
virtual bool setOption(const String &strKey, const void *pValue)
Method for setting a specific option of the Scene Manager.
Definition: OgreSceneManager.h:1784
virtual const Matrix4 & getReflectionMatrix(void) const
Returns the reflection matrix of the frustum if appropriate.
Definition: OgreFrustum.h:605
TexBufferPacked * getAsTexBufferView(PixelFormatGpu pixelFormat)
Returns a TexBufferPacked for binding to the GPU as a texture w/ read-only access.
Definition: OgrePrerequisites.h:637
uint16 getGlobalColourMapSize() const
Get the size of the global colour map (if used)
Definition: OgreTerrain.h:1424
virtual void writeSourceCode(std::ostream &os, Program *program)
const DescriptorSetTexture * getDescriptorSetTexture(const DescriptorSetTexture &baseParams)
virtual void setBinding(unsigned short index, const HardwareVertexBufferSharedPtr &buffer)
Set a binding, associating a vertex buffer with a given index.
virtual void _hlmsBlendblockDestroyed(HlmsBlendblock *block)
size_t read(void *buf, size_t count)
Read the requisite number of bytes from the stream, stopping at the end of the file.
The class deciding on whether to split an octree node or not when building the octree.
Definition: OgreVolumeOctreeNodeSplitPolicy.h:46
virtual void convertColourValue(const ColourValue &colour, uint32 *pDest)
Generates a packed data version of the passed in ColourValue suitable for use as with this RenderSyst...
Real getSquaredViewDepth(const Ogre::Camera *) const
String doGet(const void *target) const
unordered_map< String, ResourcePtr >::type ResourceMap
Definition: OgreResourceManager.h:568
virtual void eventOccurred(const String &eventName, const NameValuePairList *parameters)
Overlay2DElementsIterator get2DElementsIterator()
Definition: OgreOverlay.h:250
const BufferSourceVec & getBufferSources(void) const
Definition: OgreCompositorPassUavDef.h:135
bool isTextureTypeArray(void) const
Definition: OgreTexture.h:139
uint8 numMipmaps
Definition: OgreImageCodec2.h:76
@ OnSystemRam
Texture is on System RAM.
Definition: OgreGpuResource.h:57
bool operator!=(const LayerBlendModeEx &rhs) const
Definition: OgreBlendMode.h:194
ArrayMatrixAf4x3(const ArrayMatrixAf4x3 ©)
Definition: C/OgreArrayMatrixAf4x3.h:75
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
virtual ~TerrainLodManager()
MapIterator< VertexOffsetMap > VertexOffsetIterator
An iterator over the vertex offsets.
Definition: OgrePose.h:72
reference front()
Definition: OgreCommon.h:536
uint8 blendModes[4]
Definition: OgrePbsMobileShaderCreationData.h:56
static CommandBufferExecuteFunc execute_setTextureBufferPS
Definition: OgreCommandBuffer.h:82
void generateExtremes(size_t count)
Generate the submesh extremes (.
vector< RaySceneQueryResultEntry >::type RaySceneQueryResult
Definition: OgreSceneQuery.h:368
bool hasSeparateStencilBuffer() const
void _updateImmutableResource(uint32 vaoName, uint32 renderQueueId, D3D11VertexArrayObjectShared *sharedData)
static const ArrayVector3 UNIT_Y
Definition: C/OgreArrayVector3.h:347
vector< float >::type BoneBlendMask
Typedef for an array of float values used as a bone blend mask.
Definition: OgreAnimationState.h:64
static CommandBufferExecuteFunc execute_setVao
Definition: OgreCommandBuffer.h:66
const SkeletonDef * getDefinition(void) const
Definition: OgreSkeletonInstance.h:114
virtual bool isLoaded(void) const
Returns true if the Resource has been loaded, false otherwise.
Definition: OgreResource.h:347
Real getOverlayTop() const
static int16 floatToSnorm16(float v)
Definition: OgreBitwise.h:421
void load(const String &filename)
Prepare and load the terrain in one simple call from a standalone file.
T & back()
Definition: OgreStackVector.h:265
@ ID_CAMERA
Definition: OgreScriptCompiler.h:914
Real getTimeFactor(void) const
virtual const Vector3 & getOrigin(const Vector3 &worldOrigin)
Get the origin of the grid in world space.
Definition: OgreGrid3DPageStrategy.h:134
@ ACT_WORLD_MATRIX_ARRAY
The current array of world matrices, used for blending.
Definition: OgreGpuProgramParams.h:920
virtual void getSubsampleLocations(vector< Vector2 >::type locations)
Get the MSAA subsample locations.
static bool isDepth(PixelFormat format)
Shortcut method to determine if the format is a depth format.
ImageDownsampler2D downscale2x_sRGB_AXXX8888
Definition: OgreImageDownsampler.h:180
const float * getFloatPointer(size_t pos) const
Get a pointer to the 'nth' item in the float buffer.
Definition: OgreGpuProgramParams.h:772
void setFreeOnClose(bool free)
Sets whether or not to free the encapsulated memory on close.
Definition: OgreDataStream.h:475
bool getEnabled() const
Definition: OgreCompositorWorkspace.h:170
size_t getNumFaces(void) const
Get the number of faces of the image.
size_t indexBufferSize
Offset from the start of the indexBuffer.
Definition: OgreLodBuffer.h:45
void flush(size_t ticket, size_t start, size_t count)
Flushes the region of the given ticket. start is 0-based.
Real dotProduct(const Vector3 &vec) const
Calculates the dot (scalar) product of this vector with another.
Definition: OgreVector3.h:423
StagingTexture * getStagingTexture(uint32 width, uint32 height, uint32 depth, uint32 slices, PixelFormatGpu pixelFormat, size_t minConsumptionRatioThreshold=25u)
Creates a StagingTexture which is required to upload data CPU -> GPU into a TextureGpu.
Window * getAutoCreatedWindow(void)
Retrieves a pointer to the window that was created automatically.
size_t read(void *buf, size_t count)
Read data from cache to 'buf' (maximum 'count' bytes).
Definition: OgreDataStream.h:99
~OptimisedSubMeshGeometry()
Definition: OgreStaticGeometry.h:142
static void AddTextureSampleWrapperInvocation(UniformParameterPtr textureSampler, UniformParameterPtr textureSamplerState, GpuConstantType samplerType, Function *function, int groupOrder, int &internalCounter)
virtual bool isRenderWindow(void) const
Whether our derived class is RenderWindow.
Definition: OgreRenderWindow.h:219
void * atFromOffsettedOrigin(size_t xPos, size_t yPos, size_t zPos) const
Definition: OgreTextureBox.h:156
Definition: OgreD3D11UavBufferPacked.h:41
TextureAtlasSampler()
Class default constructor.
ResourceAccess::ResourceAccess access
Definition: OgreDescriptorSetUav.h:109
Virtual interface of the stereo driver.
Definition: OgreD3D9StereoDriverImpl.h:41
Definition: OgreObjCmdBuffer.h:86
void setPrepareAllMeshesForShadowVolumes(bool enable)
Tells the mesh manager that all future meshes should prepare themselves for shadow volumes on loading...
Represents the total timing information of a profile since profiles can be called more than once each...
Definition: OgreProfiler.h:253
AnimableValuePtr createAnimableValue(const String &valueName)
Create a reference-counted AnimableValuePtr for the named value.
SkeletonDefPtr getSkeletonDef(v1::Skeleton *oldSkeletonBase)
Creates a skeletondef based on an existing one from the legacy skeleton system.
virtual void create(const String &name, unsigned int widthPt, unsigned int heightPt, bool fullScreen, const NameValuePairList *miscParams)=0
Creates & displays the new window.
Definition: OgreGL3PlusVaoManager.h:100
AllocatedObject< SceneObjAllocPolicy > SceneObjAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:282
PFNWGLCREATECONTEXTATTRIBSARBPROC wglCreateContextAttribsARB
The result of having built a tangent space basis.
Definition: OgreTangentSpaceCalc.h:79
uint32 getLightMask() const
Gets the light mask controlling which lights are used for this pass.
Definition: OgreScriptTranslator.h:147
NULLStagingBuffer(size_t internalBufferStart, size_t sizeBytes, VaoManager *vaoManager, bool uploadOnly)
virtual const PixelFormatToShaderType * getPixelFormatToShaderType(void) const
static SceneBlendOperation parseBlendOperation(const char *value)
ArrayVector3 crossProduct(const ArrayVector3 &rkVector) const
Calculates the cross-product of 2 vectors, i.e.
@ NumTextureSourceTypes
Created automatically, may be shared and reused by multiple colour targets.
Definition: OgreTextureGpu.h:171
@ SKELETON_ANIMATION_TRACK_KEYFRAME
Definition: OgreSkeletonFileFormat.h:96
~MeshSerializerImpl_v1_1()
bool requiresTextureFlipping() const
Definition: OgreGTKWindow.h:78
virtual void setCustomProjectionMatrix(bool enable, const Matrix4 &projectionMatrix=Matrix4::IDENTITY, bool alternateDepthRange=false)
Set whether to use a custom projection matrix on this frustum.
void getWorldTransforms(Matrix4 *mat) const
Overridden from Frustum/Renderable.
virtual void saveMicrocodeCache(DataStreamPtr stream) const
Saves the microcode cache to disk.
const String & getTarget(void) const
Gets the shader target to compile down to, e.g.
Definition: OgreD3D9HLSLProgram.h:182
virtual void _hlmsComputePipelineStateObjectDestroyed(HlmsComputePso *newPso)
Definition: OgreRenderSystem.h:848
Vector4 mDetailsOffsetScale[8]
Definition: OgrePbsMobileShaderCreationData.h:63
ImageBlur2D separableBlur_Float32_XX
Definition: OgreImageDownsampler.h:169
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.
LODIterator getLODIterator(void)
Get an iterator over the LODs in this region.
Workflows
Definition: OgreHlmsPbsDatablock.h:196
Structure used to keep track of named atomic counter uniforms in the linked program object.
Definition: OgreGLSLProgram.h:60
virtual String getType() const
Returns the type of the codec as a String.
virtual void performCleanup(uint16 level, const MemoryPoolVec &basePtrs, size_t const *elementsMemSizes, size_t startInstance, size_t diffInstances)
Called when too many nodes were destroyed in a non-LIFO fashion.
const GpuConstantDefinition & getConstantDefinition(const String &name) const
Get a specific GpuConstantDefinition for a named parameter.
virtual ~StreamSerialiser()
@ LB_BlendLuminosity
Definition: OgreShaderExLayeredBlending.h:78
virtual_l1 void estimateIndexCount(size_t icount)
Estimate the number of indices ahead of time.
String doGet(const void *target) const
multimap< size_t, VertexBoneAssignment >::type VertexBoneAssignmentList
Multimap of vertex bone assignments (orders by vertex index).
Definition: OgreMesh.h:103
ParameterType paramType
Definition: OgreStringInterface.h:75
virtual void getShadowCamera(const SceneManager *sm, const Camera *cam, const Light *light, Camera *texCam, size_t iteration, const Vector2 &viewportRealSize) const =0
Function to implement – must set the shadow camera properties.
Definition: OgreLodOutputProviderMesh.h:42
GLXContext(GLXGLSupport *glsupport, ::GLXFBConfig fbconfig, ::GLXDrawable drawable, ::GLXContext context=0)
NULLBufferInterface(size_t vboPoolIdx)
virtual void _releaseManualHardwareResources()
@ Indirect
After the barrier, data can be used as an indirect buffer.
Definition: OgreResourceTransition.h:87
map< PageID, Page * >::type PageMap
Definition: OgrePagedWorldSection.h:72
OrientationMode
Specifies orientation mode.
Definition: OgreFrustum.h:49
Slot()
Definition: OgreDescriptorSetTexture.h:234
void addContentCollectionFactory(PageContentCollectionFactory *f)
Add a new PageContentCollectionFactory implementation.
bool getColourWriteEnabled(void) const
Determines if colour buffer writing is enabled for this pass.
virtual void unsetAllBindings(void)
Removes all the bindings.
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:173
const String & getName(void) const
Return the name of the pose (may be blank)
Definition: OgrePose.h:66
virtual HlmsCache preparePassHash(const Ogre::CompositorShadowNode *shadowNode, bool casterPass, bool dualParaboloid, SceneManager *sceneManager)
Called every frame by the Render Queue to cache the properties needed by this pass.
virtual void Graphics3DContextLost()
The Graphics3DClient interface - pp::Graphics3DClient_Dev.
void setDatablock(HlmsDatablock *datablock)
Sets the given HLMS databloock to all SubEntities.
Simple wrap up to load an AoS matrix 4x4 using SSE.
Definition: C/OgreArrayMatrix4.h:222
@ PFG_RGBA32_FLOAT
Definition: OgrePixelFormatGpu.h:51
void _setLodUsage(unsigned short level, const MeshLodUsage &usage)
Internal methods for loading LOD, do not use.
GpuSharedParameters(const String &name)
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
void unloadAll(bool reloadableOnly=true)
Unloads all resources.
Definition: OgreResourceManager.h:216
virtual StagingStallType uploadWillStall(size_t sizeBytes)
Returns true if our next call to @map() with the same parameters will stall.
static const String & getDirectionalLightExtruderVs_4_0Debug(void)
Get extruder program source for debug directional lights, compatible with vs_4_0.
Definition: OgreShadowVolumeExtrudeProgram.h:268
size_t paddedBytes
Definition: OgreNULLVaoManager.h:60
static const size_t MS_CORNERS_FRONT[4]
To call Marching Squares with a cube on its front.
Definition: OgreVolumeIsoSurface.h:60
AbstractNodeType type
Definition: OgreScriptCompiler.h:99
virtual void destroyAllBillboardChains(void)
Removes & destroys all BillboardChains from the SceneManager.
virtual void resourceGroupPrepareEnded(const String &groupName)
This event is fired when a resource group finished preparing.
Definition: OgreResourceGroupManager.h:152
StencilParams stencilParams
Stencil support.
Definition: OgreHlmsPso.h:101
const LodLevel * getLodLevel(uint16 lod)
Get the LodLevel information for a given lod.
SharedPtr()
Constructor, does not initialise the SharedPtr.
Definition: OgreSharedPtr.h:146
virtual void tangent(const Vector3 &tan)
Add a vertex tangent to the current vertex.
Real getCosTime_0_1(Real x) const
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
virtual_l2 uint32 getLightMask(void) const
Gets a mask which is bitwise 'and'ed with lights' own light masks to determine if the light should be...
Definition: OgreSceneManager.h:2558
ImageBlur2D separableBlur_Float32_A
Definition: OgreImageDownsampler.h:171
GLES2TextureBuffer(const String &baseName, GLenum target, GLuint id, GLint width, GLint height, GLint depth, GLint internalFormat, GLint format, GLint face, GLint level, Usage usage, bool softwareMipmap, bool writeGamma, uint fsaa)
Texture constructor.
void removeSceneManager(SceneManager *sceneMgr)
Remove a scene manager from the shader generator scene managers list.
#define OGRE_FREE_SIMD(ptr, category)
Free the memory allocated with either OGRE_MALLOC_SIMD or OGRE_ALLOC_T_SIMD. Category is required to ...
Definition: OgreMemoryAllocatorConfig.h:478
Marching Cubes implementation like at http://local.wasp.uwa.edu.au/~pbourke/geometry/polygonise/.
Definition: OgreVolumeIsoSurfaceMC.h:46
static TerrainGlobalOptions * getSingletonPtr(void)
Override standard Singleton retrieval.
const Real * getPssmFade(size_t shadowMapIdx) const
Returns the fade point of the last PSSM split in projection space for the given shadow map index.
BillboardChainFactory()
Definition: OgreBillboardChain.h:361
@ SlotTypeBuffer
Definition: OgreDescriptorSetUav.h:57
DescriptorSetTexture()
Definition: OgreDescriptorSetTexture.h:76
void encodeToFile(MemoryDataStreamPtr &input, const String &outFileName, CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
CSGUnionSource(const Source *a, const Source *b)
Constructor.
uint getSplitCount() const
Get the number of splits.
Definition: OgreShadowCameraSetupPSSM.h:118
virtual void _convertProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest)
Converts a uniform projection matrix to suitable for this render system.
bool operator==(const SmallVectorImpl &RHS) const
Definition: OgreMain/include/OgreSmallVector.h:586
virtual void _notifyTextureSlotChanged(const TexturePool *newPool, uint16 slice)
Vector3 getSpecular(void) const
Definition: OgreCbDrawCall.h:76
void shutdownAll(void)
Utility method to control shutdown of the managers.
Atom mAtomFullScreen
Definition: OgreGLXGLSupport.h:45
void setDatablock(HlmsDatablock *datablock)
Sets the given HLMS datablock to all SubEntities.
@ ID_ALPHA_BLEND
Definition: OgreScriptCompiler.h:757
Definition: OgreHlmsTextureManager.h:97
int event_mask
Definition: OgreX11EGLSupport.h:90
@ PT_REAL
Definition: OgreStringInterface.h:54
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:175
SharedPtr< Mesh > MeshPtr
Definition: OgrePrerequisites.h:396
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:50
virtual FileInfoListPtr findFileInfo(const String &pattern, bool recursive=true, bool dirs=false)=0
Find all files or directories matching a given pattern in this archive and get some detailed informat...
void rotate(const Radian &angle)
Adds the passed in angle to the rotation applied to this overlay.
AbsolutePixelCountLodStrategy()
Default constructor.
bool isLayerParallaxMappingEnabled() const
Whether to support parallax mapping per layer in the shader (default true).
Definition: OgreTerrainMaterialGeneratorA.h:81
virtual bool getPreferDepthTexture(void) const
virtual void setMaterial(const MaterialPtr &material)
Sets the given material. Overrides HLMS materials.
virtual v1::BillboardChain * createBillboardChain()
Create a BillboardChain, an object which you can use to render a linked chain of billboards.
virtual void resetOrientation(void)
Resets the OldNodes orientation (local axes as world axes, no rotation).
@ PBSM_BLEND_ADD
Definition: OgreHlmsPbsPrerequisites.h:83
GLuint getGLShaderHandle() const
Definition: OgreGLSLShader.h:145
@ LBX_SUBTRACT
subtract source2 from source1
Definition: OgreBlendMode.h:93
virtual void notifyDataIsReady(void)
Notifies it is safe to use the real data. Everything has been uploaded.
~CompositorPassIblSpecularDef()
virtual void loadingComplete(Resource *)
Called whenever the resource finishes loading.
Definition: OgreResource.h:100
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:81
NULLVertexArrayObject(uint32 vaoName, uint32 renderQueueId, const VertexBufferPackedVec &vertexBuffers, IndexBufferPacked *indexBuffer, OperationType opType)
Definition: OgreNULLVertexArrayObject.h:40
~ErrorDialog()
Definition: WIN32/OgreErrorDialogImp.h:52
Real getRadius(void) const
Returns the radius of the sphere.
Definition: OgreSphere.h:66
OverlayElement * createOverlayElement(const String &typeName, const String &instanceName, bool isTemplate=false)
Creates a new OverlayElement of the type requested.
GpuProgram * _getBindingDelegate(void)
Returns the GpuProgram which should be bound to the pipeline.
#define _OgreNULLExport
Definition: OgreNULLPrerequisites.h:70
@ PBSM_DETAIL0
Definition: OgreHlmsPbsPrerequisites.h:63
uint32 getPendingResidencyChanges(void) const
Returns the number of pending residency changes.
void setBorderSize(Real left, Real right, Real top, Real bottom)
Sets the size of the border separately for all borders.
@ V1_FAST
Renders v1 entities using HLMS materials with some of the new benefits, but some deprecated features ...
Definition: OgreRenderQueue.h:102
OptimizationStrategy
Definition: OgreConstBufferPool.h:82
virtual WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
The handler method every subclass must implement.
virtual void setReadable(bool readable)
Use before defining geometry to indicate that you intend to be able to read back from the geometry bu...
Definition: OgreManualObject.h:184
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
MappingState getMappingState(void) const
Returns the mapping state.
Definition: OgreBufferPacked.h:303
void destroyInstance(ParticleSystemRenderer *ptr)
Destroys an object which was created by this factory.
OGRE_MUTEX(mGpuProgramChangeMutex)
void setEmissive(Real red, Real green, Real blue)
Sets the amount of self-illumination an object has.
Definition: OgrePass.h:316
ConstMapIterator(typename T::const_iterator start, typename T::const_iterator last)
Constructor.
Definition: OgreIteratorWrapper.h:359
uint8 getNumTextureUnitsInUse(void) const
Returns the number of texture units that are actually used.
Definition: OgreHlmsUnlitMobileDatablock.h:214
virtual void setVisible(bool visible)
Hides or shows all the batches.
virtual void _setHlmsSamplerblock(uint8 texUnit, const HlmsSamplerblock *samplerblock)
@See HlmsSamplerblock.
virtual void collectLights(Camera *camera)
void setVertexDeclaration(VertexDeclaration *decl)
void destroyResourcePool(ResourcePool *pool)
Destroy a resource pool.
void bind(void)
Bind a VAO.
virtual void endGPUSampleProfile(const String &name)
void destroyAdvancedTexture(const String &sTextureName, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Calls the destroy method of all registered plugins...
Definition: OgreD3D11TextureManager.h:37
void setDestination(const SharedPtr< ControllerValue< T > > &dest)
Sets the output controller value.
Definition: OgreController.h:178
Real getTime_0_X(Real x) const
@ FFP_PRE_PROCESS
Definition: OgreShaderFFPRenderState.h:70
String doGet(const void *target) const
void loadMaterials(const String &filename, const String &groupName, HlmsJsonListener *listener, const String &additionalTextureExtension)
Opens a file containing a JSON string to load all Hlms materials from.
@ PFG_V408
Definition: OgrePixelFormatGpu.h:181
@ Parent
Definition: OgreArrayMemoryManager.h:305
GeometryIterator getGeometryIterator(void)
Get an iterator over the contained geometry.
Definition: OgreShaderPrimitives.h:68
virtual Billboard * getBillboard(unsigned int index) const
Returns a pointer to the billboard at the supplied index.
void dirty()
Mark the entire terrain as dirty.
static Real parseReal(const String &val, Real defaultValue=0)
Converts a String to a Real.
@ SPC_LIGHTPOSITION_OBJECT_SPACE6
Definition: OgreShaderParameter.h:213
@ FFP_POST_PROCESS
Definition: OgreShaderFFPRenderState.h:76
static const ArrayReal TWO_PI
Definition: OgreMathlibC.h:50
@ CB_DRAW_V1_STRIP
Definition: OgreCbCommon.h:69
virtual void unregisterThread()
Unregister an additional thread which may make calls to rendersystem-related objects.
void setNumUavUnits(uint8 numSlots)
Creates 'numSlots' number of slots before they can be set.
virtual DecodeResult decode(DataStreamPtr &input) const =0
Codes the data from the input chunk into the output chunk.
void setValue(size_t position, bool bValue)
Sets bit at 'position'.
Definition: OgreBitset.h:61
static const IdString DetailNormalSwizzle0
Definition: OgreHlmsPbsMobile.h:166
String name
Definition: OgreGpuProgramParams.h:1429
virtual void setTitle(const String &title)
static LodWorkQueueInjector & getSingleton()
size_t getMaxSize(void)
Definition: OgreStagingBuffer.h:269
@ ID_SHADOW_CASTER_FRAGMENT_PROGRAM_REF
Definition: OgreScriptCompiler.h:623
ImageBlur2D separableBlur_sRGB_XX88
Definition: OgreImageDownsampler.h:208
virtual void _setIndirectBuffer(IndirectBufferPacked *indirectBuffer)
int lessNonPod(const HlmsPso &_r) const
Definition: OgreHlmsPso.h:246
void unbind(void)
Unbind the shader in OpenGL.
virtual ~ChunkHandler(void)
Destructor.
Processes requests.
Definition: OgreLodWorkQueueWorker.h:45
virtual ~GL3PlusTextureGpu()
NodeTrackIterator getNodeTrackIterator(void) const
Get non-updateable iterator over node tracks.
Definition: OgreAnimation.h:415
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: OgreMain/include/OgreSmallVector.h:308
Codec return class for images.
Definition: OgreImageCodec2.h:55
GpuProgramParameters * getTargetParams() const
Definition: OgreGpuProgramParams.h:856
GLint isLinked(void)
Return the shader link status.
Definition: OgreGLSLESShader.h:133
VertexElement2Vec vertexElements
Definition: OgreGL3PlusVaoManager.h:102
@ RSC_ALPHA_TO_COVERAGE
Supports Alpha to Coverage (A2C)
Definition: OgreRenderSystemCapabilities.h:162
size_t mFaceCount
Definition: OgreRenderSystem.h:119
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:990
Definition: OgrePrerequisites.h:640
void initialiseResourceGroup(const String &name, bool changeLocaleTemporarily)
Initialises a resource group.
GenerateHwMipmaps()
Definition: OgreTextureFilters.h:130
bool hasSkeleton(void) const
Returns true if this Mesh has a linked Skeleton.
#define OGRE_DELETE
Definition: OgreMemoryAllocatorConfig.h:501
virtual bool isStereoEnabled(void) const
Indicates whether stereo is currently enabled for this target.
virtual void setLoadingIntervalMs(uint32 loadingIntervalMs)
Set the interval between the loading of single pages in milliseconds (ms)
static const AxisAlignedBox BOX_NULL
Definition: OgreAxisAlignedBox.h:817
static const uint16 CHUNK_VERSION
Definition: OgreTerrainGroup.h:503
virtual void setEmitted(bool emitted)
Set the indication (true/false) to indicate that the emitter is emitted by another emitter.
const TextureGpuVec & getContiguousShadowMapTex(void) const
Definition: OgreCompositorShadowNode.h:280
virtual const String & getType() const
Definition: OgreNULLVaoManager.h:58
void checkValidity(void) const
@ NUM_MAPPING_STATE
Definition: OgreBufferPacked.h:69
virtual bool isFrameFinished(uint32 frameCount)
See VaoManager::isFrameFinished.
@ SPC_BINORMAL_WORLD_SPACE
Binormal in world space.
Definition: OgreShaderParameter.h:261
virtual InternalCubemapProbe * _createCubemapProbe(SceneMemoryMgrTypes sceneType)
void setAffectParentNode(bool bAffect)
A Light must always have a Node attached to it.
bool intersects(const Sphere &s) const
Tests whether this box intersects a sphere.
Definition: OgreAxisAlignedBox.h:642
virtual bool _isDataReadyImpl(void) const
For internal use.
const String & getComputeProgramName(void) const
Gets the name of the Tessellation Hull program used by this pass.
HLMS stands for "High Level Material System".
Definition: OgreHlmsJsonCompute.h:49
@ BIND_ORIGINAL
Definition: OgreEntity.h:646
Hashed string.
Definition: OgreIdString.h:96
void setRenderQueueSubGroup(uint8 subGroup)
Sets the render queue sub group.
Definition: OgreRenderable.h:429
virtual bool isPointRenderingEnabled(void) const
Returns whether point rendering is enabled.
Definition: OgreBillboardSet.h:804
static const String & getDirectionalLightExtruderArbvp1FiniteDebug(void)
Get FINITE extruder program source for debug directional lights, compatible with arbvp1.
Definition: OgreShadowVolumeExtrudeProgram.h:312
PixelFormatGpu format
Use PFG_UNKNOWN to use same format as main target.
Definition: OgreTextureDefinition.h:108
size_t size_type
Definition: OgreMain/include/OgreSmallVector.h:169
FileInfoListPtr findFileInfo(const String &pattern, bool recursive=true, bool dirs=false)
Find all files or directories matching a given pattern in this archive and get some detailed informat...
String validateConfigOptions(void)
See RenderSystem.
@ NUM_LIGHT_TYPES
Definition: OgreLight.h:102
VertexBufferPacked * getBaseVertexBuffer(void) const
Definition: OgreVertexArrayObject.h:108
void setValue(Real value)
void updateUniformBlocks(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program object uniform blocks using data from GpuProgramParameters.
void _setTextureUnitCompareEnabled(size_t unit, bool compare)
uint32 getDepth() const
Get the depth of this box.
Definition: OgreCommon.h:877
String mSource
Definition: OgreScriptCompiler.h:568
virtual void setHidden(bool hidden)
Hide (or show) the window.
Definition: OgreRenderWindow.h:157
void setForceTransparentRenderOrder(bool bForceTransparent)
Sometimes you want to force the RenderQueue to render back to front even if the object isn't alpha bl...
static const IdString PssmFade
Definition: OgreHlms.h:865
virtual ~ProfileInstance(void)
static const IdString UvDiffuse1
Definition: OgreUnlitProperty.h:78
@ ACT_SHADOW_EXTRUSION_DISTANCE
The distance a shadow volume should be extruded when using finite extrusion programs.
Definition: OgreGpuProgramParams.h:1149
GPUVendorRule()
Definition: OgreTechnique.h:98
const Semantic & getSemantic() const
Get the semantic of this parameter.
Definition: OgreShaderParameter.h:329
uint32 calculateNumVertices(void) const
virtual bool pullOcclusionQuery(unsigned int *NumOfFragments)=0
Pulls the hardware occlusion query.
static void setIgnoreHidden(bool ignore)
Set whether filesystem enumeration will include hidden files or not.
Definition: OgreFileSystem.h:112
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 setVertexShaderProfiles(const String &vertexShaderProfiles)
Set the output vertex shader target profiles.
virtual void setCustomViewMatrix(bool enable, const Matrix4 &viewMatrix=Matrix4::IDENTITY)
Set whether to use a custom view matrix on this frustum.
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a vertex buffer.
void doSet(void *target, const String &val)
void destroyAllAsyncTextureTicket(void)
virtual ProgramWriter * create(void)
Definition: OgreShaderGLSLProgramWriter.h:140
ColourValue getColourAt(size_t _x, size_t _y, size_t _z, PixelFormatGpu pixelFormat) const
Get colour value from a certain location in the image.
static const uint32 TERRAINDERIVEDDATA_CHUNK_ID
Definition: OgreTerrain.h:290
IdString getOutputTextureName(void) const
Definition: OgreCompositorPassIblSpecularDef.h:88
virtual RenderSystemCapabilities * createRenderSystemCapabilities() const
See RenderSystem.
virtual void setTextureType(TextureTypes::TextureTypes textureType)
virtual void _bindTextureUavCS(uint32 slot, Texture *texture, ResourceAccess::ResourceAccess access, int32 mipmapLevel, int32 textureArrayIndex, PixelFormat pixelFormat)
bool _update(bool syncWithWorkerThread)
Returns true if there is no more streaming work to be done yet (if false, calls to _update could be n...
NotifyDataIsReady(TextureGpu *_textureGpu, FilterBaseArray &inOutFilters)
virtual ~Exception()
Needed for compatibility with std::exception.
Vector4 getTime_0_X_packed(Real x) const
virtual void objectDetached(MovableObject *)
MovableObject has been detached from a node.
Definition: OgreMovableObject.h:79
virtual bool getPreferDepthTexture(void) const
UnlitBlendModes getBlendMode(uint8 texType) const
void setCommonDirection(const Vector3 &vec)
Use this to specify the common direction given to billboards of type BBT_ORIENTED_COMMON.
@ RSC_GL1_5_NOVBO
Supports OpenGL version 1.5.
Definition: OgreRenderSystemCapabilities.h:251
static ArrayMaskR CompareLess(ArrayReal a, ArrayReal b)
Returns the result of "a < b".
Definition: OgreMathlibC.h:236
void swap(Vector2 &other)
Exchange the contents of this vector with another.
Definition: OgreVector2.h:93
void _notifyModified()
Tell the page that it is modified.
Definition: OgrePage.h:188
void _setTextureBlendMode(size_t stage, const LayerBlendModeEx &bm)
See RenderSystem.
Definition: OgreGLES2RenderSystem.h:294
void clip(const ConvexBody &body)
Clips the body with another body.
void setCompositorPassProvider(CompositorPassProvider *passProvider)
Sets a custom pass provider in order to implement custom passes in your nodes.
void _applyBaseKeyFrame(const KeyFrame *base)
Internal method to re-base the keyframes relative to a given keyframe.
ResponseHandler()
Definition: OgreWorkQueue.h:205
Implement a sub render state which performs hardware skinning.
Definition: OgreShaderExHardwareSkinning.h:57
bool checkExtension(const String &ext) const
Checks for the presense of an API-specific extension (eg. Vulkan, GL)
AnimationTrack(Animation *parent, unsigned short handle)
Constructor.
@ ID_CLEAR_COLOUR_REVERSE_DEPTH_AWARE
Definition: OgreScriptCompiler.h:885
RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
const HlmsBlendblock * _getBlendblock(uint16 idx) const
Gets a blendblock based on its index.
Ray getCameraToViewportRay(Real screenx, Real screeny) const
Gets a world space ray as cast from the camera through a viewport position.
vector< TerrainLayerSamplerElement >::type TerrainLayerSamplerElementList
Definition: OgreTerrainMaterialGenerator.h:99
static const size_t MinDecalRq
Definition: OgreForwardPlusBase.h:71
void unload(Archive *arch)
Unloads an archive.
GLenum sourceBlendAlpha
Definition: OgreGLES2HlmsPso.h:57
HighLevelGpuProgramFactory()
Definition: OgreHighLevelGpuProgramManager.h:49
void _setWorldMatrix(const Matrix4 &m)
See RenderSystem.
@ CpuRead
Finishes writing to & flushes all caches to VRAM so CPU can read it.
Definition: OgreResourceTransition.h:85
uint8 getLayerIndex() const
Get the index of the layer this is targeting.
Definition: OgreTerrainLayerBlendMap.h:86
@ PFG_PVRTC_RGBA2_SRGB
Definition: OgrePixelFormatGpu.h:199
Definition: OgreAPKFileSystemArchive.h:38
@ ID_GPU_VENDOR_RULE
Definition: OgreScriptCompiler.h:643
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:1902
virtual void bindBufferCS(uint16 slot, size_t offset=0, size_t sizeBytes=0)=0
Binds the texture buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
Real clearDepth
Definition: OgreRenderPassDescriptor.h:146
String doGet(const void *target) const
static D3D11_STENCIL_OP get(StencilOperation op, bool invert=false)
return a D3D11 equivalent for a Ogre StencilOperation value
virtual void copyFrom(const SubRenderState &rhs)
const D3DCAPS9 & getD3D9DeviceCaps() const
The ScriptTranslatorManager manages the lifetime and access to script translators.
Definition: OgreScriptTranslator.h:122
~D3D9GpuFragmentProgram()
const T & back() const
Definition: OgreFastArray.h:348
virtual HlmsCache preparePassHash(const Ogre::CompositorShadowNode *shadowNode, bool casterPass, bool dualParaboloid, SceneManager *sceneManager)
Called every frame by the Render Queue to cache the properties needed by this pass.
static D3D11_USAGE _getUsage(v1::HardwareBuffer::Usage usage)
ImageData2()
Definition: OgreImageCodec2.h:57
void setDisplaySkeleton(bool display)
Tells the Entity whether or not it should display it's skeleton, if it has one.
static CommandBufferExecuteFunc execute_drawV1IndexedNoBaseInstance
Definition: OgreCommandBuffer.h:94
Quaternion(const Vector3 &xaxis, const Vector3 &yaxis, const Vector3 &zaxis)
Construct a quaternion from 3 orthonormal local axes.
Definition: OgreQuaternion.h:82
@ 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:206
virtual_l2 Vector3 _getDerivedScaleUpdated(void)
Gets the scalling factor of the node as derived from all parents.
void createNewNode(BoneTransform &outTransform)
Requests memory for a new Bone (for the Array vectors & matrices) May be also be used for a new Entit...
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 windowMovedOrResized()
Notify that the window has been resized.
static void cleanupDictionary()
Cleans up the static 'msDictionary' required to reset Ogre, otherwise the containers are left with in...
bool _getAnimationTypesDirty(void) const
Are the derived animation types out of date?
Definition: OgreMesh.h:996
virtual void textureCoord(const Vector2 &uv)
Add a texture coordinate to the current vertex.
bool isLeaf() const
Is this a leaf node (no children)
static void _getBlendFlags(SceneBlendType type, SceneBlendFactor &source, SceneBlendFactor &dest)
Used to get scene blending flags from a blending type.
PlanarReflections(SceneManager *sceneManager, CompositorManager2 *compositorManager, Real maxDistance, Camera *lockCamera)
StreamSerialiser * _writePageStream(PageID pageID, PagedWorldSection *section)
Get a serialiser set up to read Page data for the given PageID.
vector< GLUniformReference >::type GLUniformReferenceList
Definition: OgreGLSLProgram.h:71
bool cas(const T &old, const T &nu)
Definition: OgreAtomicScalar.h:437
bool operator!=(IdString idString) const
Definition: OgreIdString.h:246
@ ACT_TRANSPOSE_VIEW_MATRIX
Provides transpose of view matrix.
Definition: OgreGpuProgramParams.h:933
virtual unsigned int getVSyncInterval() const
Returns the vertical sync interval.
Definition: OgreRenderWindow.h:177
virtual ~OverlayProfileSessionListener()
void nameSubMesh(const String &name, ushort index)
Gives a name to a SubMesh.
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.
Plugin instance for D3D11 Manager.
Definition: OgreD3D11Plugin.h:39
void removeAllAnimationStates(void)
Remove all animation states.
void _setTexture(uint8 texType, TextureGpu *texture, const HlmsSamplerblock *samplerblockPtr=0, uint16 sliceIdx=std::numeric_limits< uint16 >::max())
Same as setTexture, but samplerblockPtr is a raw samplerblock retrieved from HlmsManager,...
virtual 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.
HardwareVertexBufferSharedPtr(HardwareVertexBuffer *buf)
bool isTexture(void) const
Definition: OgreDescriptorSetUav.h:193
Virtual interface of the stereo driver.
Definition: OgreD3D11StereoDriverAMD.h:42
TextureGpuManager * getTextureGpuManager(void)
static PropertyType getTypeForValue(const Vector2 &val)
Definition: OgreProperty.h:163
ResourceAllocatedObject PassAlloc
Definition: OgreMemoryAllocatorConfig.h:318
@ PCF_5x5
Better and slower than 4x4, same considerations.
Definition: OgreHlmsPbs.h:74
bool operator()(const CompositorNamedBuffer &left, IdString right) const
Definition: OgreCompositorNamedBuffer.h:55
virtual void removeBillboard(Billboard *pBill)
Removes a billboard from the set.
void setFrameDelay(Real fd)
vector< SourceCode >::type SourceCodeVec
Definition: OgreHlmsDiskCache.h:143
virtual bool requiresTextureFlipping() const
Definition: OgreGLES2NullTexture.h:100
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
@ GainedResidency
OnStorage -> Resident OnSystemRam -> Resident See ReadyForRendering.
Definition: OgreTextureGpuListener.h:59
Definition: OgreSkeletonDef.h:49
@ DepthStencil
Waits until rendering to depth/stencil buffers are finished.
Definition: OgreResourceTransition.h:73
void install()
Perform the plugin initial installation sequence.
@ PF_ASTC_SRGB8A8_12X10_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 12x10)
Definition: OgrePixelFormat.h:313
void setSelfIllumination(Real red, Real green, Real blue)
Sets the amount of self-illumination of every Pass in every Technique.
ValueType getNext()
Returns the next(=current) value element in the collection, and advances to the next.
Definition: OgreIteratorWrapper.h:299
v1::Rectangle2D * getSharedFullscreenTriangle(void) const
Returns a shared fullscreen rectangle/triangle useful for PASS_QUAD passes.
Definition: OgreCompositorManager2.h:234
virtual const ColourValue & getColour(void) const
Gets the colour for this element.
TerrainPagedWorldSection(const String &name, PagedWorld *parent, SceneManager *sm)
Constructor.
@ ID_SHADOWS_ENABLED
Definition: OgreScriptCompiler.h:913
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
static Matrix3 parseMatrix3(const String &val, const Matrix3 &defaultValue=Matrix3::IDENTITY)
Parses a Matrix3 out of a String.
void addTime(Real offset)
Modifies the time position, adjusting for animation length.
@ ID_CAMERA_FAR_CORNERS_VIEW_SPACE_NORMALIZED_LH
Definition: OgreScriptCompiler.h:934
void _notifyOwner(ParticleSystem *owner)
Internal method for notifying the particle of it's owner.
virtual uint16 getDepthBufferPoolId(void) const
virtual void apply(const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)
Applies an animation track to the designated target.
const String & getName() const
Get the name of this profile.
Definition: OgreTerrainMaterialGenerator.h:182
MeshSerializerImpl(VaoManager *vaoManager)
A plane.
Definition: OgreVolumeCSGSource.h:74
bool allowsAutoMipmaps(void) const
void removeResourceLocation(const String &name, const String &resGroup=DEFAULT_RESOURCE_GROUP_NAME)
Removes a resource location from the search path.
Definition: OgreException.h:197
D3D9VideoMode(const D3D9VideoMode &ob)
Definition: OgreD3D9VideoMode.h:46
WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
WorkQueue::RequestHandler override.
unsigned int getNumSections(void) const
Retrieves the number of ManualObjectSection objects making up this ManualObject.
size_t size() const
Definition: OgreLwString.h:342
virtual ColourValue getDiffuseColour(void) const
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:1059
virtual void removeAnimation(const String &name)=0
Removes an Animation from this container.
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
See HardwareBuffer.
CompositorWorkspace(IdType id, const CompositorWorkspaceDef *definition, const CompositorChannelVec &externalRenderTargets, SceneManager *sceneManager, Camera *defaultCam, RenderSystem *renderSys, bool bEnabled, uint8 executionMask, uint8 viewportModifierMask, const Vector4 &vpOffsetScale, const UavBufferPackedVec *uavBuffers, const ResourceLayoutMap *initialLayouts, const ResourceAccessMap *initialUavAccess)
bool contains(const Vector3 &v) const
Tests whether the given point contained by this box.
Definition: OgreAxisAlignedBox.h:729
AnyNumeric operator/(const AnyNumeric &rhs) const
Definition: OgreAny.h:341
@ OT_PATCH_13_CONTROL_POINT
Definition: OgreHlmsPso.h:72
@ GCT_SAMPLERCUBE_ARRAY
Definition: OgreGpuProgramParams.h:125
Specialised AnimationTrack for dealing with node transforms.
Definition: OgreAnimationTrack.h:449
void saveGroupDefinition(const String &filename)
Save the group data only in native form to a file.
@ ID_CAMERA_FAR_CORNERS_WORLD_SPACE
Definition: OgreScriptCompiler.h:935
SceneManager * createInstance(const String &instanceName, size_t numWorkerThreads)
Create a new instance of a SceneManager.
virtual void _notifyParticleRotated(void)
Optional callback notified when particles are rotated.
Definition: OgreParticleSystemRenderer.h:80
ConfigOptionMap & getConfigOptions(void)
See RenderSystem.
Real userValue
User-supplied values used to determine on which distance the lod is applies.
Definition: OgreMesh.h:1050
virtual void _saveJson(const HlmsDatablock *datablock, String &outString, HlmsJsonListener *listener, const String &additionalTextureExtension) const
Definition: OgreHlms.h:542
RenderSystemCapabilities * loadParsedCapabilities(const String &name)
Returns a capability loaded with RenderSystemCapabilitiesManager::parseCapabilitiesFromArchive method...
const GL3PlusSupport * getGLSupport(void) const
Definition: OgreGL3PlusRenderSystem.h:484
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:526
Specialisation of ArchiveFactory for FileSystem files.
Definition: OgreFileSystem.h:128
void _setTextureLayerAnisotropy(size_t unit, unsigned int maxAnisotropy)
virtual ~Controller()
Default d-tor.
Definition: OgreController.h:164
ConstVectorRange(typename T::iterator b, typename T::iterator e)
Constructor.
Definition: OgreIteratorRange.h:200
static const IdString FwdClusteredWidthxHeight
Definition: OgreHlms.h:890
virtual void _releaseBufferCopies(bool forceFreeUnused=false)
Internal method for releasing all temporary buffers which have been allocated using BLT_AUTOMATIC_REL...
Definition: OgreHardwareBufferManager.h:521
const ControllerFunctionRealPtr & getPassthroughControllerFunction(void) const
Retrieve a simple passthrough controller function.
T & operator[](size_t idx)
Definition: OgreStackVector.h:253
void * getProcAddress(const char *procname) const
Get the address of a function.
SceneQueryMovableIntersectionList movables2movables
List of movable / movable intersections (entities, particle systems etc)
Definition: OgreSceneQuery.h:491
void doSet(void *target, const String &val)
virtual void _notifyTextureSlotChanged(const TexturePool *newPool, uint16 slice)
Abstract class defining the interface required to be implemented by classes which provide rendering c...
Definition: OgreParticleSystemRenderer.h:52
void doSet(void *target, const String &val)
HlmsDatablock * datablock
Definition: OgreHlms.h:95
IrradianceField * getIrradianceField(void)
Definition: OgreHlmsPbs.h:399
static const IdString GLVersion
Definition: OgreHlms.h:926
virtual void seek(size_t pos)=0
Repositions the read point to a specified byte.
const SmallVector & operator=(const SmallVector &RHS)
Definition: OgreMain/include/OgreSmallVector.h:759
void setSnapDeviationError(const Vector3 &relativeError)
When the probes have a different size than what they should have, but they're almost the same as mFul...
virtual void setDefaultDimensions(Real width, Real height)
Sets the default dimensions of the billboards in this set.
void copyFrom(const TextureBox &src)
Definition: OgreTextureBox.h:187
@ PFG_PVRTC2_2BPP_SRGB
Definition: OgrePixelFormatGpu.h:208
virtual void processMaterialName(Mesh *mesh, String *name)=0
Called to override the loading of the given named material.
virtual void setShadowTextureFadeEnd(Real fadeEnd)
Sets the proportional distance at which texture shadows finish to fading out.
Definition: OgreSceneManager.h:2382
iterator_range(T b, T e)
Constructor.
Definition: OgreIteratorRange.h:81
ArrayVector3 perpendicular(void) const
Generates a vector perpendicular to this vector (eg an 'up' vector).
virtual bool isConstParameter() const
Definition: OgreShaderParameter.h:594
virtual void _updateFromShadow(void)
Updates the real buffer from the shadow buffer, if required.
AnyNumeric & operator/=(const AnyNumeric &rhs)
Definition: OgreAny.h:364
uint8 padding
Definition: OgreCommon.h:159
bool isTexture(void) const
void resetBounds(const Rect &rect)
Reset the bounds of this node and all its children for the region given.
GLES2HardwarePixelBuffer(uint32 mWidth, uint32 mHeight, uint32 mDepth, PixelFormat mFormat, bool hwGamma, HardwareBuffer::Usage usage)
Should be called by HardwareBufferManager.
void setRenderQueueGroup(uint8 queueID)
Sets the render queue group this entity will be rendered through.
void _resetDynamicBuffer(void)
Definition: OgreGL3PlusStagingTexture.h:72
void setClipPlanesImpl(const Ogre::PlaneList &planeList)
Internal method used to set the underlying clip planes when needed.
virtual void releaseTmpRtt(const TextureGpu *tmpRtt)
void setDetailMapWeight(uint8 detailMap, Real weight)
Sets the weight of detail map.
void save(const String &filename) const
Saves constant definitions to a file, compatible with GpuProgram::setManualNamedConstantsFile.
Window * _initialise(bool autoCreateWindow, const String &windowTitle="OGRE Render Window")
See RenderSystem.
@ PF_FLOAT32_GR
64-bit, 2-channel floating point pixel format, 32-bit green, 32-bit red
Definition: OgrePixelFormat.h:136
virtual void _setTextures(uint32 slotStart, const DescriptorSetTexture *set, uint32 hazardousTexIdx)
virtual void applyDeltaValue(const Degree &)
Apply delta value.
Definition: OgreAnimable.h:221
A factory that enables creation of IntegratedPSSM3 instances.
Definition: OgreShaderExIntegratedPSSM3.h:198
@ ID_SRC_ALPHA
Definition: OgreScriptCompiler.h:662
virtual void _setVisible(bool visible)
Internal method to notify the window it has been obscured or minimized.
Display * getXDisplay(void)
Get the Display connection used for window management & events.
GL3+ doesn't support mapping the same buffer twice even if the regions don't overlap.
Definition: OgreGL3PlusDynamicBuffer.h:53
D3D11FrameBufferDescValue()
@ SKELETON_VERSION_1_0
OGRE version v1.0+.
Definition: OgreSkeletonSerializer.h:44
bool deleteAtomInstance(FunctionAtom *atomInstance)
Delete a function atom instance from this function.
void doSet(void *target, const String &val)
const uchar * getData() const
Returns a const pointer to the internal image buffer.
Definition: OgreD3D11HardwareIndexBuffer.h:39
virtual ~ScriptParser()
Definition: OgreScriptParser.h:50
LoadAction::LoadAction mLoadActionDepth
Definition: OgreCompositorPassDef.h:131
void setTrueTypeSize(Real ttfSize)
Sets the size of a truetype font (only required for FT_TRUETYPE).
virtual void notifyCamera(Camera *cam)
Notify a world of the current camera.
Definition: OgreWin32GLSupport.h:39
@ IM_USEALL
Definition: OgreCommon.h:376
uint8 resolveMipLevel
Definition: OgreTextureDefinition.h:59
void addPoseWeight(size_t index, float w)
bool applyTextureAliases(const AliasTextureNamePairList &aliasList, const bool apply=true) const
Applies texture names to Texture Unit State with matching texture name aliases.
static void _addRenderWindow(Window *window)
UavBufferPacked * indexBuffer
Definition: OgreVctVoxelizer.h:63
bool hasFlushPending(const Renderable *renderable) const
virtual void notifyDataIsReady(void)
Notifies it is safe to use the real data. Everything has been uploaded.
FontPtr getByName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Get a resource by name.
size_t offsetAfterPadding
Definition: OgreD3D11VaoManager.h:56
virtual void _setTexturesCS(uint32 slotStart, const DescriptorSetTexture2 *set)
bool isHidden(void) const
RenderWindow::isHidden
Definition: OgreOSXCocoaWindow.h:92
Definition: OgreDescriptorSetTexture.h:179
bool getInheritOrientation(void) const
Returns true if this node is affected by orientation applied to the parent node.
virtual_l1 SceneNode * getSceneNode(IdType id)
Retrieves a SceneNode based on it's ID from the scene graph.
bool isAttributeValid(VertexElementSemantic semantic, uint index)
Is a non-standard attribute bound in the linked code?
void setColour(const ColourValue &col)
Sets the colour of the text.
static CFComparisonResult _compareModes(const void *val1, const void *val2, void *context)
FastArray< unsigned short > IndexMap
Dedicated index map for translate blend index to bone index (only valid if useSharedVertices = false)...
Definition: OgreSubMesh.h:115
static const String & getProgramSource(Light::LightTypes lightType, const String &syntax, bool finite, bool debug)
General purpose method to get any of the program sources.
void nullDataPtr()
will null the data ptr so it wont be freed on destruction
Definition: OgreNULLBufferInterface.h:60
~MeshSerializerImpl_v1_4()
Definition: OgreNULLTextureManager.h:37
@ PCF_2x2
Standard quality. Very fast.
Definition: OgreHlmsPbs.h:64
@ INT
Definition: OgreAnimable.h:81
CubemapSide
Please note that due to ancient GPU history reasons, cubemaps are always treated as left handed.
Definition: OgreTextureGpu.h:72
size_type size() const
Definition: OgreMain/include/OgreSmallVector.h:199
SkeletonDef(const v1::Skeleton *originalSkeleton, Real frameRate)
Constructs this Skeleton based on the old format's Skeleton.
void refreshAvailableAnimationState(void)
Updates the internal animation state set to include the latest available animations from the attached...
bool isCaseSensitive(void) const
Returns whether this archive is case sensitive in the way it matches files.
virtual void stopDeflate()
Stop (un)compressing data.
void resize(size_type n, const T &t=T())
Definition: OgreCommon.h:611
bool isForcedTransparent(void) const
Definition: OgreHlmsDatablock.h:206
void _writeRawConstant(size_t physicalIndex, uint val)
Write a single unsigned integer parameter to the program.
virtual PageContent * createInstance()=0
static D3D11_MAP get(v1::HardwareBuffer::LockOptions options, v1::HardwareBuffer::Usage usage)
Get lock options.
bool isLoaded(void) const
Is this loaded?
virtual void setOctreeVisible(const bool visible)
Shows the debug visualization entity of the octree.
void initialize(BufferType bufferType, uint32 geometryFlags)
ulong totalCalls
The total number of times this profile was called (used to calculate average)
Definition: OgreProfiler.h:294
Real *RESTRICT_ALIAS mLocalRadius
@See mLocalAabb
Definition: OgreObjectData.h:65
static const ArrayVector3 ZERO
Definition: C/OgreArrayVector3.h:345
void getAsSphere(Sphere &out, size_t index) const
Definition: C/OgreArraySphere.h:74
ArrayVector3 mHalfSize
Definition: C/OgreArrayAabb.h:73
Definition: OgreTerrainPagedWorldSection.h:159
void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Copies the current contents of the render target to a pixelbox.
virtual void execute(const Camera *lodCamera)
static const ArrayVector3 UNIT_Z
Definition: C/OgreArrayVector3.h:348
ParticleEmitter * addEmitter(const String &emitterType)
Adds an emitter to this particle system.
ImageDownsampler2D downscale2x_X8
Definition: OgreImageDownsampler.h:60
Codec specialized in images loaded using FreeImage.
Definition: OgreFreeImageCodec2.h:52
const GpuProgramParameters_AutoConstantEntry * findAutoConstantEntry(const String ¶mName)
Finds an auto constant that's affecting a given named parameter index.
Real getGamma() const
Returns the gamma adjustment factor applied to this texture on loading.
Definition: OgreTextureUnitState.h:552
static PFNGLXGETVISUALFROMFBCONFIGPROC getVisualFromFBConfig
Definition: OgreGLXUtils.h:46
Singleton wrapper for hardware buffer manager.
Definition: OgreHardwareBufferManager.h:425
void merge(const Sphere &oth)
Merges another Sphere into the current sphere.
Definition: OgreSphere.h:99
@ ID_NAMED
Definition: OgreScriptCompiler.h:804
void setLodStrategyName(const String &name)
Definition: OgreMesh2.h:336
void requestSlot(uint32 hash, ConstBufferPoolUser *user, bool wantsExtraBuffer)
Requests a slot and fills 'user'. Automatically schedules for update.
virtual Window * createWindow(bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle="OGRE Render Window")
Real mMeshBoundingSphereRadius
Definition: OgreLodData.h:170
@ CMPF_LESS
Definition: OgreCommon.h:89
@ Meshes
Definition: OgreSceneFormatBase.h:64
void setUseIrradianceVolume(bool bUseIrradianceVolume)
Whether to use Irradiance Volume instead of VPLs.
void clearTexBuffers(void)
Sets all texture buffers to nullptr.
void setTextureName(const String &name, TextureTypes::TextureTypes ttype=TextureTypes::Type2D)
Sets this texture layer to use a single texture, given the name of the texture to use on this layer.
@ TEXTURE_LOCAL
We got the texture through an input channel.
Definition: OgreTextureDefinition.h:88
PixelFormat getDesiredDepthBufferFormat(void) const
const Vector4 & getCameraPositionObjectSpace(void) const
virtual void cleanupEmptyPools(void)
Frees GPU memory if there are empty, unused pools.
virtual void setDefaultDimensions(Real width, Real height)
Sets the default dimensions of the particles in this set.
void doSet(void *target, const String &val)
void addSceneManager(SceneManager *sceneMgr)
Add a scene manager to the shader generator scene managers list.
@ RSC_FBO_ARB
Support for Frame Buffer Objects ARB implementation (regular FBO is higher precedence)
Definition: OgreRenderSystemCapabilities.h:255
String language
Definition: OgreMaterialSerializer.h:50
A collection of billboards (faces which are always facing the given direction) with the same (default...
Definition: OgreBillboardSet.h:113
Definition: OgreX11EGLSupport.h:93
bool getReceiveShadows(void) const
Returns whether or not objects using this material will receive shadows.
Definition: OgreMaterial.h:181
void setGlyphTexCoords(CodePoint id, Real u1, Real v1, Real u2, Real v2, Real textureAspect)
Sets the texture coordinates of a glyph.
Definition: OgreFont.h:296
Command object for setting entry point.
Definition: OgreD3D9HLSLProgram.h:48
bool isBackgroundLoaded(void) const
Returns whether this Resource has been earmarked for background loading.
bool initialize()
Initialize the FFP builder instance.
vector< std::pair< String, String > >::type customParameters
Definition: OgreMaterialSerializer.h:57
Defines a program which runs on the GPU such as a vertex or fragment program.
Definition: OgreGpuProgram.h:68
const CompositorNodeDefMap & getNodeDefinitions(void) const
Returns a const iterator to all existing definitions.
Definition: OgreCompositorManager2.h:179
@ ACT_FPS
provides the calculated frames per second, returned as a floating point value.
Definition: OgreGpuProgramParams.h:1237
bool assign(QueuedGeometry *qsm)
Try to assign geometry to this bucket.
GLenum getGLFormat()
Definition: OgreGL3PlusHardwarePixelBuffer.h:80
Specialisation of ArchiveFactory for Zip files.
Definition: OgreZip.h:113
@ M_SUBMESH_LOD_OPERATION
Definition: OgreMeshFileFormat.h:78
void unmap(size_t ticket)
Unmaps given ticket (got from.
virtual void setMaxTimeToLive(Real max)
Sets the maximum time each particle will live for.
const BoneToSlotVec & getBoneToSlot(void) const
Definition: OgreSkeletonDef.h:201
static VertexElementSemantic get(LPCSTR sem)
@ ACT_VIEW_MATRIX
The current view matrix.
Definition: OgreGpuProgramParams.h:927
virtual void execute(const Camera *lodCamera)
vector< float >::type LodData
Definition: OgreTerrainLodManager.h:57
SceneManager * createSceneManager(SceneTypeMask typeMask, size_t numWorkerThreads, const String &instanceName=BLANKSTRING)
Create a SceneManager instance based on scene type support.
static const IdString UvDetailNm3
Definition: OgreHlmsPbs.h:521
static GLXFBConfig selectFBConfig(Display *display, const int *minAttribs, const int *maxAttribs)
Select an FBConfig given a list of required and a list of desired properties.
Scales the given volume source.
Definition: OgreVolumeCSGSource.h:362
const Matrix4 & getTextureTransform(void) const
Gets the current texture transformation matrix.
@ MESH_VERSION_LATEST
Latest version available.
Definition: OgreMesh2Serializer.h:62
void _setBoundingSphereRadius(Real radius)
Manually set the bounding radius.
@ GCT_SAMPLER2D
Definition: OgreGpuProgramParams.h:78
@ ID_POINT_SIZE_ATTENUATION
Definition: OgreScriptCompiler.h:721
virtual void _releaseTextureSlot(TextureGpu *texture, uint32 texSlot)
static const size_t MaterialSizeInGpuAligned
Definition: OgreHlmsUnlitDatablock.h:236
bool getIsAlpha(void) const
Gets whether this texture is requested to be loaded as alpha if single channel.
void dump(std::ofstream &of) const
Dump contents for diagnostics.
const GpuProgramPtr & getComputeProgram(void) const
Gets the Tessellation EHull program used by this pass, only available after _load().
float height
Definition: OgreShaderExTextureAtlasSampler.h:62
virtual void endProfileEvent(void)=0
Ends the currently active GPU profiling event.
bool isAmbientOnly(void) const
Returns whether this pass is ambient only.
void arrangeEfficient(bool halfPos, bool halfTexCoords, bool qTangents)
Converts this SubMesh to an efficient arrangement.
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).
MeshPtr load(const String &filename, const String &groupName, BufferType vertexBufferType=BT_IMMUTABLE, BufferType indexBufferType=BT_IMMUTABLE, bool vertexBufferShadowed=true, bool indexBufferShadowed=true)
Loads a mesh from a file, making it immediately available for use.
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:83
virtual void changeGroupOwnership(const String &newGroup)
Change the resource group ownership of a Resource.
const SplitPointList & getSplitBlendPoints() const
Returns the calculated split blend points.
Definition: OgreShadowCameraSetupPSSM.h:145
Definition: OgreX11EGLSupport.h:82
static PFNGLXCHOOSEFBCONFIGPROC chooseFBConfig
Definition: OgreGLXUtils.h:43
bool isStatic() const
Checks whether this MovableObject is static. @See setStatic.
HardwareBufferLockGuard(HardwareBuffer *p, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:359
Definition: OgreResourceTransition.h:122
FloatGpuParameterControllerValue(GpuProgramParametersSharedPtr params, size_t index)
Constructor.
virtual void textureCoord(Real x, Real y, Real z, Real w)
Add a texture coordinate to the current vertex.
VertexElement2VecVec getVertexDeclaration(void) const
Gets the combined vertex declaration of all the vertex buffers.
void setMaterialName(const String &name)
Definition: OgreSubMesh2.h:187
void _notifyUniformBufferDestroyed(HardwareUniformBuffer *buf)
Definition: OgreHardwareBufferManager.h:547
virtual ~GLSLProgram(void)
uint16 mShaderTypeTexCount[NumShaderTypes]
Definition: OgreDescriptorSetTexture.h:71
bool isEdgeListBuilt(void) const
Returns whether this mesh has an attached edge list.
Definition: OgreMesh.h:817
const char * begin() const
Definition: OgreLwConstString.h:105
size_t getDoubleLogicalIndexForPhysicalIndex(size_t physicalIndex)
Retrieves the logical index relating to a physical index in the double buffer, for programs which sup...
GLUniformBufferList::iterator GLUniformBufferIterator
Definition: OgreGLSLProgram.h:76
virtual void destroySceneNode(SceneNode *sn)
Destroys a SceneNode.
@ LOADSTATE_UNLOADING
Currently unloading.
Definition: OgreResource.h:127
TextureGpu * createDepthBufferFor(TextureGpu *colourTexture, bool preferDepthTexture, PixelFormatGpu depthBufferFormat, uint16 poolId)
unsigned int getMaxVertexCount() const
Get the maximum number of vertices that the buffer will hold.
Definition: OgreRenderToVertexBuffer.h:70
bool prefersDepthTexture() 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:360
void setNormals(const Ogre::Vector3 &topLeft, const Ogre::Vector3 &bottomLeft, const Ogre::Vector3 &topRight, const Ogre::Vector3 &bottomRight)
Sets the normals of the rectangle.
A factory class that can create various mesh prefabs.
Definition: OgrePrefabFactory.h:49
static Radian ATan(Real fValue)
Arc tangent function.
Definition: OgreMath.h:280
void getFriendlyText(char *outCStr, size_t stringSize) const
C String version.
Definition: OgreIdString.h:290
D3D9StereoDriverImpl()
Definition: OgreD3D9StereoDriverImpl.h:43
static const IdString Diffuse
Whether uses material's colour.
Definition: OgreUnlitProperty.h:62
void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
Definition: OgreBorderPanelOverlayElement.h:335
set< ushort >::type TrackHandleList
A list of track handles.
Definition: OgreAnimation.h:458
static size_t calculateSize(size_t mipmaps, size_t faces, uint32 width, uint32 height, uint32 depth, PixelFormat format)
Static function to calculate size in bytes from the number of mipmaps, faces and the dimensions.
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
virtual ~HlmsComputeJob()
Real maxScreenSpaceError
The maximum accepted screen space error when choosing the LOD levels to render.
Definition: OgreVolumeChunk.h:80
static const IdString DiffuseMap
Number of diffuse maps.
Definition: OgreUnlitProperty.h:71
virtual void getBottomLeftGridSpace(int32 x, int32 y, Vector2 &bl)
Get the (grid space) bottom-left of a cell.
static ArrayQuaternion Slerp(ArrayReal fT, const ArrayQuaternion &rkP, const ArrayQuaternion &rkQ)
@See Quaternion::Slerp
@ LF_ONLY_UNREFERENCED
Process only resources which are not referenced by any other object. Usefull to reduce resource consu...
Definition: OgreResource.h:142
HardwareBuffer::Usage getIndexBufferUsage(void) const
Gets the usage setting for this meshes index buffers.
Definition: OgreMesh.h:636
static const IdString ScreenPosUv
Definition: OgreHlms.h:904
Ogre::uint32 IdType
Big projects with lots, lots of units for very long periods of time (MMORPGs?) may want to define thi...
Definition: OgreId.h:36
AnimationIterator getAnimationIterator(void)
Returns a specialised MapIterator over all animations in the scene.
Definition: OgreSceneManager.h:2282
void setForward3D(bool bEnable, uint32 width, uint32 height, uint32 numSlices, uint32 lightsPerCell, float minDistance, float maxDistance)
Enables or disables the Forward3D implementation for using many non-shadowed lights in the scene.
@ SPC_BLEND_INDICES
Blending indices.
Definition: OgreShaderParameter.h:243
@ GCT_SAMPLER_WRAPPER3D
Definition: OgreGpuProgramParams.h:122
Pass * createPass(void)
Creates a new Pass for this Technique.
virtual ~StringInterface()
Virtual destructor, see Effective C++.
Definition: OgreStringInterface.h:189
static ParameterPtr createOutPosition(int index)
@ SBO_MAX
Definition: OgreBlendMode.h:259
SimpleMatrixAf4x3(ArrayReal row0, ArrayReal row1, ArrayReal row2)
Definition: NEON/Single/OgreArrayMatrixAf4x3.h:197
const Vector3 getCenterLeft(void) const
Gets the center of the corners 0, 3, 4, 6.
Definition: OgreVolumeOctreeNode.h:310
Ray()
Definition: OgreRay.h:51
void setManualValue(const Vector2 &value)
Abstract class defining the interface to be implemented by particle emitters.
Definition: OgreParticleEmitter.h:72
Real getVerticalTexelOffset(void)
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this r...
Definition: OgreGL3PlusRenderSystem.h:449
Base definition of a hardware buffer manager.
Definition: OgreHardwareBufferManager.h:116
IdString const * uvSource
Definition: OgreUnlitProperty.h:133
void setSampleDescription(SampleDescription desc)
@ ID_MIPMAP_BIAS
Definition: OgreScriptCompiler.h:752
bool operator==(const VectorRange &rhs) const
comparison operator for equality
Definition: OgreIteratorRange.h:162
const String & getDescription() const
Get the description of the property.
Definition: OgreProperty.h:198
void setVSyncEnabled(bool vsync)
Enable or disable vertical sync for the RenderWindow.
virtual bool getInheritScale(void) const
Returns true if this OldNode is affected by scaling factors applied to the parent OldNode.
CompositorPassDepthCopy(const CompositorPassDepthCopyDef *definition, const RenderTargetViewDef *rtv, CompositorNode *parentNode)
uint32 getVSyncInterval(void) const
uint32 back
Definition: OgreCommon.h:818
void setCenter(const Vector3 ¢er)
Sets the center point of the sphere.
Definition: OgreSphere.h:75
@ SPC_LIGHTPOSITIONVIEW_SPACE0
Light position in view space index 0-7.
Definition: OgreShaderParameter.h:227
Command object for specifying UV coordinates (see ParamCommand).
Definition: OgrePanelOverlayElement.h:129
SharedPtr< LodCollapser > LodCollapserPtr
Definition: OgreLodPrerequisites.h:65
float mDetailWeight[4]
Definition: OgrePbsMobileShaderCreationData.h:62
virtual void nodeDetached(const Node *)
Node has been detached from a parent.
Definition: OgreNode.h:97
void setDiffuse(const ColourValue &diffuse)
Sets the diffuse colour reflectance properties of every Pass in every Technique.
D3D9VideoMode()
Definition: OgreD3D9VideoMode.h:45
bool isVisible() const
Indicates whether the window is visible (not minimized or obscured)
Archive * load(const String &filename, const String &archiveType, bool readOnly)
Opens an archive for file reading.
bool resourceLocationExists(const String &name, const String &resGroup=DEFAULT_RESOURCE_GROUP_NAME)
Verify if a resource location exists for the given group.
void _dereferenceSharedDepthBuffer(TextureGpu *depthBuffer)
Releases the reference count on a shared depth buffer.
@ 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:130
virtual void entriesModified(uint32 entryTypes)
Call this when you're done modified mColour.
String doGet(const void *target) const
ushort getBoneCount()
Returns the number of bones in the model assigned to the material.
virtual void load(bool backgroundThread=false)
Loads the resource, if it is not already.
EdgeData * edgeData
Edge list for this LOD level (may be derived from manual mesh).
Definition: OgreMesh.h:1065
LwString & operator+=(const LwString &other)
Definition: OgreLwString.h:194
T & front()
Definition: OgreFastArray.h:354
virtual StagingBuffer * createStagingBuffer(size_t sizeBytes, bool forUpload)
Creates a new staging buffer and adds it to the pool.
const Matrix4 & getViewProjectionMatrix(void) const
void _updateCompiledBoneAssignments(void)
Internal method, be called once to update the compiled bone assignments.
Matrix4 concatenateAffine(const Matrix4 &m2) const
Concatenate two affine matrices.
Definition: OgreMatrix4.h:622
void destroySection(const String &name)
Destroy a section of world.
VectorSet< Triangle *, 7 > VTriangles
Definition: OgreLodData.h:65
~VertexCacheProfiler()
Definition: OgreVertexIndexData.h:339
void setQuality(RdmQuality quality)
Sets the quality of the reconstruction filter for half resolution rendering.
Vector3 getPosition(void) const
Gets the position of the node relative to its parent.
@ RequiresTextureFlipping
Definition: OgreTextureGpu.h:128
static Matrix4 buildReflectionMatrix(const Plane &p)
Build a reflection matrix for the passed in plane.
bool empty() const
informs if there are any elements in the range
Definition: OgreIteratorRange.h:90
BillboardSetFactory()
Definition: OgreBillboardSet.h:844
virtual ~ResourceGroupListener()
Matrix4(const Real *arr)
Definition: OgreMatrix4.h:126
float mCameraFar
Definition: OgreIrradianceField.h:55
void setTextureBufferDefaultSize(size_t defaultSize)
Changes the default suggested size for the texture buffer.
void _enableAnimation(SkeletonAnimation *animation)
Internal use. Enables given animation. Input should belong to us and not already animated.
Degree(const Radian &r)
Definition: OgreMath.h:101
LodConfig(v1::MeshPtr &_mesh, LodStrategy *_strategy=DistanceLodStrategy::getSingletonPtr())
Info about Lod levels.
Plugin instance for GL3Plus Manager.
Definition: OgreGL3PlusPlugin.h:39
ThreadHandle(size_t threadIdx, void *userParam)
CreateCompositorScriptCompilerEvent(const String &file, const String &name, const String &resourceGroup)
Definition: OgreScriptCompiler.h:605
GLint mOffset
GL offset (only used for atomic counters)
Definition: OgreGLSLProgram.h:64
Definition: OgreGLES2VaoManager.h:51
IdString mCameraName
When empty, uses the default camera.
Definition: OgreCompositorPassSceneDef.h:82
CompositorNodeDef * getNodeDefinitionNonConst(IdString nodeDefName) const
@See getNodeDefinition.
vector< HardwareAnimationData >::type HardwareAnimationDataList
Definition: OgreVertexIndexData.h:100
virtual VertexElementList findElementsBySource(unsigned short source) const
Based on the current elements, gets the size of the vertex for a given buffer source.
void unload(DynLib *lib)
Unloads the passed library.
@ ID_API_DEFAULT
Definition: OgreScriptCompiler.h:990
const TextureSources & getTextureSources(void) const
Definition: OgreCompositorPassComputeDef.h:139
uint16 textureArrayIndex
Definition: OgreDescriptorSetTexture.h:185
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...
static String FACTORY_NAME
Definition: OgreSimplePageContentCollection.h:114
GLES2HardwareBufferManagerBase as a Singleton.
Definition: OgreGLES2HardwareBufferManager.h:72
GL3Plus-specific implementation of a TextureManager.
Definition: OgreGL3PlusTextureManager.h:45
D3D11HLSLProgramFactory(D3D11Device &device)
GL3PlusRenderTexture(const String &name, const GL3PlusSurfaceDesc &target, bool writeGamma, uint fsaa)
void setLightVisibilityMask(uint32 visibilityMask)
Definition: OgreCompositorPassSceneDef.h:224
@ SharedDepthBuffer
TextureFlags::PoolOwner is set.
Definition: OgreTextureGpu.h:169
Shadow Nodes are special nodes (not to be confused with.
Definition: OgreCompositorShadowNode.h:91
bool error
Whether an error occurred.
Definition: OgreResourceBackgroundQueue.h:54
A simple structure designed just as a holder of property values between the instances of objects they...
Definition: OgreProperty.h:263
virtual void setVSyncInterval(unsigned int interval)
Set the vertical sync interval.
Definition: OgreRenderWindow.h:172
static const IdString GlobalClipPlanes
Definition: OgreHlms.h:857
virtual int32 getCellRangeMaxY() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid2DPageStrategy.h:194
D3D11StereoDriverNVIDIA()
This class simplify initialization / finalization of the overlay system.
Definition: OgreOverlaySystem.h:62
virtual TagPoint * createChildTagPoint(const Vector3 &vPos=Vector3::ZERO, const Quaternion &qRot=Quaternion::IDENTITY)
virtual String getErrorDescription(long errorNumber) const
Returns a description of an error code.
@ SPC_BINORMAL_OBJECT_SPACE
Binormal in object space.
Definition: OgreShaderParameter.h:258
virtual void destroyInstance(SceneManager *instance)=0
Destroy an instance of a SceneManager.
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.
virtual const Matrix4 & getProjectionMatrixWithRSDepth(void) const
Gets the depth-adjusted projection matrix for the current rendersystem, but one which still conforms ...
void setSceneNodeAsParentOfBone(Bone *bone, SceneNode *nodeParent)
Sets a regular SceneNode to be parent of this Bone for manually controlling a bone (e....
void advancePack(size_t numAdvance)
Definition: OgreObjectData.h:160
uint16 getMaxNonCasterDirectionalLights(void) const
Definition: OgreHlms.h:507
virtual void updatePassIterationUniforms(GpuProgramParametersSharedPtr params)=0
Updates program object uniforms using data from pass iteration GpuProgramParameters.
static const Vector2 NEGATIVE_UNIT_X
Definition: OgreVector2.h:587
ConstVectorIterator< GPUVendorRuleList > GPUVendorRuleIterator
Definition: OgreTechnique.h:486
virtual ColourValue getEmissiveColour(void) const
uint32 ArrayInt
Definition: OgreArrayConfig.h:164
bool execute(ObjectData objData, size_t numNodes, SceneQueryListener *listener)
void nameSubMesh(const String &name, ushort index)
Gives a name to a SubMesh.
virtual void parseScript(DataStreamPtr &stream, const String &groupName)
Parse a script file.
vector< EdgeGroup >::type EdgeGroupList
Definition: OgreEdgeListBuilder.h:121
static D3D11VendorExtension * initializeExtension(GPUVendor preferredVendor, IDXGIAdapter *adapter)
virtual void getRenderOperation(RenderOperation &op, bool casterPass)
Gets the render operation required to send this object to the frame buffer.
GLSLShader * getVertexShader() const
Definition: OgreGLSLProgram.h:136
virtual void _setMaterialName(const String &matName, const String &resourceGroup)=0
Sets the material this renderer must use; called by ParticleSystem.
GpuProgram * _getBindingDelegate(void)
Since GLSL has no assembly, use this shader for binding.
Definition: OgreGLSLShader.h:213
@ ID_CAMERA_CUBEMAP_REORIENT
Definition: OgreScriptCompiler.h:917
virtual SceneManager * createInstance(const String &instanceName, size_t numWorkerThreads)=0
Create a new instance of a SceneManager.
virtual void setFsaaResolveDirty(void)
Depth buffers never resolve; only colour buffers do.
Definition: OgreGLES2DepthTexture.h:112
Real getTime_0_1(Real x) const
GL3PlusRenderPassDescriptor(GL3PlusRenderSystem *renderSystem)
virtual int32 getCellRangeMaxX() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid2DPageStrategy.h:192
virtual void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
static String Type
Definition: OgreShaderExHardwareSkinning.h:145
virtual void copyFromTemplate(OverlayElement *templateOverlay)
virtual void tangent(Real x, Real y, Real z)
Add a vertex tangent to the current vertex.
D3D9Texture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
constructor
virtual BufferPackedTypes getBufferPackedType(void) const
Useful to query which one is the derived class.
Definition: OgreIndirectBufferPacked.h:49
void setNamedConstant(const String &name, const Vector2 &vec)
Sets a Vector2 parameter to the program.
static String TargetLanguage
Definition: OgreShaderHLSLProgramProcessor.h:71
@ ID_ALPHA
Definition: OgreScriptCompiler.h:733
void setDefaultLayerTextureWorldSize(Real sz)
Set the default world size for a layer 'splat' texture to cover.
Definition: OgreTerrain.h:2064
virtual void writeSourceCode(std::ostream &os, const String &targetLanguage) const
ushort getBoneCount()
Returns the number of bones in the model assigned to the material.
bool operator!=(const HlmsPassPso &_r) const
Definition: OgreHlmsPso.h:129
virtual ~CompositorWorkspace()
void removeAllPasses(void)
Removes all Passes from this Technique.
virtual void removeAllListeners(void)
Removes all listeners from this instance.
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
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.
virtual OperationType getInputOperationType(void) const
Returns the operation type that this geometry program expects to receive as input.
Definition: OgreGLSLShader.h:110
size_t getHeight(void) const
Gets the height of the texture.
virtual void _notifyAttached(Node *parent)
Internal method called to notify the object that it has been attached to a node.
Holds a solid representation of a convex body.
Definition: OgreConvexBody.h:53
Definition: OgreIrradianceField.h:61
BillboardOrigin getBillboardOrigin(void) const
Gets the point which acts as the origin point for all billboards in this set.
Definition: OgreBillboardParticleRenderer.h:149
virtual Real getMaxParticleVelocity(void) const
Returns the maximum particle velocity.
@ OT_PATCH_8_CONTROL_POINT
Definition: OgreHlmsPso.h:67
void addFactory(ProgramWriterFactory *factory)
Add a new factory object for high-level programs of a given language.
PagedWorld * getWorld(const String &name)
Get a named world.
vector< StrideChanger >::type StrideChangerVec
Definition: OgreGLES2VaoManager.h:81
@ SBO_MIN
Definition: OgreBlendMode.h:258
virtual Real getFogDensity(void) const
Returns the fog density for the scene.
VTriangles triangles
Definition: OgreLodData.h:108
ConstNodeVecIterator getChildIterator(void) const
Retrieves an iterator for efficiently looping through all children of this node.
Real mVplThreshold
If all three components of the diffuse colour of a VPL light is below this threshold,...
Definition: OgreInstantRadiosity.h:210
virtual void applyDeltaValue(Real)
Set value.
Definition: OgreAnimable.h:197
unordered_set< VertexArrayObject * >::type VertexArrayObjectSet
Definition: OgreVaoManager.h:43
virtual Window * createWindow(bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle)=0
const KfTransform * getBindPose(void) const
Definition: OgreSkeletonDef.h:149
HardwareBufferLockGuard(HardwareBuffer *p, size_t offset, size_t length, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:362
String getTopBorderUVString() const
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, TextureUnitState *texState, SGScriptTranslator *translator)
VertexBufferBinding * vertexBufferBinding
The vertex buffer bindings to be used.
Definition: OgreVertexIndexData.h:85
RenderPassStencilTarget()
virtual ~HlmsTextureManager()
BySkeletonDef(const SkeletonDef *skeletonDef, size_t threadCount)
@ ID_DEST_COLOUR
Definition: OgreScriptCompiler.h:657
@ PFG_R16_SINT
Definition: OgrePixelFormatGpu.h:105
const char * what() const
Override std::exception::what.
Definition: OgreException.h:174
void postExtraThreadsStarted()
uint8 readMask
Definition: OgreCommon.h:157
Matrix3 Inverse(Real fTolerance=1e-06) const
const String & getLanguage(void) const
Get the name of the language this factory creates programs for.
Real getValue(const MovableObject *movableObject, const Camera *camera) const
Compute the LOD value for a given movable object relative to a given camera.
const Radian & getSpotlightOuterAngle(void) const
Returns the angle covered by the spotlights outer cone.
Definition: OgreLight.h:318
size_t index
Definition: OgreSkeletonDef.h:50
void setDebugPssmSplits(bool bDebug)
void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
FilterTypes
Definition: OgreTextureFilters.h:54
ushort allocateHardwareAnimationElements(ushort count, bool animateNormals)
Allocate elements to serve a holder of morph / pose target data for hardware morphing / pose blending...
virtual ~PSSMShadowCameraSetup()
const SubItem * getSubItem(size_t index) const
virtual void beginProfileEvent(const String &eventName)
This marks the beginning of an event for GPU profiling.
const Vector3 & getDerivedPosition(void) const
Gets the derived position of the camera, including any translation inherited from a node attachment a...
void _setVisibilityMask(uint32 mask, uint32 lightMask)
Sets a per-viewport visibility mask.
@ ClearOnTilers
On tilers, will clear the subregion.
Definition: OgreRenderPassDescriptor.h:79
GL3PlusTextureGpuManager(VaoManager *vaoManager, RenderSystem *renderSystem, const GL3PlusSupport &support)
BoneAssignmentIterator getBoneAssignmentIterator(void)
Gets an iterator for access all bone assignments.
virtual void setCurrent()
See GL3PlusContext.
Codec return class for images.
Definition: OgreImageCodec.h:54
bool hasShadowNodeDefinition(IdString nodeDefName) const
Returns true if a shadow node definition with the given name exists.
RenderSystem * getRenderSystem(void) const
Definition: OgreCompositorNode.h:164
void doSet(void *target, const String &val)
void XRRFreeScreenConfigInfo(XRRScreenConfiguration *config)
void setTextureScroll(Real u, Real v)
Sets the translation offset of the texture, ie scrolls the texture.
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
See HardwareBuffer.
void insert(iterator pos, size_type n, const T &x)
Definition: OgreCommon.h:586
virtual unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
Definition: OgreGL3PlusSupport.h:136
virtual void _executeSerial(TextureGpu *texture)
Gets executed after the TextureGpu is fully resident and fully loaded.
GpuProgramPtr geometryShader
Definition: OgreHlmsPso.h:178
size_t getUavBufferMaxSize(void) const
Definition: OgreVaoManager.h:415
virtual void renderQueueStarted(RenderQueue *rq, uint8 queueGroupId, const String &invocation, bool &skipThisInvocation)
VectorIterator< SubMeshList > SubMeshIterator
Definition: OgreMesh.h:283
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:102
RenderStateList::iterator RenderStateIterator
Definition: OgreShaderRenderState.h:130
void _addRenderSystemCapabilities(const String &name, RenderSystemCapabilities *caps)
Method used by RenderSystemCapabilitiesSerializer::parseScript.
virtual void removeAnimation(const String &name)
Removes an Animation from this skeleton.
void setVariable(const String &name, const String &value)
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware index buffer.
Definition: OgreHardwareBufferManager.h:444
virtual bool isStaticBufferLockable() const
Definition: OgreD3D9RenderSystem.h:350
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
const HlmsBlendblock * getBlendblock(bool casterBlock=false) const
Definition: OgreHlmsDatablock.h:387
void _setSurfaceParams(const ColourValue &ambient, const ColourValue &diffuse, const ColourValue &specular, const ColourValue &emissive, Real shininess, TrackVertexColourType tracking)
See RenderSystem.
Definition: OgreGL3PlusRenderSystem.h:301
@ SPC_POSITION_PROJECTIVE_SPACE
Position in projective space.
Definition: OgreShaderParameter.h:90
void reposition(int left, int top)
Reposition the window.
const char * lexemePtr
This is the lexeme for this token, points into ScriptLexer::lexemeStorage.
Definition: OgreScriptLexer.h:69
const Matrix4 & _getFullLocalTransform(void) const
Gets the transform of this node just for the skeleton (not entity)
bool formatNeedsReinterpret(void) const
vector< RenderWindowDescription >::type RenderWindowDescriptionList
Render window creation parameters container.
Definition: OgreRenderSystem.h:87
static FORCEINLINE 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:180
Quaternion getRotationTo(const Vector3 &dest, const Vector3 &fallbackAxis=Vector3::ZERO) const
Gets the shortest arc quaternion to rotate this vector to the destination vector.
Definition: OgreVector3.h:669
static const IdString BlendModeIdx15
Definition: OgreHlmsUnlitMobile.h:140
Definition: OgreCompositorPassUavDef.h:77
float4x3()
Definition: OgreShaderPrimitives.h:107
void getTerrainVector(Real x, Real y, Real z, Vector3 *outVec) const
Translate a vector from world space to local terrain space based on the alignment options.
intptr_t _findfirst(const char *pattern, struct _finddata_t *data)
virtual void setCellRangeMinX(int32 minX)
Set the index range of all cells (values outside this will be ignored)
virtual bool requiresTextureFlipping(void) const
Definition: OgreD3D11DepthTexture.h:116
EGLConfig * getConfigs(EGLint *nElements)
D3D11RenderWindowSwapChainBased(D3D11Device &device)
A factory that enables creation of PerPixelLighting instances.
Definition: OgreShaderExPerPixelLighting.h:267
static int IAbs(int iValue)
Definition: OgreMath.h:241
vector< uint >::type UnsignedIntConstantList
Definition of container that holds the current uint constants.
Definition: OgreGpuProgramParams.h:611
const Matrix4 & getTextureWorldViewProjMatrix(size_t index) const
StrideChanger(size_t _offsetAfterPadding, size_t _paddedBytes)
Definition: OgreGLES2VaoManager.h:63
@ SPC_LIGHTDIRECTION_TANGENT_SPACE2
Definition: OgreShaderParameter.h:199
T y
Definition: OgreShaderPrimitives.h:43
@ ID_SCALE_X
Definition: OgreScriptCompiler.h:792
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: OgreGLSLProgram.h:72
ArrayQuaternion UnitInverse(void) const
bool getFogOverride(void) const
Returns true if this pass is to override the scene fog settings.
virtual bool isWriteable() const
Reports whether this stream is writeable.
Definition: OgreDataStream.h:208
virtual void getCustomAttribute(IdString name, void *pData)
@ VES_POSITION
Position, 3 reals per vertex.
Definition: OgreVertexElements.h:41
@ ACT_LIGHT_POSITION
A light position in world space (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:1051
static ControllerManager * getSingletonPtr(void)
Override standard Singleton retrieval.
void setName(const Ogre::String &name)
Sets an user defined name that can serve to identify this section.
virtual void _setUavCS(uint32 slotStart, const DescriptorSetUav *set)
virtual LoadingState getLoadingState() const
Returns the current loading state.
Definition: OgreResource.h:371
@ SPC_POSTOLIGHT_TANGENT_SPACE2
Definition: OgreShaderParameter.h:159
virtual void execute(void)=0
void _setPointSpritesEnabled(bool enabled)
See RenderSystem.
Definition: OgreGLES2RenderSystem.h:281
virtual String getType(void) const
Returns the type of the codec as a String.
virtual bool _unprepareProceduralPage(Page *page, PagedWorldSection *section)
Give a manager the opportunity to unprepare page content procedurally.
void setCubemapInput(const String &textureName)
@ TVC_NONE
Definition: OgreCommon.h:304
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.
@ ID_SHADOW_CASTER_VERTEX_PROGRAM_REF
Definition: OgreScriptCompiler.h:622
virtual void _fireLoadingComplete(bool wasBackgroundLoaded)
Firing of loading complete event.
uint32 suggestFiltersForType(PbsTextureTypes type) const
Definition: OgreSharedPtr.h:72
uint32 mNumSpreadIterations
Definition: OgreInstantRadiosity.h:159
void setSkirtSize(Real skirtSz)
method - the default size of 'skirts' used to hide terrain cracks (default 10)
Definition: OgreTerrain.h:1949
D3D11HardwarePixelBuffer(D3D11Texture *parentTexture, D3D11Device &device, UINT mipLevel, size_t width, size_t height, size_t depth, UINT face, PixelFormat format, uint fsaa, const String &fsaaHint, HardwareBuffer::Usage usage)
Definition: OgreLog.h:108
@ LB_BlendSaturation
Definition: OgreShaderExLayeredBlending.h:76
virtual void _hlmsMacroblockCreated(HlmsMacroblock *newBlock)
DualQuaternion()
Default constructor, initializes to identity rotation (aka 0°), and zero translation (0,...
Definition: OgreDualQuaternion.h:51
virtual void prepareImpl(void)
vector< DualCell >::type VecDualCell
To hold dual cells.
Definition: OgreVolumeDualGridGenerator.h:61
SkeletonInstance * mOwner
Definition: OgreSkeletonAnimation.h:66
virtual void _setTextureUnitSettings(size_t texUnit, TextureUnitState &tl)
Utility function for setting all the properties of a texture unit at once.
void setLightProfilesTexture(TextureGpu *lightProfilesTex)
const Vector3 & getLocalCentre() const
Get the local centre of this node, relative to parent terrain centre.
Definition: OgreTerrainQuadTreeNode.h:234
bool supportsArbBufferStorage(void) const
Definition: OgreGL3PlusVaoManager.h:265
void clearBoneAssignments(void)
Removes all bone assignments for this mesh.
uint8 mIrradianceResolution
Square resolution of a single probe, irradiance e.g.
Definition: OgreIrradianceField.h:74
Codec specialized in loading ETC (Ericsson Texture Compression) images.
Definition: OgreETCCodec.h:47
static FFPRenderStateBuilder * getSingletonPtr()
Override standard Singleton retrieval.
@ ID_MAX
Definition: OgreScriptCompiler.h:669
ManualObjectFactory()
Definition: OgreManualObject.h:537
@ CookTorrance
Implements Cook-Torrance BRDF.
Definition: OgreHlmsPbsDatablock.h:82
uint16 getResolutionAtLod(uint16 lodLevel) const
Gets the resolution of the entire terrain (down one edge) at a given LOD level.
@ PF_R32G32B32_SINT
96-bit pixel format, 32 bits red (signed int), 32 bits blue (signed int), 32 bits green (signed int).
Definition: OgrePixelFormat.h:204
@ TFO_ANISOTROPIC
Equal to: min=FO_ANISOTROPIC, max=FO_ANISOTROPIC, mip=FO_LINEAR.
Definition: OgreCommon.h:202
void * ErrorData
User-specific storage, passed to Error()
Definition: OgreGLSLPreprocessor.h:538
Listener allowing you to override certain behaviour of a track, for example to drive animation proced...
Definition: OgreAnimationTrack.h:133
ConstBufferPacked * materialBuffer
Definition: OgreVctVoxelizer.h:61
virtual BackgroundProcessTicket prepareResourceGroup(const String &name, Listener *listener=0)
Prepares a resource group in the background.
Real getLeft(void) const
Gets the left of this element in relation to the screen (where 0 = far left, 1.0 = far right)
IrradianceField(Root *root, SceneManager *sceneManager)
static const IdString VctAmbientSphere
Definition: OgreHlmsPbs.h:559
void sync(void)
When calling this function, it will block until all N threads reach this point; where N is the thread...
@ ID_SHADOW_MAP_FULL_VIEWPORT
Definition: OgreScriptCompiler.h:901
static const IdString AmbientShMonochrome
Definition: OgreHlmsPbs.h:541
const T & front() const
Definition: OgreFastArray.h:360
void setAsARGB(const ARGB val)
Sets colour as ARGB.
Definition: OgreScriptTranslator.h:137
virtual void _descriptorSetUavDestroyed(DescriptorSetUav *set)
Definition: OgreRenderSystem.h:843
Definition: OgreLodCollapseCostQuadric.h:43
const String & getName() const
Get the name of this parameter.
Definition: OgreShaderParameter.h:323
TextureGpu * createTextureGpuWindow(MetalWindow *window)
Creates a special MetalTextureGpuWindow pointer, to be used by Ogre::Window.
Definition: OgreMesh2SerializerImpl.h:202
static const uint8 G_MASK
Definition: OgreHlmsUnlitDatablock.h:63
void Define(const char *iMacroName, size_t iMacroNameLen, const char *iMacroValue, size_t iMacroValueLen)
Define a macro without parameters.
virtual Real getShadowFarDistance(void) const
Gets the default maximum distance away from the camera that shadows will be visible.
Definition: OgreSceneManager.h:2342
int getViewportHeight(void) const
Gets the height of the destination viewport in pixels.
ImageFlags
Definition: OgreImage.h:44
bool isVertexCompressionSupported() const
Compressed vertex format supported?
TerrainMaterialGenerator()
@ PROP_STRING
Definition: OgreProperty.h:113
void setSelfIllumination(const ColourValue &selfIllum)
Sets the amount of self-illumination an object has.
void SingularValueComposition(const Matrix3 &rkL, const Vector3 &rkS, const Matrix3 &rkR)
uint32 width
Definition: OgreTextureDefinition.h:101
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:263
void setMetricsRecordingEnabled(bool bEnable)
uint4(const Vector2 &valXY, const Vector2 &valZW)
Definition: OgreShaderPrimitives.h:83
void setComputeProgram(const String &name, bool resetParams=true)
Sets the details of the compute program to use.
ProfileInstance * parent
The name of the parent, null if root.
Definition: OgreProfiler.h:334
vector< GpuProgramParameters_AutoConstantEntry >::type AutoConstantList
Definition: OgreGpuProgramParams.h:1447
static GLSLESLinkProgramManager & getSingleton(void)
D3D9GpuVertexProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
void loadFromResourceSystem(const String &filename, const String &resourceGroup, const String &separators="\t:=", bool trimWhitespace=true)
load from a filename (using resource group locations)
uint8 writeMask
Definition: OgreCommon.h:158
void renderProbes(uint32 probesPerFrame)
void suppressHardwareUpdate(bool suppress)
Pass true to suppress hardware upload of shadow buffer changes.
Definition: OgreHardwareBuffer.h:344
TRect intersect(const TRect &rhs) const
Definition: OgreCommon.h:765
T operator++(void)
Definition: OgreAtomicObject.h:83
virtual void setBillboardOrigin(BillboardOrigin origin)
Sets the point which acts as the origin point for all billboards in this set.
@ SPC_POSTOLIGHT_VIEW_SPACE6
Definition: OgreShaderParameter.h:153
@ PFG_R8G8_B8G8_UNORM
D3D11 only.
Definition: OgrePixelFormatGpu.h:118
@ HLMS_MAX
Definition: OgreHlmsCommon.h:188
virtual Real _getRelativeWidth(void)
Gets the 'width' as derived from own width and metrics mode.
virtual Animation * createAnimation(const String &name, Real length)=0
Create a new animation with a given length owned by this container.
@ MIP_DEFAULT
Use TextureManager default.
Definition: OgreTexture.h:111
virtual Grid2DMode getMode() const
Set the grid alignment mode.
Definition: OgreGrid2DPageStrategy.h:154
virtual void _render(const CbDrawCallIndexed *cmd)
Renders the VAO. Assumes _setVertexArrayObject has already been called.
vector< VertexBoneAssignment >::type VertexBoneAssignmentVec
Definition: OgreSubMesh2.h:66
virtual void _getBoneMatrices(Matrix4 *pMatrices)
Populates the passed in array with the bone matrices based on the current position.
@ ID_COMPUTE_PROGRAM_REF
Definition: OgreScriptCompiler.h:1031
virtual GpuProgramPtr createProgram(const String &name, const String &groupName, const String &filename, GpuProgramType gptype, const String &syntaxCode)
Create a new, unloaded GpuProgram from a file of assembly.
@ FO_ANISOTROPIC
Similar to FO_LINEAR, but compensates for the angle of the texture plane.
Definition: OgreCommon.h:224
virtual void _initAnimationState(AnimationStateSet *animSet)
Initialise an animation set suitable for use with this skeleton.
size_t getBytesPerRow(uint8 mipLevel) const
C++ encapsulation of GLSL program object.
Definition: OgreGLSLProgram.h:84
CompositorPassTranslator()
virtual void save(StreamSerialiser &stream)
Save page data to a serialiser.
void advanceBoundsPack()
Advances all pointers needed by MovableObject::updateAllBounds to the next pack, i....
Definition: OgreObjectData.h:179
virtual const String & getMovableType(void) const
Returns the type name of this object.
static const IdString Forward3D
Definition: OgreHlms.h:900
struct Ogre::Volume::ChunkParameters ChunkParameters
Parameters for loading the volume.
bool seam
Definition: OgreLodData.h:111
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.
static const IdString FwdClusteredWidth
Definition: OgreHlms.h:891
void _firstUpload(void *data)
Only use this function for the first upload.
void connectExternal(uint32 externalIdx, IdString inNode, uint32 inChannel)
Connects the (probably "final") node by passing the RenderWindow in the given input channel.
static CommandBufferExecuteFunc execute_setTexture
Definition: OgreCommandBuffer.h:89
OldNodeAnimationTrack * _clone(Animation *newParent) const
Clone this track (internal use only)
virtual const String & getType() const
bool validateDevice(bool forceDeviceElection=false)
Some render systems have moments when GPU device is temporarily unavailable, for example when D3D11 d...
@ BBO_BOTTOM_CENTER
Definition: OgreBillboardSet.h:65
uint8 mAllowGlobalDefaults
When zero, HlmsManager cannot override the block's values with enforced global settings.
Definition: OgreHlmsDatablock.h:68
void _setTextureCoordCalculation(size_t unit, TexCoordCalcMethod m, const Frustum *frustum=0)
Sets a method for automatically calculating texture coordinates for a stage.
Definition: OgreCompositorPassQuadDef.h:49
virtual const String & getMovableType(void) const
Returns the type name of this object.
static const int DepthShiftTransp
Definition: OgreRenderQueue.h:309
uint32 getWidth(void) const
virtual void _setCurrentDeviceFromTexture(TextureGpu *texture)=0
Because Ogre doesn't (yet) have the notion of a 'device' or 'GL context', this function lets Ogre kno...
bool cameraMatches(const Camera *camera)
Returns true if the Camera settings (position, orientation, aspect ratio, etc) match with the reflect...
MetalNullTexture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, MetalDevice *device)
constructor
@ PFG_BC6H_UF16
BC6H format (unsigned 16 bit float)
Definition: OgrePixelFormatGpu.h:156
void * getProcAddress(const char *procname) const
Get the address of a function.
static bool supportsSwMipmaps(PixelFormatGpu format, uint32 depthOrSlices, TextureTypes::TextureTypes textureType, Filter filter)
uint32 mVisibilityMask
Viewport's visibility mask while rendering our pass.
Definition: OgreCompositorPassSceneDef.h:76
virtual void writeChunkBegin(uint32 id, uint16 version=1)
Begin writing a new chunk.
FileNotFoundException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
void connectExternalBuffer(UavBufferPacked *buffer, size_t inChannelA)
Connects (injects) an external buffer into the given channel.
@ CMPF_LESS_EQUAL
Definition: OgreCommon.h:90
SharedPtr< Error > ErrorPtr
Definition: OgreScriptCompiler.h:204
@ OT_PATCH_12_CONTROL_POINT
Definition: OgreHlmsPso.h:71
static const uint16 TERRAIN_CHUNK_VERSION
Definition: OgreTerrain.h:278
void setOptimisedSource(const String &src)
Sets the optimised GLSL source.
Definition: OgreGLSLESShader.h:104
virtual PixelFormatGpu getDesiredDepthBufferFormat(void) const
const String BLANKSTRING
Constant blank string, useful for returning by ref where local does not exist.
Definition: OgreCommon.h:701
~D3D11HardwareVertexBuffer()
Vector4 getInverseUavSize(size_t index) const
void add(SkeletonDefPtr skeletonDef)
Adds an external pointer for us to track.
virtual void estimateIndexCount(size_t icount)
Estimate the number of indices ahead of time.
float uOffset
Definition: OgreHlmsUnlitMobileDatablock.h:77
VectorIterator< BoneList > BoneIterator
Definition: OgreSkeleton.h:178
The purpose of this class is to contain a set of both auto and manual parameters that may apply to mu...
Definition: OgreShaderParams.h:53
void parseDriverVersionFromString(const String &versionString)
Definition: OgreRenderSystemCapabilities.h:455
void removeListener(TextureGpuListener *listener)
Texture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
FastArray< unsigned short > IndexMap
Definition: OgreRenderable.h:481
Vector3 zAxis(void) const
Returns the Z orthonormal axis defining the quaternion.
FastArray< Real > LodValueArray
Definition: OgreMesh.h:100
const HlmsMacroblock * getMacroblock(bool casterBlock=false) const
Definition: OgreHlmsDatablock.h:385
@ HLMS_TOON
Physically Based Shader Generator.
Definition: OgreHlmsCommon.h:180
Definition: OgreTextureFilters.h:136
T right
Definition: OgreCommon.h:714
@ CB_SET_SAMPLERS
Definition: OgreCbCommon.h:63
@ PFG_P208
Definition: OgrePixelFormatGpu.h:179
void setRotation(const Radian &rotation)
Set the rotation of the billboard.
virtual void destroyInstance(PageContent *)=0
const OverlayElement * getSourceTemplate() const
Returns the SourceTemplate for this element.
Definition: OgreOverlayElement.h:448
void setIgnoreAlphaDiffuse(bool bIgnore)
When diffuse textures are used (globally), the alpha component of the diffuse texture will be used to...
static ComPtr< ID3D11Query > createFence(D3D11Device &device)
CbDrawCall(uint16 cmdType, VertexArrayObject *_vao, void *_indirectBufferOffset)
bool getColumnMajorMatrices(void) const
Gets whether matrix packed in column-major order.
Definition: OgreGLSLShader.h:174
RenderToVertexBufferSharedPtr createRenderToVertexBuffer()
Create a render to vertex buffer.
static const String & getDirectionalLightExtruderArbvp1Finite(void)
Get FINITE extruder program source for directional lights, compatible with arbvp1.
Definition: OgreShadowVolumeExtrudeProgram.h:291
static void sort(v1::Mesh::MeshLodUsageList &meshLodUsageList)
Sort mesh LOD usage list from greatest to least detail.
virtual const String & getType() const
static SceneManagerEnumerator & getSingleton(void)
Override standard Singleton retrieval.
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:1155
@ PASS_CLEAR
Definition: OgreCompositorPassDef.h:56
LinearControllerFunction(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.
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:109
bool shouldEnableSpecularSdfQuality(void) const
const ShaderParameterList & getOutputParameters() const
Return a list of output parameters.
Definition: OgreShaderFunction.h:137
virtual void instanceBatchCullFrustumThreaded(const Frustum *frustum, const Camera *lodCamera, uint32 combinedVisibilityFlags)
@See InstancingTheadedCullingMethod,
Definition: OgreMovableObject.h:274
ValueType get(void) const
Definition: OgreAny.h:209
Definition: OgreScriptTranslator.h:290
static Real Sin(const Radian &fValue, bool useTables=false)
Sine function.
Definition: OgreMath.h:389
void computeNormal()
Vertex ID in the buffer associated with the submeshID.
int elementStart
Index into a buffer containing vertex indices.
Definition: OgreStaticFaceGroup.h:94
ConfigOptionMap & getConfigOptions()
Returns the details of this API's configuration options.
char const * data
Definition: OgreSubMesh2.h:288
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:163
Records the assignment of a single vertex to a single bone with the corresponding weight.
Definition: OgreVertexBoneAssignment.h:64
virtual ~Image()
Standard destructor.
Class which will create instances of a given SceneManager.
Definition: OgreSceneManager.h:2860
static const IdString NormalWeightDetail0
Definition: OgreHlmsPbs.h:496
Generic class for serialising data to / from binary stream-based files.
Definition: OgreSerializer.h:59
virtual void setMinParticleVelocity(Real min)
Returns the minimum particle velocity.
NaClGLContext(const NaClWindow *window, const NaClGLSupport *glsupport, pp::Instance *instance, pp::CompletionCallback *swapCallback)
virtual_l1 void normal(const Vector3 &norm)
Add a vertex normal to the current vertex.
@ PFG_G8R8_G8B8_UNORM
D3D11 only. See PFG_R8G8_B8G8_UNORM.
Definition: OgrePixelFormatGpu.h:120
unsigned int getResolveStageFlags() const
Get the current resolve stage flags.
Definition: OgreShaderFFPColour.h:102
virtual bool preRender(SceneManager *sm, RenderSystem *rsys)
Called just prior to the Renderable being rendered.
static String Type
Definition: OgreShaderExIntegratedPSSM3.h:100
Command object for enabling backwards compatibility.
Definition: OgreD3D9HLSLProgram.h:100
void destroyAllResourcePools()
destroy all pools
@ RSC_VERTEX_BUFFER_INSTANCE_DATA
Supports using vertex buffers for instance data.
Definition: OgreRenderSystemCapabilities.h:178
~ParticleSystemFactory()
Definition: OgreParticleSystemManager.h:399
virtual ~ParticleAffectorFactory()
static uint32 getScalarMask(ArrayMaskR mask)
Converts a SIMD mask into a mask that fits in 32-bit number.
bool overlaps(const TextureBox &other) const
Returns true if 'this' and 'other' are in partial or full collision.
Definition: OgreTextureBox.h:119
String mResourceGroup
Definition: OgreScriptCompiler.h:544
void setTrackingIfd(const IrradianceFieldSettings &ifSettings, const Vector3 &fieldSize, uint8 resolution, TextureGpu *ifdTex, const Vector2 &rangeMult, uint8_t tessellation)
unsigned int getNumInputs(void) const
bool operator>(const ComPtr< T > &a, const ComPtr< T > &b) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:249
virtual void optimise(void)
Optimise the current track by removing any duplicate keyframes.
@ ID_UAV
Definition: OgreScriptCompiler.h:976
MapIterator< ChildOldNodeMap > ChildOldNodeIterator
Definition: OgreOldNode.h:82
virtual StagingBuffer * createStagingBuffer(size_t sizeBytes, bool forUpload)
Creates a new staging buffer and adds it to the pool.
vector< double >::type DoubleConstantList
Definition of container that holds the current double constants.
Definition: OgreGpuProgramParams.h:601
Window * initialise(bool autoCreateWindow, const String &windowTitle="OGRE Render Window", const String &customCapabilitiesConfig=BLANKSTRING)
Initialises the renderer.
VertexHash(LodData *gen)
Definition: OgreLodData.h:76
DynLib * load(const String &filename)
Loads the passed library.
static CommandBufferExecuteFunc execute_setIndirectBuffer
Definition: OgreCommandBuffer.h:67
static const Matrix4 IDENTITY
Definition: OgreMatrix4.h:561
void _updateStreaming(void)
@ AutomipmapsAuto
Texture will auto generate mipmaps every time it's dirty, automatically.
Definition: OgreTextureGpu.h:96
@ M_EDGE_GROUP
Definition: OgreMeshFileFormat.h:134
virtual void loadResource(Resource *resource)=0
Called when a resource wishes to prepare.
LwString & a(const M &a0, const N &a1)
Definition: OgreLwString.h:354
bool hasAutoConstants(void) const
Returns true if this instance has any automatic constants.
Definition: OgreGpuProgramParams.h:1994
virtual void endGPUSampleProfile(const String &name)
void setLodLevels(const LodValueArray &lodValues)
Sets the distance at which level-of-detail (LOD) levels come into effect.
void _setRawAutoConstantReal(size_t physicalIndex, AutoConstantType acType, Real rData, uint16 variability, size_t elementSize=4)
As setAutoConstantReal, but sets up the auto constant directly against a physical buffer index.
KeyFrame(const AnimationTrack *parent, Real time)
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
@ SPC_LIGHTDIRECTION_WORLD_SPACE7
Definition: OgreShaderParameter.h:184
@ LB_BlendColorBurn
Definition: OgreShaderExLayeredBlending.h:66
ImageDownsampler2D downscale2x_sRGB_X8
Definition: OgreImageDownsampler.h:183
void dumpMemoryUsage(Log *log=NULL) const
Dumps to the Ogre log passed as parameter (if NULL, uses the default one) in csv format (separator is...
virtual void destroyRectangle2D(Rectangle2D *rect)
Removes & destroys an Entity from the SceneManager.
void setEnableDebugMarkers(bool bEnable)
bool getColumnMajorMatrices(void) const
Gets whether matrix packed in column-major order.
Definition: OgreD3D9HLSLProgram.h:190
virtual void _threadMain()=0
Main function for each thread spawned.
void bindGpuProgramPassIterationParameters(GpuProgramType gptype)
Only binds Gpu program parameters used for passes that have more than one iteration rendering.
void addListener(CompositorWorkspaceListener *listener)
void defragmentMemoryPools(void)
Triggers on demand a defragmentation of the pools, so that all slots become contiguous in memory.
Definition: OgreAtomicScalar.h:404
virtual void _beginFrame(void)
Definition: OgreVaoManager.h:404
void setReceiveDynamicShadowsPSSM(PSSMShadowCameraSetup *pssmSettings)
Whether to use PSSM support dynamic texture shadows, and if so the settings to use (default 0).
LoadingState
Enum identifying the loading state of the resource.
Definition: OgreResource.h:119
void _setMipmapsUpdated(void)
Definition: OgreRenderTarget.h:355
Definition: OgreNULLTexture.h:42
SphereSceneQuery(SceneManager *mgr)
virtual ~GLES2DepthPixelBuffer()
virtual OverlayElement * findElementAt(Real x, Real y)
Returns true if xy is within the constraints of the component.
Definition: OgreCompositorPass.h:71
virtual void _releaseManualHardwareResources()
Notifies the scene manager that hardware resources were lost.
const String & getName() const
Get the name of the plugin.
Degree & operator/=(Real f)
Definition: OgreMath.h:124
virtual_l1 void textureCoord(Real u, Real v, Real w)
Add a texture coordinate to the current vertex.
MeshBuilder(void)
Constructor.
Vector2 perpendicular(void) const
Generates a vector perpendicular to this vector (eg an 'up' vector).
Definition: OgreVector2.h:486
AsyncTextureTicket * createAsyncTextureTicket(uint32 width, uint32 height, uint32 depthOrSlices, TextureTypes::TextureTypes textureType, PixelFormatGpu pixelFormatFamily)
Creates an AsyncTextureTicket that can be used to download data GPU -> CPU from a TextureGpu.
void removeMovableObjectFactory(MovableObjectFactory *fact)
Removes a previously registered MovableObjectFactory.
virtual void removeAllPages()
Remove all pages immediately.
@ AUTO_LEVEL
Definition: OgrePatchSurface.h:68
virtual void getSubsampleLocations(vector< Vector2 >::type locations)
Get the MSAA subsample locations.
size_t sizeBytes
Size in bytes to bind the tex buffer.
Definition: OgreDescriptorSetTexture.h:150
vector< CompositorNamedBuffer >::type CompositorNamedBufferVec
Definition: OgreCompositorNamedBuffer.h:69
Struct holding geometry optimised per SubMesh / LOD level, ready for copying to instances.
Definition: OgreStaticGeometry.h:139
@ ID_SUBTRACT
Definition: OgreScriptCompiler.h:765
static const ArrayReal OneMinusEpsilon
Definition: OgreMathlibC.h:54
An hlms datablock contains individual information about a specific material.
Definition: OgreHlmsDatablock.h:268
VertexCacheProfiler(unsigned int cachesize=16)
Definition: OgreVertexIndexData.h:333
virtual void initCollapseCosts(LodData *data)
This is called after the LodInputProvider has initialized LodData.
Abstract interface representing a 'licensee' of a hardware buffer copy.
Definition: OgreHardwareBufferManager.h:63
Definition: OgreConstBufferPool.h:61
void * indirectBufferOffset
Definition: OgreCbDrawCall.h:65
const String & getName() const
Definition: OgrePageStrategy.h:87
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
virtual void upload(const TextureBox &srcBox, TextureGpu *dstTexture, uint8 mipLevel, const TextureBox *cpuSrcBox=0, const TextureBox *dstBox=0, bool skipSysRamCopy=false)
Uploads a region of data in srcBox (which must have been created with mapRegion) into dstTexture.
virtual void copyFrom(const SubRenderState &rhs)
void setTexcoordRect(const FloatRect &texcoordRect)
setTexcoordRect() sets the individual texture coordinate rect of this billboard will use when renderi...
MapIterator< RegionMap > RegionIterator
Iterator for iterating over contained regions.
Definition: OgreStaticGeometry.h:711
ConcreteNodeListPtr parseChunk(const ScriptTokenListPtr &tokens, const String &sourceFile)
virtual void preConversion(ScriptCompiler *compiler, ConcreteNodeListPtr nodes)
Allows for responding to and overriding behavior before a CST is translated into an AST.
virtual Window * _createRenderWindow(const String &name, uint32 width, uint32 height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
static void bulkCompressedSubregion(const PixelBox &src, const PixelBox &dst, const Box &dstRegion)
Emplaces the binary compressed data from src into a subregion of dst.
virtual bool checkExtension(const String &ext) const
Check if an extension is available.
Interface of the NVIDIA stereo driver.
Definition: OgreD3D11StereoDriverNVIDIA.h:43
DualGridGenerator(void)
Constructor.
bool isClosed(void) const
Indicates whether the window has been closed by the user.
virtual Real getLoadingOrder(void) const
Gets the relative loading order of resources of this type.
Definition: OgreResourceManager.h:488
void _copySharedParamsToTargetParams()
Update the target parameters by copying the data from the shared parameters.
@ RSC_POINT_EXTENDED_PARAMETERS
Supports extra point parameters (minsize, maxsize, attenuation)
Definition: OgreRenderSystemCapabilities.h:129
static Listener * getSharedListener(void)
Retrieve a pointer to the current shared render system listener.
iterator insert(iterator where, const T &val)
Definition: OgreStackVector.h:131
@ SPC_TANGENT_TANGENT_SPACE
Tangent in tangent space.
Definition: OgreShaderParameter.h:255
~Lod0Stripifier()
Definition: OgreLod0Stripifier.h:103
ColourValue colourArg2
Manual colour value for manual source2.
Definition: OgreBlendMode.h:154
virtual void read(Matrix3 *m, size_t count=1)
void resize(unsigned int width, unsigned int height)
Overridden - see RenderWindow.
Real z
Definition: OgreQuaternion.h:320
virtual ~InvalidStateException()
uint8 bInheritScale
Definition: OgreSkeletonDef.h:57
size_t getAllMemory() const
Gets all memory reserved for this manager.
virtual bool exists(const String &filename)=0
Find out if the named file exists (note: fully qualified filename required)
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:128
RenderSysAllocatedObject GpuParamsAlloc
Definition: OgreMemoryAllocatorConfig.h:317
static const IdString Tangent
Definition: OgreHlms.h:824
@ LOADSTATE_LOADING
Loading is in progress.
Definition: OgreResource.h:123
Real getSquaredDistanceTo(const Vector3 &pos) const
virtual void flushCommands(void)
virtual void removeAllChildren(void)
Removes all child OldNodes attached to this OldNode.
Factory object for creating ManualObject instances.
Definition: OgreManualObject2.h:376
void setConfigOption(const String &name, const String &value)
Sets an option for this API.
TextureBox(uint32 _width, uint32 _height, uint32 _depth, uint32 _numSlices, uint32 _bytesPerPixel, uint32 _bytesPerRow, uint32 _bytesPerImage)
Definition: OgreTextureBox.h:63
RenderTexture(v1::HardwarePixelBuffer *buffer, uint32 zoffset)
void destroyAllChildren()
virtual void _setTexture(size_t unit, TextureGpu *texPtr)
Sets the texture to bind to a given texture unit.
void _waitFor(TextureGpu *texture, bool metadataOnly)
Do not use directly. See TextureGpu::waitForMetadata & TextureGpu::waitForDataReady.
const uint32 * getMaxThreadsPerThreadgroupAxis(void) const
Definition: OgreRenderSystemCapabilities.h:984
Vector3 getFresnel(void) const
Returns the current fresnel.
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
Item * getParent(void) const
Accessor to get parent Item.
Definition: OgreSubItem.h:93
FastArray< MetalBufferRegion > buffers
Definition: OgreMetalDescriptorSetTexture.h:63
ConcentricShadowCamera(void)
Default constructor.
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.
virtual String getDataType() const
Returns the type of the data that supported by this codec as a String.
Definition: OgreImageCodec2.h:87
static const IdString DetailMap1
Definition: OgreHlmsPbs.h:473
void removeAllTextureAliases(void)
removes all texture aliases from the sub mesh
static void getFormatAndType(PixelFormatGpu pf, GLenum &format, GLenum &type)
String doGet(const void *target) const
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
static const IdString PcfIterations
Definition: OgreHlmsPbs.h:536
@ PT_SHORT
Definition: OgreStringInterface.h:57
const CameraList & getCameraList() const
Returns a list of cameras being tracked.
GLfloat mAnisotropy
Definition: OgreGLES2HlmsSamplerblock.h:57
virtual void bindToFramebuffer(GLenum attachment, uint32 zoffset)
ParticleType mParticleType
Determines the type of particle.
Definition: OgreParticle.h:100
void setInformHlmsOfTextureData(bool bInformHlms)
The Hlms has the ability to pass data to the shader source code via its syntax system to add hardcode...
Definition: OgreD3D11VaoManager.h:38
const ColourValue & getCompositeMapDiffuse() const
Get the composite map iffuse light to use.
Definition: OgreTerrain.h:1959
ConstMapIterator(const T &c)
Constructor.
Definition: OgreIteratorWrapper.h:368
virtual void update(SceneManager *sceneMgr)
Update the contents of this vertex buffer by rendering.
ArrayReal absDotProduct(const ArrayVector3 &vec) const
Calculates the absolute dot (scalar) product of this vector with another.
void notifyCamera(Camera *cam, PagedWorldSection *section)
Called when a camera is used for any kind of rendering.
virtual void readData(void *buf, size_t size, size_t count)
Read arbitrary data from a stream.
@ SPC_LIGHTPOSITIONVIEW_SPACE7
Definition: OgreShaderParameter.h:234
@ PFG_PVRTC_RGB4_SRGB
Definition: OgrePixelFormatGpu.h:202
static bool solveNxNLinearSysDestr(int n, PreciseReal **coeff, PreciseReal *col)
Solves a full rank NxN linear system of equations.
size_t prevOnlyIndexCount
Definition: OgreLodData.h:143
virtual void blitFromMemory(const PixelBox &src_orig, const Box &dstBox)
Hardware implementation of blitFromMemory.
bool requiresTextureFlipping() const
Definition: OgreGL3PlusFBOMultiRenderTarget.h:48
virtual void _startLegacyV1Rendering(void)
May override the current VertexArrayObject!
Definition: OgreRenderSystem.h:1075
virtual Microcode createMicrocode(const uint32 size) const
Creates a microcode to be later added to the cache.
const String & getName() const
Definition: OgreSimplePageContentCollection.h:119
virtual void reposition(int32 left, int32 top)
VertexElement2Vec vertexElements
Definition: OgreD3D11VaoManager.h:99
CompositorPassStencilDef(CompositorTargetDef *parentTargetDef)
LodCollapseCostPtr cost
Definition: OgreLodWorkQueueRequest.h:48
void setupBoundingBox(const AxisAlignedBox &aabb)
Builds the wireframe line list.
@ ID_ANTICLOCKWISE
Definition: OgreScriptCompiler.h:691
void render(RenderSystem *rs, uint8 firstRq, uint8 lastRq, bool casterPass, bool dualParaboloid)
void reset()
Reset the internal counter.
Definition: OgreNameGenerator.h:78
String doGet(const void *target) const
virtual void _addAutotrackingSceneNode(SceneNode *source, SceneNode *target, const Vector3 &offset, const Vector3 &localDirection)
Internal method for notifying the manager that a SceneNode is autotracking.
bool IsWorkingUnderNsight()
static ushort getIndex(Real value, const Material::LodValueArray &materialLodValueArray)
Get the index of the LOD usage which applies to a given value.
const Vector3 getCenterFrontRight(void) const
Gets the center of the corners 2, 6.
Definition: OgreVolumeOctreeNode.h:445
@ ID_SPHERICAL
Definition: OgreScriptCompiler.h:780
virtual void execute(SceneQueryListener *listener)
See SceneQuery.
GeometryAllocatedObject BufferPackedAlloc
Definition: OgreMemoryAllocatorConfig.h:301
static const Real POS_INFINITY
Definition: OgreMath.h:746
Hlms * getHlms(IdString name)
Returns a registered HLMS based on name. May be null.
void * getProcAddress(const char *procname) const
GL3PlusSupport::getProcAddress
GLint getGLBufferBinding(void) const
Definition: OgreGL3PlusHardwareCounterBuffer.h:67
Definition of a chunk of data in a file.
Definition: OgreStreamSerialiser.h:96
unsigned char getAlphaRejectValue(void) const
Gets the alpha reject value.
Definition: OgrePass.h:706
virtual uint16 getPoolId() const
Gets the pool id in which this DepthBuffer lives.
virtual RenderPassDescriptor * createRenderPassDescriptor(void)
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.
virtual ~MetalDepthTexture()
@ CE_VARIABLEEXPECTED
Definition: OgreScriptCompiler.h:212
virtual void _destroyCubemapProbe(InternalCubemapProbe *probe)
const String & getTessellationHullProgramName(void) const
Gets the name of the Tessellation Hull program used by this pass.
size_t calculateSize(void) const
Calculate the size of a resource; this will only be called after 'load'.
@ Owner
Definition: OgreArrayMemoryManager.h:306
float4x4(const Matrix4 &val)
Definition: OgreShaderPrimitives.h:94
@ ID_RT_SHADER_SYSTEM
Definition: OgreScriptCompiler.h:1022
static const IdString AlphaTestShadowCasterOnly
Definition: OgreHlms.h:909
EGLDisplay getGLDisplay(void)
void setToAabb(const Aabb &aabb)
Sets it fixed to display the given aabb.
virtual Ogre::Any getValue() const =0
Return the current value as an Any.
virtual void setPosition(Real x, Real y, Real z)
Sets the position of the OldNode relative to it's parent.
const CompositorNamedBufferVec & getGlobalBuffers(void) const
Definition: OgreCompositorWorkspace.h:164
void setLinked(GLint flag)
Set the shader link status.
Definition: OgreGLSLESShader.h:138
virtual void _hlmsBlendblockCreated(HlmsBlendblock *newBlock)
Definition: OgreRenderSystem.h:832
@ FRUSTUM_PLANE_NEAR
Definition: OgreFrustum.h:72
bool isError() const
Definition: OgreD3D11Device.h:91
virtual bool hasAnimation(const String &name) const
Returns whether this skeleton contains the named animation.
void setShaderCachePath(const String &cachePath)
Set the output shader cache path.
@ TypeGenerateSwMipmaps
Definition: OgreTextureFilters.h:55
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...
D3D9VideoModeList * getVideoModeList()
Matrix3 _getDerivedOrientationMatrix(void) const
void setTextureUvSource(uint8 texUnit, uint8 uvSet)
Sets the set of UVs that will be used to sample from the texture unit.
size_t tell(void) const
Repositions the read point to a specified byte.
static const IdString UvDiffuseSwizzle1
Definition: OgreUnlitProperty.h:95
virtual Real getValue(const Vector3 &position) const
Overridden from VolumeSource.
@ PFG_RGBA8_SINT
Definition: OgrePixelFormatGpu.h:79
Stream which compresses / uncompresses data using the 'deflate' compression algorithm.
Definition: OgreDeflate.h:58
void processWorkQueue(void)
Calls the process-update of the WorkQueue so it doesn't block.
virtual void removeListener(Listener *s)
Remove a listener.
StringVectorPtr find(const String &pattern, bool recursive=true, bool dirs=false)
Find all file or directory names matching a given pattern in this archive.
const Vector3 getCenterBack(void) const
Gets the center of the corners 0, 1, 4, 5.
Definition: OgreVolumeOctreeNode.h:292
Real getSpotlightTanHalfAngle(void) const
Definition: OgreLight.h:320
@ PBSM_ROUGHNESS
Definition: OgreHlmsPbsPrerequisites.h:61
Factory class for SimplePageContentCollection.
Definition: OgreSimplePageContentCollection.h:112
bool isClosed(void) const
Indicates whether the window has been closed by the user.
void clip(const AxisAlignedBox &aab)
Clips the body with an AAB.
ComPtr & operator=(const ComPtr &other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:163
Definition: OgreCbDrawCall.h:50
size_t mParentIndex
Index in the vector holding this MO reference (could be our parent node, or a global array tracking a...
Definition: OgreMovableObject.h:145
ShaderParams * _getShaderParams(IdString key)
Gets a shader parameter with the given key.
void setAutoConstant(size_t index, AutoConstantType acType, size_t extraInfo=0)
Sets up a constant which will automatically be updated by the system.
FreeImageCodec2(const String &type, unsigned int fiType)
virtual ~CGProgramProcessor()
Class destructor.
@ PF_R32G32B32_UINT
96-bit pixel format, 32 bits red (unsigned int), 32 bits blue (unsigned int), 32 bits green (unsigned...
Definition: OgrePixelFormat.h:180
RenderStateCreateOrRetrieveResult createOrRetrieveRenderState(const String &schemeName)
Returns a requested render state.
void close(void)
Close the stream; this makes further operations invalid.
DataStream(const String &name, uint16 accessMode=READ)
Constructor for creating named streams.
Definition: OgreDataStream.h:199
_OgreExport Handler GetHandler()
@ Left
Definition: OgreTextAreaOverlayElement.h:50
virtual size_t write(const void *buf, size_t count)
Write the requisite number of bytes from the stream (only applicable to streams that are not read-onl...
Definition: OgreDataStream.h:225
int y
Definition: OgreX11EGLSupport.h:89
void setIndexDataStartIndex(size_t start_index)
Tells this SubEntity to draw a subset of the SubMesh by adjusting the index buffer extents.
@ ID_BIND_UAV
Definition: OgreScriptCompiler.h:878
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
CbIndirectBuffer(IndirectBufferPacked *_indirectBuffer)
@ SPC_DEPTH_WORLD_SPACE
Depth in world space.
Definition: OgreShaderParameter.h:279
virtual bool isSmallerThan(const StagingTexture *other) const
@ PF_ETC1_RGB8
ETC1 (Ericsson Texture Compression)
Definition: OgrePixelFormat.h:246
@ ACT_DERIVED_LIGHT_DIFFUSE_COLOUR
The derived light diffuse colour (index determined by setAutoConstant call), with 'r',...
Definition: OgreGpuProgramParams.h:1128
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
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.
virtual const Vector3 & getPosition(void) const
Gets the position of the OldNode relative to it's parent.
size_t indexCount
Index size: 2 or 4 byte/index is supported only.
Definition: OgreLodBuffer.h:43
virtual void abortRequestsByChannel(uint16 channel)=0
Abort all previously issued requests in a given channel.
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
bool getTransposeMatrices(void) const
Gets whether or not matrices are to be transposed when set.
Definition: OgreGpuProgramParams.h:2376
static const IdString BlendModeIndex10
Definition: OgreUnlitProperty.h:121
virtual void removeTexture(IdString name)
WARNING: Be very careful with this function.
bool canHandleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
Implementation for WorkQueue::RequestHandler.
CompareFunction getAlphaTest(void) const
virtual v1::Entity * createEntity(const String &meshName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME, SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC)
Create an Entity (instance of a discrete mesh).
static const Real NEG_INFINITY
Definition: OgreMath.h:747
virtual RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)=0
Creates a new rendering window.
void swap(HashedVector< T > &rhs)
Definition: OgreCommon.h:562
int subtype
Definition: OgreTextureUnitState.h:140
@ 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...
const float * getFloatPointer(size_t pos) const
Get a pointer to the 'nth' item in the float buffer.
Definition: OgreGpuProgramParams.h:1898
const Vector3 getCenterFrontLeft(void) const
Gets the center of the corners 3, 7.
Definition: OgreVolumeOctreeNode.h:427
virtual Real getMaxRepeatDelay(void) const
Gets the maximum duration of this emitter in seconds (see setRepeatDelay for more details)
const HlmsSamplerblock * getSamplerblock(HlmsSamplerblock baseParams)
@See getMacroblock.
bool OrderPropertyByIdString(const HlmsProperty &_left, const HlmsProperty &_right)
Definition: OgreHlmsCommon.h:160
virtual bool isCaseSensitive(void) const =0
Returns whether this archive is case sensitive in the way it matches files.
size_t hwAnimDataItemsUsed
Number of hardware animation data items used.
Definition: OgreVertexIndexData.h:104
Command object for setting the bottom colour.
Definition: OgreTextAreaOverlayElement.h:187
const IndexData * getIndexData(void) const
Get the index data for this geometry.
Definition: OgreStaticGeometry.h:236
@ Write
Definition: OgreResourceTransition.h:114
size_t getVertexCount(void) const
Vertex count.
This is a simplistic C/C++-like preprocessor.
Definition: OgreGLSLPreprocessor.h:62
bool isNvPerfHUDEnable() const
Returns true if this window should use NV Perf HUD adapter.
ParameterPtr modControlParam
Definition: OgreShaderExLayeredBlending.h:104
TextureGpu * texture
Definition: OgreCompositorPass.h:57
To store the generated dual cells in a vector.
Definition: OgreVolumeDualGridGenerator.h:43
@ ID_SCROLL_ANIM
Definition: OgreScriptCompiler.h:785
@ PF_R8G8_SINT
16-bit pixel format, 8 bits red (signed int), 8 bits blue (signed int).
Definition: OgrePixelFormat.h:186
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:220
@ SPC_DEPTH_OBJECT_SPACE
Depth in object space.
Definition: OgreShaderParameter.h:276
@ ID_POINT_SIZE_MIN
Definition: OgreScriptCompiler.h:722
@ ID_TEXTURE_UNIT
Definition: OgreScriptCompiler.h:618
SharedPtr< LodData > LodDataPtr
Definition: OgreLodPrerequisites.h:66
bool isBorderLeft(const OctreeNode &root) const
Gets whether this cell is at the left of the given root cell.
Definition: OgreVolumeOctreeNode.h:228
ProfileGroupMask
List of reserved profiling masks.
Definition: OgreProfiler.h:208
A surface which is defined by curves of some kind to form a patch, e.g.
Definition: OgrePatchSurface.h:54
SharedPtr< AbstractNodeList > AbstractNodeListPtr
Definition: OgreScriptCompiler.h:92
virtual Real _getRelativeHeight(void)
Gets the 'height' as derived from own height and metrics mode.
void setBindingPose(void)
Sets the current position / orientation to be the 'binding pose' ie the layout in which bones were or...
void closeGapsInSource(void)
Remove any gaps in the source buffer list used by this declaration.
virtual OldBone * createBone(unsigned short handle)
Creates a brand new OldBone owned by this Skeleton.
void resize(unsigned int width, unsigned int height)
Alter the size of the window.
void doSet(void *target, const String &val)
static const uint32 CHUNK_ID
Definition: OgreGrid2DPageStrategy.h:144
StringVectorPtr list(bool recursive=true, bool dirs=false)
List all file names in the archive.
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
void preExtraThreadsStarted()
Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might...
void addRenderableV1(uint8 renderQueueId, bool casterPass, Renderable *pRend, const MovableObject *pMovableObject)
Add a renderable (Ogre v1.x) object to the queue.
static bool hasAlpha(PixelFormat format)
Shortcut method to determine if the format has an alpha component.
virtual void _notifyPreparePassHash(const Matrix4 &viewMatrix)
void reposition(int left, int top)
Overridden - see RenderWindow.
virtual void setListener(Listener *listener)
Sets a listener for this Node.
Definition: OgreNode.h:690
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 const String & getPointLightExtruderVs_1_1FiniteDebug(void)
Get extruder program source for debug point lights, compatible with vs_1_1.
Definition: OgreShadowVolumeExtrudeProgram.h:304
@ ACT_LIGHT_SPECULAR_COLOUR_ARRAY
Array of light specular colours (count set by extra param)
Definition: OgreGpuProgramParams.h:1076
VertexData * _getSkelAnimVertexData(void)
Advanced method to get the temporarily blended vertex information for entities which are software ski...
UniformParameterList::const_iterator UniformParameterConstIterator
Definition: OgreShaderParameter.h:568
ArrayReal squaredLength() const
Returns the square of the length(magnitude) of the vector.
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).
virtual ParticleSystem * createParticleSystem(const String &templateName)
Creates a particle system based on a template.
CollapseCostHeap mCollapseCostHeap
Makes possible to get the vertices with the smallest collapse cost.
Definition: OgreLodData.h:160
String::const_iterator end() const
Definition: OgreHlmsCommon.h:139
virtual void * getProcAddress(const char *procname) const =0
Get the address of a function.
HardwareBuffer * pBuf
Definition: OgreHardwareBuffer.h:407
bool isLoading() const
Returns whether the resource is currently in the process of background loading.
virtual void prepareForClearScene(void)
Destroys the Proxy Items.
MeshVersion
Mesh compatibility versions.
Definition: OgreMeshSerializer.h:43
static PixelComponentType getComponentType(PixelFormat fmt)
Returns the component type for a certain pixel format.
void reallocateBuffer(size_t index)
virtual void finalTargetResized01(const TextureGpu *finalTarget)
void unbindGpuProgram(GpuProgramType gptype)
See RenderSystem.
Definition: OgreShaderPrimitives.h:101
bool getIncludesNormals() const
Return whether the pose vertices include normals.
Definition: OgrePose.h:82
This class declares the usage of a single vertex buffer as a component of a complete VertexDeclaratio...
Definition: OgreHardwareVertexBuffer.h:116
StagingBuffer(size_t internalBufferStart, size_t sizeBytes, VaoManager *vaoManager, bool uploadOnly)
void setVertexDeclaration(VertexDeclaration *decl, bool useGlobalInstancingVertexBufferIsAvailable)
void connect(IdString outNode, uint32 outChannel, IdString inNode, uint32 inChannel)
Connects outNode's output channel to inNode's input channel.
@ PBSM_DETAIL_WEIGHT
Definition: OgreHlmsPbsPrerequisites.h:62
uint16 mIgnoreDiffuseAlpha
Definition: OgreDecal.h:90
virtual bool isOpenGLRenderWindow(void) const
OpenGL RenderWindows are a bit specific:
const MaterialPtr & getMaterial(void) const
Get the material for this bucket.
Definition: OgreStaticGeometry.h:294
@ TexturesOitd
See HlmsDatablock::saveTextures.
Definition: OgreSceneFormatBase.h:61
@ M_MESH_LOD_LEVEL
Definition: OgreMeshFileFormat.h:235
virtual ForwardPlusMethods getForwardPlusMethod(void) const
Definition: OgreForward3D.h:100
VariableAccessAbstractNode(AbstractNode *ptr)
virtual void bindBufferGS(uint16 slot)
float getMetalness(void) const
Definition: OgreDecal.h:128
void unregisterComputeHlms(void)
virtual BillboardRotationType getBillboardRotationType(void) const
Sets billboard rotation type.
Real getTimePos(void) const
Definition: OgreAnimationTrack.h:95
void destroyOldNodeTrack(unsigned short handle)
Destroys the node track with the given handle.
Definition: OgreMetalTextureGpu.h:108
void setSubroutine(size_t index, const String &subroutine)
Set subroutine name by slot index.
@ mutAuto
Definition: OgreD3D9RenderSystem.h:57
virtual void setValue(const Degree &)
Set value.
Definition: OgreAnimable.h:183
T * operator->() const
Definition: OgreSharedPtr.h:266
@ LB_BlendOverlay
Definition: OgreShaderExLayeredBlending.h:62
virtual void destroyAllRibbonTrails(void)
Removes & destroys all RibbonTrails from the SceneManager.
void renameTexture(IdString oldName, const String &newName)
Changes the name of a texture.
@ ConstBuffer
After the barrier, data can be used as a const buffer.
Definition: OgreResourceTransition.h:93
Particle * getParticle(size_t index)
Retrieve a particle from the system for manual tweaking.
@ OT_PATCH_10_CONTROL_POINT
Definition: OgreHlmsPso.h:69
virtual void bindToFramebuffer(GLenum attachment, uint32 zoffset)
Bind surface to frame buffer.
virtual const String & getMovableType(void) const
Overridden from MovableObject.
uint32 willSwitchTo(D3D11RenderPassDescriptor *newDesc, bool warnIfRtvWasFlushed) const
Definition: OgreWin32EGLSupport.h:38
Vector3 midPoint(const Vector3 &vec) const
Returns a vector at a point half way between this and the passed in vector.
Definition: OgreVector3.h:509
virtual void _hlmsMacroblockDestroyed(HlmsMacroblock *block)
Definition: OgreRenderSystem.h:831
bool _fireEvent(ScriptCompilerEvent *evt, void *retval)
Internal method for firing the handleEvent method.
uint32 getMaxNumProbes() const
Returns numProbes[0] * numProbes[1] * numProbes[2].
Filter
Definition: OgreImage2.h:333
virtual void shadowTextureCasterPreViewProj(const 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:314
Definition: OgreVctMaterial.h:46
IsoSurfaceMC(const Source *src)
Constructor.
SceneManager(const String &instanceName, size_t numWorkerThreads)
Constructor.
DistanceLodBoxStrategy()
Default constructor.
virtual void switchMode(uint &width, uint &height, short &frequency)
vector< Vector3 >::type VertexList
Definition: OgrePolygon.h:59
virtual void getCustomAttribute(IdString name, void *pData)
void CreateGeometryShader()
virtual const String & getTargetLanguage() const
Return the target language of this processor.
Definition: OgreShaderGLSLProgramProcessor.h:60
#define _OgreHlmsPbsMobileExport
Definition: OgreHlmsPbsMobilePrerequisites.h:48
Pose(ushort target, const String &name=BLANKSTRING)
Constructor.
virtual bool _loadProceduralPage(Page *page, PagedWorldSection *section)
Give a world the opportunity to prepare page content procedurally.
unsigned int getNumSections(void) const
Retrieves the number of ManualObjectSection objects making up this ManualObject.
GpuProgramParametersSharedPtr createParameters(void)
Creates a new parameters object compatible with this program definition.
virtual size_t tell(void) const =0
Returns the current byte offset from beginning.
void bind(IDirect3DDevice9 *dev, IDirect3DSurface9 *mSurface, IDirect3DSurface9 *fsaaSurface, bool writeGamma, uint fsaa, const String &srcName, IDirect3DBaseTexture9 *mipTex)
Call this to associate a D3D surface or volume with this pixel buffer.
An abstract class that contains a depth/stencil buffer.
Definition: Deprecated/OgreDepthBuffer.h:84
const VertexTrackList & _getVertexTrackList(void) const
Fast access to NON-UPDATEABLE Vertex track list.
virtual bool getOptionKeys(StringVector &refKeys)
Method for getting all the implementation-specific options of the scene manager.
Definition: OgreSceneManager.h:1838
virtual OldNode * createChild(const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY)
Creates an unnamed new OldNode as a child of this OldNode.
@ ID_GAMMA
Definition: OgreScriptCompiler.h:734
virtual ~InternalCubemapProbeFactory()
Definition: OgreInternalCubemapProbe.h:71
void loadImage(DataStreamPtr &stream, const String &ext=BLANKSTRING)
Load an image into this blend layer.
StencilOperation stencilDepthFailOp
Definition: OgreCommon.h:123
@ ID_OVERLAYS
Definition: OgreScriptCompiler.h:894
String getValue() const
Returns a string value depending on the type of the AbstractNode.
virtual bool _createRenderWindows(const RenderWindowDescriptionList &renderWindowDescriptions, WindowList &createdWindows)
Creates multiple rendering windows.
void _notifyVertexBufferDestroyed(HardwareVertexBuffer *buf)
Notification that a hardware vertex buffer has been destroyed.
@ M_ANIMATION_TRACK
Definition: OgreMeshFileFormat.h:166
Definition: OgreD3D9Driver.h:41
@ PF_FLOAT32_R
Definition: OgrePixelFormat.h:128
@ Undefined
Definition: OgreResourceTransition.h:48
Definition: OgreGLES2RenderToVertexBuffer.h:48
FocusedShadowCameraSetup(void)
Default constructor.
virtual const String & getType() const
float getMetalness(void) const
TRect()
Definition: OgreCommon.h:715
size_t getNumUsedSlotsIncludingFragmented() const
Returns mUsedMemory.
const Vector3 getCenterBottom(void) const
Gets the center of the corners 0, 1, 2, 3.
Definition: OgreVolumeOctreeNode.h:337
TextureEffectType type
Definition: OgreTextureUnitState.h:139
uint16 resolution
Definition: OgreTerrainLodManager.h:82
const TextureGpuVec & getCurrentPrePassTextures(void) const
Definition: OgreSceneManager.h:1314
ushort getVertexProgramConstantIntCount(void) const
The number of integer constants vertex programs support.
Definition: OgreRenderSystemCapabilities.h:661
virtual void execute(void)
void freeEdgeList(void)
Destroys and frees the edge lists this mesh has built.
void setTrans(const Vector3 &v)
Sets the translation transformation part of the matrix.
Definition: OgreMatrix4.h:409
virtual void setPageRangeMaxY(int32 maxY)
Set the index range of all Pages (values outside this will be ignored)
@ PF_BYTE_BGR
3 byte pixel format, 1 byte for blue, 1 byte for green, 1 byte for red
Definition: OgrePixelFormat.h:92
bool hasViewRelativeTextureCoordinateGeneration(void) const
Returns whether this unit has texture coordinate generation that depends on the camera.
virtual void updateUniformBlocks(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)=0
Updates program object uniform blocks using data from GpuProgramParameters.
int serial
Definition: OgreX11EGLSupport.h:94
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:214
SimplePageContentCollectionFactory()
Definition: OgreSimplePageContentCollection.h:116
This class declares the format of a set of vertex inputs, which can be issued to the rendering API th...
Definition: OgreHardwareVertexBuffer.h:288
DXGI_SWAP_CHAIN_DESC_N * _getSwapChainDescription(void)
Definition: OgreD3D11RenderWindow.h:116
virtual ~AbstractNode()
Definition: OgreScriptCompiler.h:104
@ 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:1103
void setTransparent(bool isTransparent)
Sets whether this panel is transparent (used only as a grouping level), or if it is actually rendered...
static GLenum getClosestGLInternalFormat(PixelFormat format, bool hwGamma)
Takes the OGRE pixel format and returns the type that must be provided to GL as internal format.
ObjectDataArrayMemoryManager(uint16 depthLevel, size_t hintMaxNodes, Node *dummyNode, MovableObject *dummyObject, size_t cleanupThreshold=100, size_t maxHardLimit=MAX_MEMORY_SLOTS, RebaseListener *rebaseListener=0)
Constructor.
const BufferDefinitionVec & getLocalBufferDefinitions(void) const
Definition: OgreTextureDefinition.h:447
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
static void lockDeviceAccess()
String doGet(const void *target) const
Real squaredDistance(const Vector2 &rhs) const
Returns the square of the distance to another vector.
Definition: OgreVector2.h:372
virtual void materialEventRaised(MaterialSerializer *ser, SerializeEvent event, bool &skip, const Material *mat)
Called when material section event raised.
Definition: OgreMaterialSerializer.h:89
static void setDefaultRotationInterpolationMode(RotationInterpolationMode im)
Sets the default rotation interpolation mode.
uint8 firstRq
First RenderQueue ID to render (inclusive)
Definition: OgreSceneManager.h:97
const AxisAlignedBox & getBounds(void) const
Gets the bounds of this patch, only valid after calling defineSurface.
float getLastTime(void) const
Definition: OgreFrameStats.h:66
bool mEnableForwardPlus
Enable ForwardPlus during the pass (if Forward3D or ForwardClustered systems were created).
Definition: OgreCompositorPassSceneDef.h:114
TextureBox srcBox
Definition: OgreAsyncTextureTicket.h:68
virtual void setColourRangeEnd(const ColourValue &colour)
Sets the maximum colour of particles to be emitted.
void registerThread()
Register the an additional thread which may make calls to rendersystem-related objects.
void _update(Camera *camera, const Camera *lodCamera, SceneManager *sceneManager)
Renders into the shadow map, executes passes.
virtual void setPageRangeMinX(int32 minX)
Set the index range of all Pages (values outside this will be ignored)
@ LB_BlendDarken
Definition: OgreShaderExLayeredBlending.h:53
virtual void addRequestHandler(uint16 channel, RequestHandler *rh)
Add a request handler instance to the queue.
static String toString(ColourBufferType val)
Converts a ColourBufferType to a String.
const Aabb & getArea(void) const
Definition: OgreCubemapProbe.h:224
static bool findParamInVec(const HlmsParamVec ¶mVec, IdString key, String &inOut)
Finds the parameter with key 'key' in the given 'paramVec'.
@ ID_ALWAYS_FAIL
Definition: OgreScriptCompiler.h:676
@ RCP_CREATE_ON_ALL_DEVICES
Definition: OgreD3D9ResourceManager.h:50
MeshSerializerListener * getListener()
Returns the current listener.
bool isFloat() const
Definition: OgreGpuProgramParams.h:174
void executeUserScalableTask(UniformScalableTask *task, bool bBlock)
Processes a user-defined UniformScalableTask in the worker threads spawned by SceneManager.
static const IdString ShadowCasterDirectional
Definition: OgreHlms.h:867
const String & getProgramName(void) const
Gets the program being used.
Definition: OgreGpuProgramUsage.h:124
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
vector< CodePointRange >::type CodePointRangeList
Definition: OgreFont.h:155
VertexElementType type
Definition: OgreVertexArrayObject.h:185
This class implements an overlay element which contains simple unformatted text.
Definition: OgreTextAreaOverlayElement.h:46
virtual void setVerbose(bool v)
Sets whether this manager and its resources habitually produce log output.
Definition: OgreResourceManager.h:494
unsigned short getIndex(void) const
Gets the index of this element, only applicable for repeating elements.
Definition: OgreHardwareVertexBuffer.h:143
Definition: OgreGLES2VaoManager.h:99
void update(uint32 probesPerFrame=200u)
uint32 getHeight(void) const
Definition: OgreForward3D.h:105
virtual ~TerrainDefiner()
Definition: OgreTerrainPagedWorldSection.h:165
uint32 getNumStableSplits(void) const
Definition: OgreShadowCameraSetupPSSM.h:133
const ContentCollectionList & getContentCollectionList() const
Get the list of content collections.
virtual const Radian & getFOVy(void) const
Retrieves the frustums Y-dimension Field Of View (FOV).
static const ColourValue Blue
Definition: OgreColourValue.h:65
bool getEnabled(void) const
Returns true if this animation is currently enabled.
@ SPFM_DELETE
Use OGRE_DELETE to free the memory.
Definition: OgreSharedPtr.h:46
const SubEntity * getSubEntity(size_t index) const
virtual bool addRenderWindow(D3D11RenderWindowBase *renderWindow)
@ CB_SET_CONSTANT_BUFFER_INVALID
Definition: OgreCbCommon.h:52
bool hasOwnDimensions(void) const
Returns true if this billboard deviates from the BillboardSet's default dimensions (i....
void updateUniforms(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program pipeline object uniforms using named and indexed parameter data from GpuProgramParame...
ArrayReal length() const
Returns the length (magnitude) of the vector.
bool supportsIndirectBuffers(void) const
When false, IndirectBufferPacked will emulate the mapping behavior, and we need to use the emulated c...
Definition: OgreVaoManager.h:421
int32 mipmapLevel
Definition: OgreCompositorPassUavDef.h:63
Structure recording the use of a physical buffer by a logical parameter index.
Definition: OgreGpuProgramParams.h:566
IrradianceFieldRaster(IrradianceField *creator)
static const IdString DetailMapsNormal
Definition: OgreHlmsPbs.h:527
@ ID_VIEWPORT
Definition: OgreScriptCompiler.h:890
void adjustWindow(unsigned int clientWidth, unsigned int clientHeight, unsigned int *winWidth, unsigned int *winHeight)
String doGet(const void *target) const
virtual void setWorldFragmentType(enum WorldFragmentType wft)
Tells the query what kind of world geometry to return from queries; often the full renderable geometr...
ushort getVertexProgramConstantBoolCount(void) const
The number of boolean constants vertex programs support.
Definition: OgreRenderSystemCapabilities.h:666
Real getElapsedTime(void) const
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create a uniform buffer.
@ ID_DEFAULT_PARAMS
Definition: OgreScriptCompiler.h:635
static ScriptCompilerManager & getSingleton(void)
Override standard Singleton retrieval.
virtual void setMetricsMode(GuiMetricsMode gmm)
Tells this element how to interpret the position and dimension values it is given.
FastArray< Slot > mTextures
Definition: OgreDescriptorSetTexture.h:318
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 showConfigDialog(ConfigDialog *aCustomDialog=0)
Displays a dialog asking the user to choose system settings.
virtual ~FrameListener()
Definition: OgreFrameListener.h:130
Class for managing Controller instances.
Definition: OgreControllerManager.h:60
void _reserveSlotForTexture(TextureGpu *texture)
Must be called from main thread.
void _compileBoneAssignments(void)
Call this function if you've manually called addBoneAssignment to setup bones for vertices.
virtual void postInitializePass(CompositorPass *pass)
We derive so we can override the camera with ours.
float widthFactor
Sometimes buffers can be used as a plain-array contiguous image (instead of the swizzled pattern from...
Definition: OgreTextureDefinition.h:164
D3DDEVTYPE getDeviceType() const
Controller< Real > * createController(const ControllerValueRealPtr &src, const ControllerValueRealPtr &dest, const ControllerFunctionRealPtr &func)
Creates a new controller and registers it with the manager.
PlaneBoundedVolumeListSceneQuery(SceneManager *mgr)
@ BP_TYPE_UAV
Definition: OgreBufferPacked.h:88
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)
static const IdString BlendModeIndex12
Definition: OgreUnlitProperty.h:123
TextureGpu * createOrRetrieveTexture(const String &name, const String &aliasName, GpuPageOutStrategy::GpuPageOutStrategy pageOutStrategy, CommonTextureTypes::CommonTextureTypes type, const String &resourceGroup=BLANKSTRING, uint32 poolId=0)
Helper function to call createOrRetrieveTexture with common parameters used for 2D diffuse textures l...
virtual ~RenderingAPIException()
void setNumOutputChannels(size_t numOuts)
Reserves enough memory for all output channel mappings (efficient allocation, better than using linke...
Definition: OgreCompositorNodeDef.h:173
virtual bool getForceDisableColourWrites(void) const
Used by depth texture views which need to disable colour writes when rendering to it PF_NULL targets ...
Definition: OgreD3D11NullTexture.h:113
static ParameterPtr createInBiNormal(int index)
const DoubleConstantList & getDoubleConstantList() const
Get a reference to the list of double constants.
Definition: OgreGpuProgramParams.h:793
Saved link between SubMesh at a LOD and vertex/index data May point to original or optimised geometry...
Definition: OgreStaticGeometry.h:154
virtual int32 getCellRangeMinY() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:165
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:371
static const Vector3 NEGATIVE_UNIT_Z
Definition: OgreVector3.h:820
void setMaxSimultaneousLights(unsigned short maxLights)
Sets the maximum number of lights to be used by this pass.
bool visibleToManager
Definition: OgreHlms.h:96
Vector3 position
Definition: OgreSceneManager.h:66
static void Intermediate(const Quaternion &rkQ0, const Quaternion &rkQ1, const Quaternion &rkQ2, Quaternion &rka, Quaternion &rkB)
Setup for spherical quadratic interpolation.
@ ID_LOD_STRATEGY
Definition: OgreScriptCompiler.h:627
bool resourceGroupExists(const String &name)
static const uint64 TERRAIN_GENERATE_MATERIAL_INTERVAL_MS
Definition: OgreTerrain.h:280
virtual_l1 void resetOrientation(void)
Resets the nodes orientation (local axes as world axes, no rotation).
uint32 mStencilRef
Definition: OgreCompositorPassStencilDef.h:50
static char * _arrangeEfficient(SourceDataArray srcData, const VertexElement2Vec &vertexElements, uint32 vertexCount)
Generic form that does the actual job for both v1 and v2 objects.
MultiSourceVertexBufferPool(const VertexElement2VecVec &vertexElementsBySource, size_t maxVertices, BufferType bufferType, size_t internalBufferStart, VaoManager *vaoManager)
ImageDownsampler2D downscale2x_Signed_XA88
Definition: OgreImageDownsampler.h:116
size_t result_type
Definition: OgreSharedPtr.h:395
static const IdString ForwardPlusFlipY
Definition: OgreHlms.h:884
void convertDirection(Space inSpace, const Vector3 &inDir, Space outSpace, Vector3 &outDir) const
Convert a direction from one space to another with respect to this terrain.
@ LB_BlendGlow
Definition: OgreShaderExLayeredBlending.h:74
bool mGenNormalsGBuf
Generate Normals for a GBuffer in RTV output 1, This flag is ignored mPrePassMode if mPrePassMode !...
Definition: OgreCompositorPassSceneDef.h:105
@ LBX_SOURCE1
use source1 without modification
Definition: OgreBlendMode.h:77
void doSet(void *target, const String &val)
uint32 *RESTRICT_ALIAS mVisibilityFlags
Flags determining whether this object is visible (compared to SceneManager mask)
Definition: OgreObjectData.h:89
@ LB_BlendHardMix
Definition: OgreShaderExLayeredBlending.h:72
float mMaxAnisotropy
Definition: OgreHlmsSamplerblock.h:80
Definition: OgreWindowEventUtilities.h:66
@ Type180
Definition: OgreIesLoader.h:43
static const IdString DiffuseMapCount10
Definition: OgreHlmsUnlitMobile.h:118
virtual void update(SceneManager *sceneMgr)
Update the contents of this vertex buffer by rendering.
virtual ~ConcentricShadowCamera(void)
Default destructor.
@ RSC_STORE_AND_MULTISAMPLE_RESOLVE
Definition: OgreRenderSystemCapabilities.h:230
@ VET_UINT1
Definition: OgreVertexElements.h:99
const T & front() const
Definition: OgreStackVector.h:283
virtual void copyFrom(const SubRenderState &rhs)
size_t offset
Definition: OgreNULLVaoManager.h:99
@ ACT_TIME_0_X_PACKED
Vector of "Time0_X", "SinTime0_X", "CosTime0_X", "TanTime0_X".
Definition: OgreGpuProgramParams.h:1203
static const uint16 msDistanceThresholdCustomParam
Definition: OgreVctLighting.h:48
@ LB_BlendLinearLight
Definition: OgreShaderExLayeredBlending.h:69
void endGPUSample(const String &name)
GLSLESProgramPipeline(GLSLESShader *vertexProgram, GLSLESShader *fragmentProgram)
Constructor should only be used by GLSLESProgramPipelineManager.
virtual bool checkFormat(PixelFormat format)=0
Check if a certain format is usable as rendertexture format.
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:209
@ ACT_COSTIME_0_X
Cosine of "Time0_X". Equivalent to RenderMonkey's "CosTime0_X".
Definition: OgreGpuProgramParams.h:1195
void unloadPage(PageID pageID, bool forceSynchronous=false)
Overridden from PagedWorldSection.
virtual const String & getType() const
bool getPassFogStates(void) const
Returns whether a fragment program wants fog state to be passed through fixed pipeline low level API ...
@ SPC_POSTOLIGHT_OBJECT_SPACE1
Definition: OgreShaderParameter.h:128
void setDriverVersion(const DriverVersion &version)
Set the driver version.
Definition: OgreRenderSystemCapabilities.h:450
ArrayVector3 primaryAxis(void) const
Extract the primary (dominant) axis from this direction vector.
static DistanceLodBoxStrategy & getSingleton(void)
Override standard Singleton retrieval.
PsoVec pso
Definition: OgreHlmsDiskCache.h:165
void removeQueryFlags(uint32 flags)
Definition: OgreTerrain.h:1372
void destroyWorkspace(void)
virtual void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)=0
This function translates the given node into Ogre resource(s).
vector< bool >::type LightsBitSet
Definition: OgreCompositorShadowNode.h:93
T value_type
Definition: OgreMemorySTLAllocator.h:66
uint32 depth
Definition: OgreTextureBox.h:45
void doSet(void *target, const String &val)
_OgreExport friend std::ostream & operator<<(std::ostream &o, const Vector3 &v)
Function for writing to a stream.
RdmQuality
Definition: OgreRadialDensityMask.h:83
@ BBT_PERPENDICULAR_SELF
Billboards are perpendicular to their own direction vector (their own Z axis, the facing direction) a...
Definition: OgreBillboardSet.h:88
LoadingState getLoadingState() const
Returns the current loading state.
virtual Real getVerticalTexelOffset(void)
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this r...
virtual HlmsDatablock * createDefaultDatablock(void)
TRect< Real > RealRect
Structure used to define a rectangle in a 2-D floating point space, subject to double / single floati...
Definition: OgreCommon.h:806
virtual const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Copies the current contents of the render target to a pixelbox.
Definition: OgreX11EGLSupport.h:78
CompositorTargetDef * getTargetPass(size_t passIndex)
Retrieves an existing pass by it's given index.
Definition: OgreCompositorNodeDef.h:161
virtual void _render(const v1::CbDrawCallIndexed *cmd)
Renders a V1 RenderOperation. Assumes _setRenderOperation has already been called.
virtual void write(const Matrix4 *m, size_t count=1)
An object which renders geometry to a vertex.
Definition: OgreD3D11RenderToVertexBuffer.h:47
void define(const Vector3 corners[8])
Build a new polygon representation from an axis-UNaligned box.
Radian operator/(Real f) const
Definition: OgreMath.h:77
HlmsPropertyVec passProperties
Definition: OgreHlmsDiskCache.h:148
HlmsTypes
Up to 8 different HLMS generator types are allowed.
Definition: OgreHlmsCommon.h:177
HighLevelGpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
Definition: OgreCbDrawCall.h:118
Real _getWidth(void) const
Gets the width of this element in relation to the screen (where 1.0 = screen width)
Definition: OgreOverlayElement.h:257
GLSLESShader * getFragmentShader() const
Definition: OgreGLSLESProgramCommon.h:107
virtual ~DDSCodec()
Definition: OgreDDSCodec.h:74
const CompositorNodeDef * getParentNodeDef(void) const
Definition: OgreCompositorPassDef.h:301
@ ID_DEST_ALPHA
Definition: OgreScriptCompiler.h:661
void baseVertexPointerToElement(void *pBase, RGBA **pElem) const
Adjusts a pointer to the base of a vertex to point at this element.
Definition: OgreHardwareVertexBuffer.h:231
APKFileSystemArchive(const String &name, const String &archType, AAssetManager *assetMgr)
const Vector3 & getPosition(void) const
Get the position of the billboard.
bool casterPass
Whether this is a shadow mapping pass.
Definition: OgreSceneManager.h:101
void shutdown()
Shutdown the renderer and cleanup resources.
SceneNode(IdType id, SceneManager *creator, NodeMemoryManager *nodeMemoryManager, SceneNode *parent)
Constructor, only to be called by the creator SceneManager.
int getSwitchingFullscreenCounter() const
Definition: OgreD3D11RenderSystem.h:180
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:92
TextureGpu * createTexture(const String &name, GpuPageOutStrategy::GpuPageOutStrategy pageOutStrategy, uint32 textureFlags, TextureTypes::TextureTypes initialType, const String &resourceGroup=BLANKSTRING, uint32 filters=0, uint32 poolId=0)
virtual const TerrainLayerDeclaration & getLayerDeclaration() const
Get the layer declaration that this material generator operates with.
Definition: OgreTerrainMaterialGenerator.h:264
@ PFG_ASTC_RGBA_UNORM_8X8_LDR
Definition: OgrePixelFormatGpu.h:243
vector< AreaOfInterest >::type AreaOfInterestVec
Areas of interest.
Definition: OgreInstantRadiosity.h:196
bool supportsPersistentMapping(void) const
Definition: OgreVaoManager.h:417
uint32 getVisibilityFlags(void) const
Returns the visibility flags relevant for this object.
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:331
size_t _getTotalRenderQueues() const
Definition: OgreObjectMemoryManager.h:148
void _notifyRenderedFaces(size_t numfaces)
Internal method to notify camera of the visible faces in the last render.
@ PCT_UINT
Signed integer per component.
Definition: OgrePixelFormat.h:399
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:435
const String & getShaderCachePath(void) const
Get shader cache path.
Definition: OgreGL3PlusSupport.h:86
void removeElement(VertexElementSemantic semantic, unsigned short index=0)
See VertexDeclaration.
PbsBlendModes getDetailMapBlendMode(uint8 detailMapIdx) const
void switchMode(void)
Switch back to original video mode.
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.
virtual void initVertexCollapseCost(LodData *data, LodData::Vertex *vertex)
Called from initCollapseCosts for every edge.
virtual CompositorPass * addPass(const CompositorPassDef *definition, Camera *defaultCamera, CompositorNode *parentNode, const RenderTargetViewDef *rtvDef, SceneManager *sceneManager)=0
Creates a CompositorPass from a CompositorPassDef for Compositor Pass of type 'custom'.
struct zzip_file ZZIP_FILE
Definition: OgreZip.h:40
@ UNLIT_BLEND_DARKEN
Definition: OgreHlmsUnlitPrerequisites.h:73
static PixelFormatGpu getDestinationFormat(PixelFormatGpu srcFormat)
int getHighestLodPrepared() const
Definition: OgreTerrain.h:1896
@ Lights
Definition: OgreSceneFormatBase.h:57
static void setPrioriry(String shaderLanguage, int priority)
DataStreamPtr openFileStream(const String &filename, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, const String &locationPattern=BLANKSTRING)
Helper method to assist you in accessing readable file streams.
@ PFG_RG16_SNORM
Definition: OgrePixelFormatGpu.h:84
HardwareBufferLockGuard HardwareVertexBufferLockGuard
Locking helper.
Definition: OgreHardwareVertexBuffer.h:102
virtual void detachDepthBuffer(void)
virtual void _detachDepthBuffer()
Detaches DepthBuffer without notifying it from the detach.
virtual void detachDepthBuffer(void)
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...
GLint getAttributeIndex(VertexElementSemantic semantic, uint index)
Get the index of a non-standard attribute bound in the linked code.
virtual void initialiseExtensions()
Initialises GL extensions, must be done AFTER the GL context has been established.
SourceModifier
Definition: OgreShaderExLayeredBlending.h:83
void setDetailMapBlendMode(uint8 detailMapIdx, PbsBlendModes blendMode)
Changes the blend mode of the detail map.
VectorIterator< LODBucketList > LODIterator
Definition: OgreStaticGeometry.h:414
void setLightCount(const int lightCount[3])
Set the light count per light type.
virtual void unloadTerrain(long x, long y)
Unload a specific terrain slot.
virtual ~SharedPtrInfoDelete()
Definition: OgreSharedPtr.h:77
@ PFG_NULL
Definition: OgrePixelFormatGpu.h:47
@ PBSM_DETAIL3_NM
Definition: OgreHlmsPbsPrerequisites.h:70
Manager/factory for RenderTextures.
Definition: OgreGLES2RenderTexture.h:64
@ ID_FRAGMENT_PROGRAM
Definition: OgreScriptCompiler.h:615
@ Entities
Definition: OgreSceneFormatBase.h:56
virtual void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware vertex buffer.
@ CLIPPED_ALL
Everything was clipped away.
Definition: OgreCommon.h:904
void _notifySysRamDownloadIsReady(uint8 *sysRamPtr, bool resyncOnly)
Do not call directly.
iterator insertPOD(iterator where, const_iterator otherBegin, const_iterator otherEnd)
otherBegin & otherEnd must not overlap with this->begin() and this->end()
Definition: OgreStackVector.h:145
void setConstant(size_t index, const bool *val, size_t count)
Sets a multiple value constant boolean parameter to the program.
@ PrePassCreate
This is a depth pre-pass.
Definition: OgreCommon.h:78
Allows the rendering of a chain of connected billboards.
Definition: OgreBillboardChain.h:79
void removeItem(Item *item)
Removes an item added via VctVoxelizer::addItem.
virtual void beginGPUSampleProfile(const String &name, uint32 *hashCache)=0
IndexType getType(void) const
Get the type of indexes used in this buffer.
Definition: OgreHardwareIndexBuffer.h:70
bool mUseVertexNormals
Definition: OgreLodData.h:171
VertexSplits vertexSplits
A list of vertex indices which were split off into new vertices because of mirroring.
Definition: OgreTangentSpaceCalc.h:84
@ RSC_READ_BACK_AS_TEXTURE
Supports reading back the inactive depth-stencil buffer as texture.
Definition: OgreRenderSystemCapabilities.h:198
D3D9MultiRenderTarget(const String &name)
virtual unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
Definition: OgreNULLRenderSystem.h:167
@ GCT_MATRIX_DOUBLE_4X2
Definition: OgreGpuProgramParams.h:109
virtual void unloadPage(Page *p, bool forceSynchronous=false)
Ask for a page to be unloaded with the given (section-relative) PageID.
Definition: OgreD3D11VaoManager.h:48
void setParallaxCorrectedCubemapAuto(ParallaxCorrectedCubemapAuto *pcc)
void setDatablock(size_t subIndex, const String &name)
Alter the material for a subsection of this object after it has been specified.
const SectionMap & getSections() const
Retrieve a const reference to all the sections in this world.
Definition: OgrePagedWorld.h:161
PrePassMode
Definition: OgreCommon.h:73
virtual HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)=0
Create a hardware vertex buffer.
const std::type_info & type() const
Definition: OgreAny.h:113
void setUseColour(bool useColour)
Controls whether the value in.
bool casterPass
Definition: OgreCbLowLevelMaterial.h:37
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 bindBufferDS(uint16 slot)=0
virtual void getWorldTransforms(Matrix4 *xform) const =0
Gets the world transform matrix / matrices for this renderable object.
~MeshSerializerImpl_v1_2()
@ TID_QUOTE
Definition: OgreScriptLexer.h:57
EntryTypes
Definition: OgreRenderPassDescriptor.h:163
StreamSerialiser * _readWorldStream(const String &filename)
Get a serialiser set up to read PagedWorld data for the given world name.
Vector4 getInverseTextureSize(size_t index) const
static MeshManager * getSingletonPtr(void)
Override standard Singleton retrieval.
GeometryAllocatedObject BatchedGeometryAlloc
Definition: OgreMemoryAllocatorConfig.h:299
static uint32 ctz32(uint32 value)
Definition: OgreBitwise.h:459
Real texCoord
U or V texture coord depending on options.
Definition: OgreBillboardChain.h:101
static void SinCos4(ArrayReal x, ArrayReal &outSin, ArrayReal &outCos)
Calculates the cosine & sine of x.
virtual HlmsCache preparePassHash(const Ogre::CompositorShadowNode *shadowNode, bool casterPass, bool dualParaboloid, SceneManager *sceneManager)
Called every frame by the Render Queue to cache the properties needed by this pass.
int getActualLeft(void) const
Gets one of the actual dimensions of the viewport, a value in pixels.
CalcMode
Definition: OgreShaderFFPFog.h:56
T parseParameter(const String ¶m)
D3D9Driver * item(size_t index)
@ CB_SET_CONSTANT_BUFFER_DS
Definition: OgreCbCommon.h:50
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.
GLuint getDisplayTextureName(void) const
Returns the GLuid of the texture that is being displayed.
Definition: OgreGL3PlusTextureGpu.h:109
void setNull()
Definition: OgreSharedPtr.h:312
virtual const StringVector & getScriptPatterns(void) const
Gets the file patterns which should be used to find scripts for this ResourceManager.
Definition: OgreResourceManager.h:464
bool _createRenderWindows(const RenderWindowDescriptionList &renderWindowDescriptions, WindowList &createdWindows)
Creates multiple rendering windows.
const ParameterList & getParameters(void) const
Retrieves a list of parameters valid for this object.
Archive * getDataFolder(void)
Definition: OgreHlms.h:572
Real mVplConstAtten
Definition: OgreInstantRadiosity.h:204
void removeVertex(size_t index)
Remove a vertex offset.
EmscriptenEGLWindow(EmscriptenEGLSupport *glsupport)
void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
void setFilenameExtension(const String &extension)
@ TextureEffectPlay_Looping
Video starts playing as soon as possible.
Definition: OgreExternalTextureSource.h:64
void destroy(void)
Destroys the window.
TexturePtr texture
Definition: OgreHlmsTextureManager.h:280
bool operator<(const VoxelizerBucket &other) const
Definition: OgreVctVoxelizer.h:66
const Quaternion & _getCachedDerivedOrientation(void) const
Definition: OgreCamera.h:425
virtual size_t getNumTranslators() const =0
Returns the number of translators being managed.
Cache-friendly array of Sphere represented as a SoA array.
Definition: C/OgreArraySphere.h:59
Vector3 reflect(const Vector3 &normal) const
Calculates a reflection vector to the plane with the given normal .
Definition: OgreVector3.h:739
void setUseColumnMajorMatrices(bool value)
Tells Ogre whether auto-bound matrices should be sent in column or row-major order.
Definition: OgreShaderProgram.h:184
virtual void destroyAllParticleSystems(void)
Removes & destroys all ParticleSystems from the SceneManager.
Real getPointAttenuationQuadratic(void) const
Returns the quadratic coefficient of point attenuation.
static bool renameFile(const Ogre::String &oldpath, const Ogre::String &newpath)
Rename a file.
virtual void bindBufferGS(uint16 slot, size_t offset=0, size_t sizeBytes=0)=0
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:1295
const double * getDoublePointer(size_t pos) const
Get a pointer to the 'nth' item in the double buffer.
Definition: OgreGpuProgramParams.h:1904
StaticCache()
Constructor.
Definition: OgreDataStream.h:56
Real getBoundingRadius() const
Get the bounding radius of the entire terrain.
@ SPC_LIGHTDIRECTION_WORLD_SPACE3
Definition: OgreShaderParameter.h:180
virtual const ColourValue & getColourRangeEnd(void) const
Gets the maximum colour of particles to be emitted.
Interface describing a manual resource loader.
Definition: OgreResource.h:518
const ColourValue & getSurfaceSpecularColour(void) const
void setNormalMapAnisotropy(unsigned int anisotropy)
Setup the normal map anisotropy value.
Definition: OgreShaderExNormalMapLighting.h:163
NaClWindow(NaClGLSupport *glsupport)
virtual void _resourceTransitionCreated(ResourceTransition *resTransition)
Definition: OgreRenderSystem.h:824
static D3DFOGMODE get(FogMode fm)
return a D3D9 equivalent for a Ogre FogMode value
void setAutoAspectRatio(bool autoratio)
If set to true a viewport that owns this frustum will be able to recalculate the aspect ratio wheneve...
BlendMode
Definition: OgreShaderExLayeredBlending.h:48
static const IdString Normal
Definition: OgreHlms.h:822
Definition: OgreGL3PlusDepthBuffer.h:51
uint16 getAccessMode() const
Gets the access mode of the stream.
Definition: OgreDataStream.h:204
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.
virtual void initialise(void)
Initialise.
DataStreamPtr encode(const String &formatextension, uint8 mipLevel, uint8 numMipmaps)
Encode the image and return a stream to the data.
void calculateSplitPoints(uint splitCount, Real nearDist, Real farDist, Real lambda=0.95, Real blend=0.125, Real fade=0.313)
Calculate a new splitting scheme.
CamerasInProgress(const Camera *camera)
Definition: OgreSceneManager.h:187
@ PF_R16_UINT
16-bit pixel format, 16 bits red (unsigned int).
Definition: OgrePixelFormat.h:168
#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.
bool isConsecutive() const
Return whether this buffer is laid out consecutive in memory (ie the pitches are equal to the dimensi...
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.
VoxelVisualizer(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, uint8 renderQueueId)
static String toString(double val, unsigned short precision=6, unsigned short width=0, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
Converts a double to a String.
@ LB_BlendNegation
Definition: OgreShaderExLayeredBlending.h:59
virtual const String & getOrigin(void) const
Get the origin of this resource, e.g.
Definition: OgreResource.h:441
void _setDepthBias(float constantBias, float slopeScaleBias)
See RenderSystem.
virtual void bindBufferCS(uint16 slot)
FilterOptions mMagFilter
Definition: OgreHlmsSamplerblock.h:67
Real getShadowNearClipDistance() const
Get the near clip plane distance to be used by the shadow camera, if this light casts texture shadows...
Definition: OgreLight.h:446
@ FLAG_UNCORRELATED
Definition: OgreHlmsPbsDatablock.h:59
bool getShareableDepthBuffer(void) const
Definition: OgreD3D11DepthTexture.h:51
void unlock(void)
Releases the lock on this buffer.
#define OGRE_LOCK_AUTO_MUTEX
Definition: OgreThreadDefinesBoost.h:33
Utility class for manipulating Strings.
Definition: OgreString.h:85
void setMaxChainElements(size_t maxElements)
Set the maximum number of chain elements per chain.
@ PT_MATRIX3
Definition: OgreStringInterface.h:63
bool getAutomaticBatching(void) const
Summary class collecting together index data source information.
Definition: OgreVertexIndexData.h:289
void destroy()
Destroy the FFP builder instance.
PageManager * getManager() const
virtual void finalize(LodData *data)=0
virtual const AnyNumeric & getValue(void) const
Get the value at this keyframe.
virtual const Vector3 & getInitialPosition(void) const
Gets the initial position of this OldNode, see setInitialState for more info.
uint8 numMipmaps
When this value is 0, it means all mipmaps from mipmapLevel until the end.
Definition: OgreDescriptorSetTexture.h:184
int msTriangles[18][13]
Definition: OgreVolumeIsoSurfaceTablesMC.h:363
virtual void startMapRegion(void)
TagPoint * createTagPointOnBone(OldBone *bone, const Quaternion &offsetOrientation=Quaternion::IDENTITY, const Vector3 &offsetPosition=Vector3::ZERO)
Creates a TagPoint ready to be attached to a bone.
void destroy(HighLevelGpuProgram *prog)
HlmsPso pso
Definition: OgreHlmsDiskCache.h:149
void setActiveFragmentShader(GLSLShader *fragmentGpuProgram)
Set the active fragment shader for the next rendering state.
void _releaseManualHardwareResources()
Definition: OgreBillboardSet.h:828
void destroyUavBuffer(UavBufferPacked *uavBuffer)
Destroys the given UAV buffer created with createUavBuffer.
VectorIterator< Passes > PassIterator
Definition: OgreTechnique.h:168
virtual ~HlmsUnlitMobileDatablock()
Real getScissorHeight(void) const
Definition: OgreViewport.h:145
@ ID_REF_VALUE
Definition: OgreScriptCompiler.h:957
@ RSC_EXPLICIT_API
API requires ResourceTransition for everything (e.g.
Definition: OgreRenderSystemCapabilities.h:215
MipmapGenerationMethods
Definition: OgreCompositorPassMipmapDef.h:51
bool mForceMipmapFallback
Force this pass to behave like GENERATE_MIPMAPS, regardless of compute shader support.
Definition: OgreCompositorPassIblSpecularDef.h:62
#define OGRE_DELETE_T(ptr, T, category)
Free the memory allocated with OGRE_NEW_T. Category is required to be restated to ensure the matching...
Definition: OgreMemoryAllocatorConfig.h:464
void removeFactory(SceneManagerFactory *fact)
Remove a SceneManagerFactory.
EdgeData * getEdgeList(void)
Class for displaying the error dialog if Ogre fails badly.
Definition: Android/OgreErrorDialogImp.h:37
vector< MovableObject * >::type MovableObjectVec
Definition: OgreSceneManager.h:247
@ VpNormal
Definition: OgreCommon.h:67
virtual void abortPendingRequestsByChannel(uint16 channel)
Abort all previously issued requests in a given channel.
GLSLShader * geometryShader
Definition: OgreGL3PlusHlmsPso.h:64
uint16 getSize() const
Get the size of the terrain in vertices along one side.
Real getViewportWidth() const
void setNamedConstant(const String &name, const Vector3 &vec)
Sets a Vector3 parameter to the program.
String doGet(const void *target) const
bool generateMipmaps(bool gammaCorrected, Filter filter=FILTER_BILINEAR)
Generates the mipmaps for this image.
Definition: OgreCbShaderBuffer.h:38
static const uint16 TERRAINLODDATA_CHUNK_VERSION
Definition: OgreTerrainLodManager.h:56
virtual void write(const Matrix3 *m, size_t count=1)
MovableObject * movableObject
Definition: OgrePlanarReflections.h:83
void save(DataStreamPtr &dataStream, const Hlms::RenderableCache &renderableCache)
void appendPOD(const_iterator otherBegin, const_iterator otherEnd)
Definition: OgreStackVector.h:162
static const IdString ShadowCasterPoint
Definition: OgreHlms.h:868
@ RSC_VERTEX_PROGRAM
Supports vertex programs (vertex shaders)
Definition: OgreRenderSystemCapabilities.h:98
Listener()
Definition: OgreOldNode.h:90
bool getOptimiserEnabled(void) const
Gets if the GLSL optimiser is enabled.
Definition: OgreGLSLESShader.h:96
String doGet(const void *target) const
SharedPtr< AsyncTicket > AsyncTicketPtr
Definition: OgrePrerequisites.h:386
DefaultHardwareBufferManagerBase()
virtual ~APKZipArchiveFactory()
Definition: OgreAPKZipArchive.h:44
uint32 getVisibilityFlags(void) const
Get the visibility flags for this terrain.
Definition: OgreTerrain.h:1355
void setHollowRectRadius(Real radius)
The log manager handles the creation and retrieval of logs for the application.
Definition: OgreLogManager.h:69
uint16 mNormalMapIdx
Definition: OgreDecal.h:88
void setOrientation(Quaternion q)
Sets a given orientation in local space (ie.
void reset(T *a=0)
Definition: OgreThreadDefinesSTD.h:56
@ SPC_LIGHTPOSITION_WORLD_SPACE0
Light position in world space index 0-7.
Definition: OgreShaderParameter.h:217
bool isClosed(void) const
Indicates whether the window has been closed by the user.
PoseRefIterator getPoseReferenceIterator(void)
Get an iterator over the pose references.
void setSamplerblock(uint8 texUnit, const HlmsSamplerblock ¶ms)
Sets a new sampler block to be associated with the texture (i.e.
HighLevelGpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
Create an instance of GLSLESShader.
void load(const String &filename, const String &resourceGroup, const String &separators="\t:=", bool trimWhitespace=true)
load from a filename (using resource group locations)
virtual void reloadFrom(Archive *newDataFolder, ArchiveVec *libraryFolders=0)
Destroys all the cached shaders and in the next opportunity will recreate them from the new location.
Definition: OgreHlmsJson.h:63
@ SMT_NONE
Definition: OgreCommon.h:338
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:1134
const String * findAliasNameStr(IdString idName) const
This function CAN be called from any thread.
virtual void bindBufferGS(uint16 slot)
float getLightProfilesInvHeight(void) const
Definition: OgreRoot.h:1048
Real collapseCost
Definition: OgreLodData.h:93
AnyNumeric operator*(Real factor) const
Definition: OgreAny.h:336
@ M_MESH_SKELETON_LINK
Definition: OgreMeshFileFormat.h:101
size_t srcBytesPerVertex
Definition: OgreVertexBufferDownloadHelper.h:81
uint16 depthBufferId
Depth Buffer's pool ID.
Definition: OgreTextureDefinition.h:515
ParameterPtr getParameterByContent(const ShaderParameterList ¶meterList, const Parameter::Content content, GpuConstantType type)
Get parameter by a given content and type from the given parameter list.
uint16 getAreaLightsApproxLimit(void) const
Definition: OgreHlms.h:525
Definition: OgreDescriptorSetUav.h:151
Controller< Real > * createTextureUScroller(TextureUnitState *layer, Real uSpeed)
Creates a basic time-based texture u coordinate modifier designed for creating scrolling textures.
@ Standard
The subsample locations follow a fixed known mPattern.
Definition: OgreCommon.h:915
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:234
static Radian parseAngle(const String &val, Radian defaultValue=Radian(0))
Converts a String to a Angle.
Definition: OgreStringConverter.h:178
@ PF_R8G8B8A8_SNORM
32-bit pixel format, 8 bits red (signed normalised int), 8 bits blue (signed normalised int),...
Definition: OgrePixelFormat.h:236
LwConstString(const char *inStr, size_t maxLength)
Definition: OgreLwConstString.h:79
bool getInheritScale(void) const
Returns true if this node is affected by scaling factors applied to the parent node.
void objectCreated(ObjectData &outObjectData, size_t renderQueue)
Requests memory for the given ObjectData, initializing values.
CollapseCostHeap::iterator costHeapPosition
Definition: OgreLodData.h:112
@ MEMCATEGORY_GEOMETRY
Geometry held in main memory.
Definition: OgreMemoryAllocatorConfig.h:164
void updateDebugDisplay(Page *p, SceneNode *sn)
Update the contents of the passed in SceneNode to reflect the debug display of a given page.
vector< GpuSharedParametersUsage >::type GpuSharedParamUsageList
Definition: OgreGpuProgramParams.h:1449
bool getUseBaseKeyFrame() const
Whether a base keyframe is being used for this Animation.
::GLXFBConfig _getFbConfig(void) const
Definition: OgreGLXContext.h:52
String alias
A descriptive name that is merely used to assist in recognition.
Definition: OgreTerrainMaterialGenerator.h:106
@ SKELETON_BLENDMODE
Definition: OgreSkeletonFileFormat.h:58
const ColourValue & getAmbientLightLowerHemisphere(void) const
Definition: OgreSceneManager.h:1650
ArrayReal xyHalfSize[2]
Definition: OgrePlanarReflectionActor.h:71
HlmsPso const * pso
Definition: OgreCbPipelineStateObject.h:37
SortMode _getSortMode(void) const
Gets the desired particles sort mode of this renderer.
ArrayReal mChunkBase[12]
Definition: C/OgreArrayMatrixAf4x3.h:72
SharedPtr< Y > staticCast() const
Definition: OgreSharedPtr.h:246
Definition: OgreD3D9DriverList.h:37
bool hasSkeletonAnimation(void) const
Definition: OgreRenderable.h:145
bool isAttached(void) const
Returns true if this object is attached to a Node.
Definition: OgreMovableObject.h:203
ConstVectorIterator< NodeTrackList > NodeTrackIterator
Definition: OgreAnimation.h:398
SharedPtr< Skeleton > SkeletonPtr
Definition: OgrePrerequisites.h:450
void setTargetLanguage(const String &shaderLanguage, const float version=1.0)
Set the target shader language.
@ TVC_AMBIENT
Definition: OgreCommon.h:305
SimpleRenderable(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager)
Constructor.
ArrayReal planeNegD[5]
Arrangement is: 0 = main plane 1 = +Y plane (north) 2 = -Y plane (south) 3 = +X plane (east) 4 = -X p...
Definition: OgrePlanarReflectionActor.h:69
virtual bool isSupported(void) const
Returns whether this program can be supported on the current renderer and hardware.
~D3D11HardwareBufferManagerBase()
void setLogDetail(LoggingLevel ll)
const ColourValue & getAmbientLightColour(void) const
@ NONE
Definition: OgreTerrainAutoUpdateLod.h:69
@ RSC_POINT_SPRITES
Supports basic point sprite rendering.
Definition: OgreRenderSystemCapabilities.h:127
virtual void shaderCacheEntryCreated(const String &shaderProfile, const HlmsCache *hlmsCacheEntry, const HlmsCache &passCache, const HlmsPropertyVec &properties, const QueuedRenderable &queuedRenderable)
Called after the shader was created/compiled, and right before bindGpuProgramParameters (relevant inf...
Definition: OgreHlmsListener.h:97
@ GCT_BOOL4
Definition: OgreGpuProgramParams.h:119
virtual void destroy(void)
Command object for setting the alignment.
Definition: OgreTextAreaOverlayElement.h:207
map< SkeletonInstance *, BoneVec >::type BonesPerSkeletonInstance
Definition: OgreSceneNode.h:39
Interface definition for a handler of requests.
Definition: OgreWorkQueue.h:168
void setTransposeMatrices(bool val)
Gets the physical buffer index associated with a logical bool constant index.
Definition: OgreGpuProgramParams.h:2374
virtual AsyncTicketPtr createAsyncTicket(BufferPacked *creator, StagingBuffer *stagingBuffer, size_t elementStart, size_t elementCount)
reference operator[](size_type n)
Definition: OgreCommon.h:499
A 2D element which contains other OverlayElement instances.
Definition: OgreOverlayContainer.h:57
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
@ UAV
Definition: OgreScriptCompiler.h:518
ColourValue mBorderColour
Definition: OgreHlmsSamplerblock.h:83
Definition: OgreCompositorPassQuadDef.h:52
Vector4(const int afCoordinate[4])
Definition: OgreVector4.h:72
GeneralAllocatedObject PageAlloc
Definition: OgrePagingPrerequisites.h:52
void postExtraThreadsStarted()
AnyNumeric & operator-=(const AnyNumeric &rhs)
Definition: OgreAny.h:352
static Real Tan(const Radian &fValue, bool useTables=false)
Tangent function.
Definition: OgreMath.h:469
StrideChanger(size_t _offsetAfterPadding, size_t _paddedBytes)
Definition: OgreGL3PlusVaoManager.h:64
static void startup(void)
Static method to startup and register the DDS codec.
static IDirect3DDevice9 * getResourceCreationDevice(UINT index)
@ SOP_REPLACE
Set the stencil value to the reference value.
Definition: OgreCommon.h:106
TextureGpu * getStencilBuffer(void) const
@ SPC_TEXTURE_COORDINATE4
Definition: OgreShaderParameter.h:292
@ SPC_POSITION_LIGHT_SPACE7
Definition: OgreShaderParameter.h:100
void setGeometryProgramParameters(GpuProgramParametersSharedPtr params)
Sets the geometry program parameters.
void setPreprocessorDefines(const String &defines)
Sets the preprocessor defines use to compile the program.
Definition: OgreGLSLESShader.h:88
Definition: OgreGLES2MultiSourceVertexBufferPool.h:40
Vector3 position
Definition: OgreBillboardChain.h:98
void setValue(const String &name, const char *pChar)
Special-case char*, convert to String automatically.
Definition: OgreProperty.h:338
virtual const LightList & getLights(void) const OGRE_OVERRIDE
vector< PoseRef >::type PoseRefList
Definition: OgreKeyFrame.h:214
void escalateLoading()
Escalates the loading of a background loaded resource.
uint4(const Vector4 &val)
Definition: OgreShaderPrimitives.h:82
GL3PlusStagingBuffer(size_t internalBufferStart, size_t sizeBytes, VaoManager *vaoManager, bool uploadOnly, GLuint vboName)
BillboardSet * mParentSet
Definition: OgreBillboard.h:85
@ CopyDst
Definition: OgreResourceTransition.h:56
uint treeStart
Definition: OgreTerrainLodManager.h:79
void _setCurrentCompositorPass(CompositorPass *pass)
BillboardOrigin
Enum covering what exactly a billboard's position means (center, top-left etc).
Definition: OgreBillboardSet.h:57
void _firstUpload(void *data, size_t elementStart, size_t elementCount)
Only use this function for the first upload.
virtual unsigned short getNumAnimations(void) const
Gets the number of animations on this skeleton.
const int * getIntPointer(size_t pos) const
Get a pointer to the 'nth' item in the int buffer.
Definition: OgreGpuProgramParams.h:1910
@ LBO_ADD
Add colour components together.
Definition: OgreBlendMode.h:61
TextureGpu * _getTexturePtr(size_t frame) const
Get the texture pointer for a given frame.
FileInfoListPtr findResourceFileInfo(const String &group, const String &pattern, bool dirs=false)
Find all files or directories matching a given pattern in a group and get some detailed information a...
void setValueMap(const PropertyValueMap &values)
Sets the current state from a given value map.
static String toString(const Quaternion &val)
Converts a Quaternion to a String.
void operator=(const AtomicObject< T > &cousin)
Definition: OgreAtomicObject.h:58
uint16 mDebugStrSize
Definition: OgreHlmsDiskCache.h:172
virtual void swapBuffers(void)
Only valid for TextureGpu classes.
bool getAutoHardwareBufferManagement() const
Definition: OgreD3D9ResourceManager.h:93
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.
void setNormalTextureRaw(TextureGpu *normalTex, uint32 sliceIdx)
virtual size_t _getSizeBytes(void)=0
Returns size in bytes.
static const String & getDirectionalLightExtruderVs_4_0(void)
Get extruder program source for directional lights, compatible with vs_4_0.
Definition: OgreShadowVolumeExtrudeProgram.h:247
virtual void setPoseAnimationIncluded(ushort poseCount)
Sets whether a vertex program includes the required instructions to perform pose animation.
Definition: OgreGpuProgram.h:339
@ WFT_SAWTOOTH
Gradual steady increase from min to max over the period with an instant return to min at the end.
Definition: OgreCommon.h:282
@ SBO_ADD
Definition: OgreBlendMode.h:255
int type
Definition: OgreX11EGLSupport.h:94
virtual void _beginUpdate()
Method for manual management of rendering : fires 'preRenderTargetUpdate' and initialises statistics ...
virtual Real getRSDepthRange(void) const
OpenGL depth is in range [-1;1] so it returns 2.0f; D3D11 & Metal are in range [0;1] so it returns 1....
map< unsigned short, NumericAnimationTrack * >::type NumericTrackList
Definition: OgreAnimation.h:403
virtual void _updateViewportRenderPhase02(Viewport *viewport, Camera *camera, const Camera *lodCamera, uint8 firstRq, uint8 lastRq, bool updateStatistics)
Method for manual management of rendering - renders the given viewport (even if it is not autoupdated...
@ PF_D32_FLOAT
Depth texture format. 32 bits for depth.
Definition: OgrePixelFormat.h:348
static const IdString MaterialsPerBuffer
Definition: OgreHlmsPbs.h:453
HlmsManager * getHlmsManager(void) const
Definition: OgreHlms.h:458
GLuint getGLProgramHandle(void) const
Get the GL Handle for the program object.
Definition: OgreGLSLProgram.h:114
bool HasAutoMipMapGenerationEnabled() const
Definition: OgreD3D11NullTexture.h:49
@ CNT_IMPORT
Definition: OgreScriptCompiler.h:57
void releaseSlot(ConstBufferPoolUser *user)
Releases a slot requested with requestSlot.
virtual ~WorkQueue()
Definition: OgreWorkQueue.h:228
virtual void removeNode(Node *n)
Remove tracking on a given node.
virtual bool isKeyEnabled() const
Definition: OgreOverlayElement.h:421
static Root & getSingleton(void)
Override standard Singleton retrieval.
D3D11CompatBufferInterface(size_t vboPoolIdx, ID3D11Buffer *d3dBuffer, D3D11Device &device)
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
int save_under
Definition: OgreX11EGLSupport.h:90
T z
Definition: OgreShaderPrimitives.h:43
static const uint32 CHUNK_ID
Definition: OgrePagedWorldSection.h:89
ImageDownsamplerCube downscale2x_sRGB_A8_cube
Definition: OgreImageDownsampler.h:197
@ ACT_LIGHT_POWER_SCALE
Light power level, a single scalar as set in Light::setPowerScale (index determined by setAutoConstan...
Definition: OgreGpuProgramParams.h:1068
static const uint32 VOLUME_CHUNK_ID
The id of volume files.
Definition: OgreVolumeSource.h:68
TextureGpu * getAlbedoVox(void)
Definition: OgreVctVoxelizer.h:392
void resize(size_t newSize)
Resizes the string.
Definition: OgreLwString.h:162
This specific abstract node represents a script object.
Definition: OgreScriptCompiler.h:127
void setBlendType(SceneBlendType colour, SceneBlendType alpha)
Shortcut to set the blend factors to common blending operations.
Definition: OgreX11EGLSupport.h:90
static const IdString BlendModeIndex3
Definition: OgreUnlitProperty.h:114
void addParameter(const ParameterDef ¶mDef, ParamCommand *paramCmd)
Method for adding a parameter definition for this class.
Definition: OgreStringInterface.h:137
const HlmsSamplerblock * getBindTrilinearSamplerblock(void)
Definition: OgreParallaxCorrectedCubemapBase.h:98
void setFunction(const SharedPtr< ControllerFunction< T > > &func)
Sets the function object to be used by this controller.
Definition: OgreController.h:203
virtual ~GridSource(void)
Destructor.
Vector3 totalTo
The front upper rightcorner of the world.
Definition: OgreVolumeChunkHandler.h:54
bool addToRenderQueue
Whether we should immediately add to render queue v2 objects.
Definition: OgreSceneManager.h:103
virtual void _setRenderOperation(const v1::CbRenderOp *cmd)
GLuint fboName
Definition: OgreGL3PlusRenderPassDescriptor.h:48
bool requiresTextureFlipping() const
Definition: OgreD3D11Texture.h:214
ImportData(const ImportData &rhs)
Definition: OgreTerrain.h:420
ImageDownsamplerCube downscale2x_Float32_A_cube
Definition: OgreImageDownsampler.h:160
@ PF_D16_UNORM
Depth texture format. 16 bits for depth.
Definition: OgrePixelFormat.h:346
ushort _getSubMeshIndex(const String &name) const
Gets the index of a submesh with a given name.
bool getFadeAttenuationRange(void) const
Definition: OgreForwardPlusBase.h:219
NodeAnimationTrack(Animation *parent, unsigned short handle, Node *targetNode)
Constructor, associates with a OldNode.
int chunksBeingProcessed
The amount of chunks being processed (== loading).
Definition: OgreVolumeChunk.h:118
void getWorldTransforms(Matrix4 *xform) const
Overridden - see Renderable.
@ IRS_NONE
No special illumination stage.
Definition: OgreSceneManager.h:241
void destroyData(PageStrategyData *d)
Destroy a PageStrategyData instance containing the data specific to this PageStrategy.
BySkeletonDefList bySkeletonDefs
Definition: OgreSkeletonAnimManager.h:107
CalcMode getCalcMode() const
Return the current calculation mode.
Definition: OgreShaderFFPFog.h:116
virtual size_t getNumTranslators() const
Returns the number of translators being managed.
Vector3 scale
Definition: OgreStaticGeometry.h:180
virtual void notifyDataIsReady(void)
Notifies it is safe to use the real data. Everything has been uploaded.
ImageDownsampler2D downscale2x_sRGB_AX88
Definition: OgreImageDownsampler.h:186
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
See HardwareBuffer.
void setWorldMatrices(const Matrix4 *m, size_t count)
Sets the world matrices, avoid query from renderable again.
bool empty() const
Definition: OgreMain/include/OgreSmallVector.h:158
@ FT_MIP
The filter used when determining the mipmap.
Definition: OgreCommon.h:212
void updateParamsForCompositeMap(const MaterialPtr &mat, const Terrain *terrain)
Update params for a terrain.
@ M_SUBMESH
Definition: OgreMeshFileFormat.h:64
SceneManagerEnumerator::MetaDataIterator getSceneManagerMetaDataIterator(void) const
Iterate over all types of SceneManager available for construction, providing some information about e...
bool registerShaderFactory(const String &syntaxCode, CreateGpuProgramCallback createFn)
virtual void _render(const CbDrawCallIndexed *cmd)
Renders the VAO. Assumes _setVertexArrayObject has already been called.
void setAnimatedTextureName(const String *const names, unsigned int numFrames, Real duration=0)
Sets the names of the texture images for an animated texture.
CapabilitiesCategory
Enumerates the categories of capabilities.
Definition: OgreRenderSystemCapabilities.h:65
virtual Real getVerticalTexelOffset(void)=0
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this r...
virtual void _setTextures(uint32 slotStart, const DescriptorSetTexture *set, uint32 hazardousTexIdx)=0
D3D11RenderToVertexBuffer(D3D11Device &device, D3D11HardwareBufferManagerBase *bufManager)
void _markChanged()
Internal method - indicates that a change has been made that would require material regeneration.
Definition: OgreTerrainMaterialGenerator.h:255
CSGPlaneSource(const Real d, const Vector3 &normal)
Constructor.
uint16 getCompositeMapSize() const
Get the requested size of composite map for this terrain.
Definition: OgreTerrain.h:1095
SceneType
Classification of a scene to allow a decision of what type of SceenManager to provide back to the app...
Definition: OgreSceneManager.h:2835
virtual String validateConfig()=0
Make sure all the extra options are valid.
void skip(long count)
Skip a defined number of bytes.
bool renderToVertexBuffer
Specifies whether rendering to the vertex buffer.
Definition: OgreRenderOperation.h:83
static const IdString VctEnableSpecularSdfQuality
Definition: OgreHlmsPbs.h:558
CSGDifferenceSource(const Source *a, const Source *b)
Constructor.
GLenum blendFuncAlpha
Definition: OgreGLES2HlmsPso.h:60
bool needsDifferentView(void) const
virtual void holdPage(PageID pageID)
Ask for a page to be kept in memory if it's loaded.
const String & getBlendTextureName(uint8 textureIndex) const
Get the name of the packed blend texture at a specific index.
uint32 getMaxBoundViewports(void)
Definition: OgreRenderSystem.h:710
Real mVplPowerBoost
Tweaks how strong VPL lights should be.
Definition: OgreInstantRadiosity.h:213
const Matrix4 & getAnimationMatrix(uint8 textureUnit) const
Abstract class definition of a factory object for ParticleSystemRenderer.
Definition: OgreParticleSystemRenderer.h:130
static String FACTORY_TYPE_NAME
Definition: OgreParticleSystemManager.h:401
Defines the interface to a strategy class which is responsible for deciding when Page instances are r...
Definition: OgrePageStrategy.h:74
int getActualHeight(void) const
Gets one of the actual dimensions of the viewport, a value in pixels.
const ParamDictionary * getParamDictionary(void) const
Definition: OgreStringInterface.h:203
virtual Window * newWindow(const String &name, uint32 width, uint32 height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
static Real Sign(Real fValue)
Window * _createRenderWindow(const String &name, uint32 width, uint32 height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
QueuedRenderable(uint64 _hash, Renderable *_renderable, const MovableObject *_movableObject)
Definition: OgreRenderQueue.h:56
String aliasName
Definition: OgreHlmsTextureManager.h:158
void initialize()
Render-System specific data.
Definition: OgreHlmsPso.h:319
OutOfDateCache(TextureGpu *_texture, Image2 &image)
const VertexElement * getElement(unsigned short index) const
Get a single element.
const Vector3 & getCommonDirection(void) const
Gets the common direction for all billboards (BBT_ORIENTED_COMMON)
map< String, PropertyBase * >::type PropertyMap
Definition: OgreProperty.h:300
virtual void destroyVertexDeclaration(VertexDeclaration *decl)
Destroys a vertex declaration.
Definition: OgreHardwareBufferManager.h:470
void _resetRenderedRqs(size_t numRqs)
Called at the beginning of each frame to know which RenderQueue IDs have been rendered.
vector< StagingBuffer * >::type StagingBufferVec
Definition: OgreVaoManager.h:42
Definition: OgreCbDrawCall.h:101
MovableObject * movable
The movable, or NULL if this is not a movable result.
Definition: OgreSceneQuery.h:358
vector< Node * >::type NodeList
Definition: OgreRibbonTrail.h:88
void beginGPUEvent(const String &event)
Mark the beginning of a GPU event group.
SceneCtlAllocatedObject RenderQueueAlloc
Definition: OgreMemoryAllocatorConfig.h:324
virtual Real computeEdgeCollapseCost(LodData *data, LodData::Vertex *src, LodData::Edge *dstEdge)
Returns the collapse cost of the given edge.
CompositorPassDepthCopyDef(CompositorNodeDef *parentNodeDef, CompositorTargetDef *parentTargetDef)
Definition: OgreCompositorPassDepthCopyDef.h:60
D3D11VertexArrayObject(uint32 vaoName, uint32 renderQueueId, uint16 inputLayoutId, const VertexBufferPackedVec &vertexBuffers, IndexBufferPacked *indexBuffer, OperationType opType, D3D11VertexArrayObjectShared *sharedData)
Definition: OgreD3D11VertexArrayObject.h:56
AxisAlignedBox(const AxisAlignedBox &rkBox)
Definition: OgreAxisAlignedBox.h:104
virtual bool beforeIlluminationPassesCleared(Technique *technique)
Called right before illuminated passes would be removed, so that owner of runtime generated technique...
Definition: OgreMaterialManager.h:117
const String & getName(void)
Returns the name of the stream, if it has one.
Definition: OgreDataStream.h:202
void setSpecular(Real red, Real green, Real blue, Real alpha)
Sets the specular colour reflectance properties of every Pass in every Technique.
void removeContentCollectionFactory(PageContentCollectionFactory *f)
Remove a PageContentCollectionFactory implementation.
void parseScript(DataStreamPtr &stream, const String &groupName)
Parse a script file.
virtual ~MaterialManager()
Default destructor.
uint16 getNumPoses()
Definition: OgreSubMesh2.h:205
@ FGT_FACE_LIST
Definition: OgreStaticFaceGroup.h:46
MeshPtr getByName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Get a resource by name.
GLsizei stride
Definition: OgreGL3PlusVaoManager.h:103
static DXGI_FORMAT getForSrv(PixelFormatGpu pf)
ID3D11PixelShader * getPixelShader(void) const
static CommandBufferExecuteFunc execute_drawCallStripEmulatedNoBaseInstance
Definition: OgreCommandBuffer.h:71
const Matrix4 & getViewMatrix(void) const
Gets the view matrix for this frustum.
@ RSC_VERTEX_TEXTURE_FETCH
Supports vertex texture fetch.
Definition: OgreRenderSystemCapabilities.h:131
PackingMethod
Definition: OgreHlmsTextureManager.h:75
virtual bool getCullIndividually(void) const
Returns whether or not billboards in this are tested individually for culling.
@ Diffuse
Definition: OgreTextureGpuManager.h:100
void setNormalMapWeight(Real weight)
@See setDetailNormalWeight. This is the same, but for the main normal map.
@ GCT_INT3
Definition: OgreGpuProgramParams.h:96
bool unregisterShaderFactory(const String &syntaxCode)
void * allocateScratch(uint32 size)
Allocator method to allow us to use a pool of memory as a scratch area for hardware buffers.
Definition: OgreGL3PlusHardwareBufferManager.h:138
static void startup(void)
Static method to startup FreeImage and register the FreeImage codecs.
uint16 mEmissiveIdx
Definition: OgreDecal.h:89
virtual void convertPath(String &inOutPath) const
Some implementations (i.e.
virtual 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:475
GLSLSeparableProgram(GLSLShader *vertexShader, GLSLShader *hullShader, GLSLShader *domainShader, GLSLShader *geometryShader, GLSLShader *fragmentShader, GLSLShader *computeShader)
Constructor should only be used by GLSLSeparableProgramManager.
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:102
MeshLodUsage()
Definition: OgreMesh.h:1067
HlmsDatablock * getDatablock(void) const
Definition: OgreRenderable.h:380
bool getIsOptimised(void)
Gets if the GLSL source has been optimised successfully.
Definition: OgreGLSLESShader.h:101
void _setBlendMask(const BoneBlendMask *blendMask)
Set the blend mask.
const MaterialPtr & getMaterial(void) const
void _markClean()
Mark the shared set as being clean (values successfully updated by the render system).
void exportSkeleton(const Skeleton *pSkeleton, const String &filename, SkeletonVersion ver=SKELETON_VERSION_LATEST, Endian endianMode=ENDIAN_NATIVE)
Exports a skeleton to the file specified.
@ SM_Source2InvModulate
Definition: OgreShaderExLayeredBlending.h:89
void destroyInstance(Archive *ptr)
Destroys an object which was created by this factory.
Definition: OgreFileSystem.h:139
bool isModified() const
Returns whether this terrain has been modified since it was first loaded / defined.
Definition: OgreTerrain.h:761
bool getSplitMirrored() const
Gets whether or not to split vertices when a mirrored tangent space transition is detected.
Definition: OgreTangentSpaceCalc.h:137
Real getTextureVScroll(void) const
Get texture vscroll value.
PixelFormatGpu getPixelFormat(void) const
Definition: OgreTexBufferPacked.h:86
void _useLights(const LightList &lights, unsigned short limit)
See RenderSystem.
Definition: OgreGLES2RenderSystem.h:249
void notifyCamera(Camera *cam, PagedWorldSection *section)
Called when a camera is used for any kind of rendering.
@ GCT_MATRIX_DOUBLE_2X4
Definition: OgreGpuProgramParams.h:105
void setDirection(const Vector3 &vec)
Sets the direction in which a light points.
virtual void setDualGridVisible(const bool visible)
Shows the debug visualization entity of the dualgrid.
uint8 repeat
Definition: OgreVertexBufferDownloadHelper.h:46
Definition: OgreRenderPassDescriptor.h:152
Real getValue(void) const
virtual bool requiresTextureFlipping() const
Definition: OgreGL3PlusNullTexture.h:100
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:47
bool getDebugMode(void) const
Definition: OgreForwardPlusBase.h:202
float getMaxDistance(void) const
Definition: OgreForward3D.h:109
const Plane & getPlane(void) const
const FactoryMap & getOverlayElementFactoryMap() const
Get const access to the list of registered OverlayElement factories.
Definition: OgreOverlayManager.h:195
virtual void setSkeletalAnimationIncluded(bool included)
Sets whether a vertex program includes the required instructions to perform skeletal animation.
Definition: OgreGpuProgram.h:312
Definition: OgreGL3PlusTextureGpuManager.h:48
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
static ProgramManager * getSingletonPtr()
Override standard Singleton retrieval.
void setMaxActiveActors(uint8 maxActiveActors, IdString workspaceName, bool useAccurateLighting, uint32 width, uint32 height, bool withMipmaps, PixelFormatGpu pixelFormat, bool mipmapMethodCompute)
Setups how many actors can be active at the same time.
virtual const String & getType() const
static D3DDECLTYPE get(VertexElementType vType)
Get vertex data type.
bool isDebugOutputEnabled() const
Get whether debug output is enabled for this log.
Definition: OgreLog.h:140
void setInitialised(bool flag)
Definition: OgreGL3PlusVertexArrayObject.h:51
static FFPRenderStateBuilder & getSingleton()
Override standard Singleton retrieval.
static Real Sin(Real fValue, bool useTables=false)
Sine function.
Definition: OgreMath.h:399
virtual void setAlphaTest(CompareFunction compareFunction, bool shadowCasterOnly=false)
Sets the alpha test to the given compare function.
Simple wrap up to load an AoS matrix 4x3 using SSE.
Definition: C/OgreArrayMatrixAf4x3.h:192
ParticleAffector * _createAffector(const String &affectorType, ParticleSystem *psys)
Internal method for creating a new affector from a factory.
FrameBuffer
Definition: OgreRenderTarget.h:85
Real * getBoneWeightPtr(IdString boneName)
Gets a pointer current per-bone weight of a particular bone.
SharedPtrInfoFree(T *o)
Definition: OgreSharedPtr.h:101
@ ACT_LIGHT_CASTS_SHADOWS
Returns (int) 1 if the given light casts shadows, 0 otherwise (index set in extra param)
Definition: OgreGpuProgramParams.h:1141
iterator end()
Definition: OgreStackVector.h:291
Contains the data of an element of the BillboardChain.
Definition: OgreBillboardChain.h:86
static ParameterPtr createInPosition(int index)
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.
@ PFG_A8_UNORM
Definition: OgrePixelFormatGpu.h:111
String getTopRightBorderUVString() const
Vector3 getDerivedDirection(void) const
Retrieves the direction of the light including any transform from nodes it is attached to.
static const IdString DiffuseMap
Definition: OgreHlmsUnlitMobile.h:105
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.
Real sphereRadius
Definition: OgreInstantRadiosity.h:185
bool eof(void) const
Returns true if the stream has reached the end.
Definition: OgreD3D11TextureGpu.h:42
Vector2 mUvBakingOffset
When mUvBakingSet is enabled, this defines the UV offset (in pixels).
Definition: OgreCompositorPassSceneDef.h:185
float * getBlendPointer()
Get a pointer to the whole blend data.
Ogre::Any getValue() const
Return the current value as an Any.
Definition: OgreProperty.h:244
Definition: OgreLodData.h:139
UINT getAdapterNumber() const
UavBufferPacked * buffer
UAV buffer to bind.
Definition: OgreDescriptorSetUav.h:63
Definition: OgreSkeletonAnimManager.h:50
Pass * getPass(const String &name)
Retrieves the Pass matching name.
GLES2NullTextureTarget(GLES2NullTexture *ultimateTextureOwner, const String &name, v1::HardwarePixelBuffer *buffer, uint32 zoffset)
void addListener(CompositorWorkspaceListener *listener)
void removeShaderProfile(const String &profile)
Remove a given shader profile, if present.
Definition: OgreRenderSystemCapabilities.h:634
@ M_SUBMESH_NAME_TABLE_ELEMENT
Definition: OgreMeshFileFormat.h:114
virtual void markProfileEvent(const String &eventName)
Marks an instantaneous event for graphics profilers.
CompositorPassClear(const CompositorPassClearDef *definition, SceneManager *sceneManager, const RenderTargetViewDef *rtv, CompositorNode *parentNode)
Real y
Definition: OgreQuaternion.h:320
bool wantsToGoWindowed(void) const
Returns true if we are in fullscreen mode right now, but want to go windowed mode.
T bottom
Definition: OgreCommon.h:714
Real distance(const Vector3 &v) const
Returns the minimum distance between a given point and any part of the box.
MapRange(typename T::iterator b, typename T::iterator e)
Constructor.
Definition: OgreIteratorRange.h:260
bool getInitialized()
Definition: OgreGL3PlusContext.h:58
bool isHardwareGammaReadToBeUsed() const
Indicates whether the hardware gamma is actually enabled and supported.
Definition: OgreD3D9Texture.h:203
AoS (array of structures) version of ArrayAabb.
Definition: C/OgreAabb.h:79
@ PFG_PVRTC2_2BPP
PVRTC (PowerVR) Version 2, 2 bpp.
Definition: OgrePixelFormatGpu.h:207
HlmsListener * getListener(void) const
Returns the current listener.
VertexTrackIterator getVertexTrackIterator(void) const
Get non-updateable iterator over node tracks.
Definition: OgreAnimation.h:433
void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
void _calculateNumThreadGroupsBasedOnSetting()
INTERNAL USE.
Command Buffer implementation.
Definition: OgreCommandBuffer.h:52
const Plane & getFrustumPlane(unsigned short plane) const
Retrieves a specified plane of the frustum (world space).
virtual OverlayElement * clone(const String &instanceName)
@ Stencil
Definition: OgreRenderPassDescriptor.h:173
Definition: OgreGL3PlusDepthTexture.h:37
uint16 getZOrder(void) const
Gets the Z-order of this overlay.
void doSet(void *target, const String &val)
ShadeOptions
Light shading modes.
Definition: OgreCommon.h:229
virtual void beginGPUSampleProfile(const String &name, uint32 *hashCache)
void unmap(size_t ticket)
Unmaps given ticket (got from.
virtual void bindBufferPS(uint16 slot)
Definition: OgreNULLConstBufferPacked.h:48
@ ACT_PSSM_SPLITS
Array of PSSM split points (pixel depth must be lower) in projection space.
Definition: OgreGpuProgramParams.h:1382
void executeCallback(MeshBuilderCallback *callback, const SimpleRenderable *simpleRenderable, size_t level, int inProcess) const
Executes a MeshBuilderCallback on this instance.
@ PFG_R32_FLOAT
Definition: OgrePixelFormatGpu.h:88
@ SPC_BINORMAL_VIEW_SPACE
Binormal in view space.
Definition: OgreShaderParameter.h:264
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:84
virtual void endOcclusionQuery()=0
Ends the hardware occlusion test.
virtual void bakeManualLodLevel(LodData *data, String &manualMeshName, int lodIndex)=0
HashedVector(InputIterator a, InputIterator b)
Definition: OgreCommon.h:520
virtual void _processNextRequest()
Process the next request on the queue.
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
LightProfiles(HlmsPbs *hlmsPbs, TextureGpuManager *textureGpuManager)
ImageDownsamplerCube downscale2x_sRGB_AXXX8888_cube
Definition: OgreImageDownsampler.h:193
static const IdString UvNormal
Definition: OgreHlmsPbs.h:508
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, size_t binding, const String &name="")
Create a uniform buffer.
static void setupTexture(TextureGpu *tex, const TextureDefinition &textureDef, const TextureGpu *finalTarget)
static const bool value
Definition: OgreMain/include/OgreSmallVector.h:95
virtual 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.
bool operator!=(const Radian &r) const
Definition: OgreMath.h:83
Archive * dataFolder
Definition: OgreHlms.h:192
size_t compressedSize
Compressed size.
Definition: OgreArchive.h:62
static const IdString NeedsEnvBrdf
Definition: OgreHlmsPbs.h:575
static const int PassMask
Definition: OgreHlms.h:964
ComPtr< ID3D11Buffer > mIndexBuffer
Definition: OgreD3D11VertexArrayObject.h:43
virtual bool checkExtension(const String &ext) const
Check if an extension is available.
TRect< long > Rect
Structure used to define a rectangle in a 2-D integer space.
Definition: OgreCommon.h:810
size_t mGlobalIndex
Index in the vector holding this node reference (could be our parent node, or a global array tracking...
Definition: OgreBone.h:113
Definition: OgreCbDrawCall.h:84
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:845
uint32 getWidth(void) const
Definition: OgreForward3D.h:104
virtual bool addRenderWindow(D3D9RenderWindow *renderWindow)
bool dualGridVisible
Flag whether the dualgrid is visible or not.
Definition: OgreVolumeChunk.h:112
virtual const String & getResourceGroupName(void) const
Return the resource group to be used to load dependent resources.
Definition: OgreParticleSystem.h:521
Real getNormalMapMipBias() const
Return the normal map mip bias value.
Definition: OgreShaderExNormalMapLighting.h:177
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a vertex buffer.
uint32 getHash() const
Get the hash value.
Definition: OgreCommon.h:630
Factory object for creating BillboardChain instances.
Definition: OgreBillboardChain.h:355
void makeTrans(const Vector3 &v)
Builds a translation matrix.
Definition: OgreMatrix4.h:426
bool isSelfOrChildRenderedAtCurrentLod() const
Returns whether this node or its children are being rendered at the current LOD level.
static Quaternion nlerp(Real fT, const Quaternion &rkP, const Quaternion &rkQ, bool shortestPath=false)
Performs Normalised linear interpolation between two quaternions, and returns the result.
void doSet(void *target, const String &val)
bool Inverse(Matrix3 &rkInverse, Real fTolerance=1e-06) const
PixelFormatGpu mPixelFormat
Definition: OgreIrradianceField.h:53
void destroyMacroblock(const HlmsMacroblock *macroblock)
Destroys a macroblock created by HlmsManager::getMacroblock.
virtual ~GLSLProgramProcessor()
Class destructor.
map< String, TextureAtlasTablePtr >::type TextureAtlasMap
Definition: OgreShaderExTextureAtlasSampler.h:70
Real valueRadians() const
Definition: OgreMath.h:782
bool hwGammaCorrection
Definition: OgreHlmsTexturePack.h:63
Definition: OgreExternalTextureSource.h:93
virtual void removeAllKeyFrames(void)
Removes all the KeyFrames from this track.
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
void setDiffuseColour(const ColourValue &colour)
Sets the colour of the diffuse light given off by this source.
~GLES2DefaultHardwareBufferManager()
Definition: OgreGLES2DefaultHardwareBufferManager.h:168
FileSystemArchive(const String &name, const String &archType, bool readOnly)
Aabb getLocalAabb(void) const
Retrieves the local axis-aligned bounding box for this object.
uint32 getHeight(void) const
@ TEXTURE_TYPE_MONOCHROME
Definition: OgreHlmsTextureManager.h:135
void setAmbient(const ColourValue &ambient)
Sets the ambient colour reflectance properties for every Pass in every Technique.
SharedPtr< ConcreteNodeList > ConcreteNodeListPtr
Definition: OgreScriptCompiler.h:68
virtual bool isHidden(void) const
Indicates whether the window was set to hidden (not displayed)
Definition: OgreRenderWindow.h:147
void setEmittedEmitterQuota(size_t quota)
Sets the maximum number of emitted emitters this system is allowed to have active at once.
Definition: OgreNULLConstBufferPacked.h:38
virtual RenderTexture * getRenderTarget(size_t slice=0)
Get a render target for this PixelBuffer, or a slice of it.
Helper class to display the Aabb of a MovableObject as lines.
Definition: OgreWireAabb.h:21
void setPlane(const Vector3 ¢er, const Vector2 &halfSize, const Quaternion &orientation)
Sets the plane's position, size and orientation.
int32 _getProperty(IdString key, int32 defaultVal=0) const
Definition: OgreHlms.h:793
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Notifies the ultimate texture owner the buffer changed.
virtual void prepare(LodData *data)
virtual void load(bool synchronous)
Load this page.
@ SBO_SUBTRACT
Definition: OgreBlendMode.h:256
void getPosition(Real x, Real y, Real z, Vector3 *outWSpos) const
Convert a position from terrain basis space to world space.
void setNamedConstant(const String &name, uint val)
Sets a single value constant unsigned integer parameter to the program.
eD3DFilterUsage
enum identifying D3D9 filter usage type
Definition: OgreD3D9Mappings.h:59
void notifyDestroyed(TextureGpu *channel)
Call this function when caller has destroyed a RenderTarget in which the callee may have a reference ...
float mFresnelG
Definition: OgrePbsMobileShaderCreationData.h:58
size_t getNumElements(void) const
Definition: OgreBufferPacked.h:310
virtual ~PagedWorldSectionFactory()
Definition: OgrePagedWorldSection.h:304
static const ArrayQuaternion IDENTITY
Definition: C/OgreArrayQuaternion.h:249
virtual void _notifyCurrentCamera(const Camera *cam)=0
Delegated to by ParticleSystem::_notifyCurrentCamera.
const String & getMaterialName(void) const
Retrieve the material name in use.
Definition: OgreManualObject.h:433
const Vector4 & getCustomParameter(uint16 index) const
Gets the custom value associated with this Light at the given index.
ArrayQuaternion Inverse(void) const
VertexData * getAssociatedVertexData(void) const
Gets the associated VertexData which this track will update.
Definition: OgreAnimationTrack.h:662
@ PFG_YUY2
Definition: OgrePixelFormatGpu.h:170
void setTwoSidedLighting(bool twoSided, bool changeMacroblock=true, CullingMode oneSidedShadowCast=CULL_ANTICLOCKWISE)
Allows support for two sided lighting.
virtual RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
Definition: OgreScriptCompiler.h:511
static ParameterPtr createInWeights(int index)
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
@ HwMode
Generate mipmaps via HW when TextureFilter::TypeGenerateDefaultMipmaps is used.
Definition: OgreTextureGpuManager.h:90
Animation * _getAnimationImpl(const String &name, const LinkedSkeletonAnimationSource **linker=0) const
Internal accessor for animations (returns null if animation does not exist)
void create(const String &name, unsigned int width, unsigned int height, unsigned int colourDepth, bool fullScreen, int left, int top, bool depthBuffer, void *miscParam,...)
virtual void execute(void)
const StringVector & getAnimableValueNames(void) const
Gets a list of animable value names for this object.
Definition: OgreAnimable.h:294
Vector3 randomDeviant(const Radian &angle, const Vector3 &up=Vector3::ZERO) const
Generates a new random vector which deviates from this vector by a given angle in a random direction.
Definition: OgreVector3.h:617
@ PrefersLoadingFromFileAsSRGB
Prefer loading FROM FILES as sRGB when possible.
Definition: OgreTextureGpu.h:120
@ ERR_DUPLICATE_ITEM
Definition: OgreException.h:111
bool getNonPOW2TexturesLimited(void) const
Are non-power of two textures limited in features?
Definition: OgreRenderSystemCapabilities.h:803
@ SKELETON_BONE
Definition: OgreSkeletonFileFormat.h:61
void operator=(const FastArray< T > ©)
Definition: OgreFastArray.h:125
vector< Pose * >::type PoseList
Definition: OgrePose.h:135
Wrap-around class that contains multiple ArrayMemoryManager, one per hierarchy depth.
Definition: OgreNodeMemoryManager.h:55
Definition: OgreLightweightMutex.h:103
size_t calculateSize(void) const
float getLodTransition() const
Get the transition state between the current LOD and the next lower one (only valid after calculateCu...
Definition: OgreTerrainQuadTreeNode.h:256
NativeWindowType root
Definition: OgreX11EGLSupport.h:89
ConstBufferPacked * createConstBuffer(size_t sizeBytes, BufferType bufferType, void *initialData, bool keepAsShadow)
Creates an constant buffer based on the given parameters.
void enableClipPlane(ushort index, bool enable)
See RenderSystem.
_OgreExport friend std::ostream & operator<<(std::ostream &o, const Matrix4 &mat)
Function for writing to a stream.
virtual void setType(GpuProgramType t)
Set the program type (only valid before load)
static String TargetLanguage
Definition: OgreShaderCGProgramProcessor.h:72
virtual void messageLogged(const String &message, LogMessageLevel lml, bool maskDebug, const String &logName, bool &skipThisMessage)=0
Real nZ
Z component of the normal.
Definition: OgreVolumeMeshBuilder.h:60
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:53
const String & getProfileName(Light *light) const
Returns the name of the profile associated with the light.
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
virtual_l1 void _detachAllBones(SkeletonInstance *skeletonInstance)
Detaches all bones from this SceneNode that belong to the given SkeletonInstance.
bool isVSyncEnabled() const
RenderWindow::isVSyncEnabled
virtual void postViewportUpdate(const RenderTargetViewportEvent &evt)
Definition: OgreRenderTargetListener.h:128
Command object for billboard origin (see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:71
~Singleton(void)
Definition: OgreSingleton.h:88
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
void requestRenderBuffer(const GLES2SurfaceDesc &surface)
Request the specify render buffer in case shared somewhere.
@ SBT_MODULATE
Multiply the 2 colours together.
Definition: OgreBlendMode.h:224
static const IdString UvDiffuseSwizzle3
Definition: OgreUnlitProperty.h:97
static unsigned int getFlags(PixelFormat format)
Returns the property flags for this pixel format.
Real getLeftBorderSize(void) const
Gets the size of the left border.
TextureGpu * createOrRetrieveTexture(const String &name, GpuPageOutStrategy::GpuPageOutStrategy pageOutStrategy, uint32 textureFlags, TextureTypes::TextureTypes initialType, const String &resourceGroup=BLANKSTRING, uint32 filters=0, uint32 poolId=0)
void blit(const v1::HardwarePixelBufferSharedPtr &src, const Box &srcBox, const Box &dstBox)
Copies a box from another PixelBuffer to a region of the this PixelBuffer.
bool equalNonPod(const HlmsPso &_r) const
Definition: OgreHlmsPso.h:237
size_t getFragmentShaderCount() const
Return the current number of generated fragment shaders.
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.
int height
Definition: OgreX11EGLSupport.h:89
void _setBounds(const Aabb &bounds, bool pad=true)
Manually set the bounding box for this Mesh.
uint64 hashVal[2]
Definition: OgreGpuProgramManager.h:57
float mVpHeight
Definition: OgreCompositorPassDef.h:102
long getSeed(void) const
Gets the current seed.
virtual void clearChain(size_t chainIndex)
Remove all elements of a given chain (but leave the chain intact).
void changeVolumeData(uint32 x, uint32 y, uint32 z, uint32 direction_id, const Vector3 &delta)
GLuint getGLID() const
Definition: OgreGLES2Texture.h:58
virtual void copyFrom(const SubRenderState &rhs)
void setLightmapEnabled(bool enabled)
Whether to support a light map over the terrain in the shader, if it's present (default true).
Hlms::RenderableCache renderableCache
Definition: OgreHlmsDiskCache.h:147
static void gaussFilterX(float *RESTRICT_ALIAS dstData, float *RESTRICT_ALIAS srcData, size_t texWidth, size_t texHeight, size_t texDepth, const float *RESTRICT_ALIAS kernel, int kernelStart, int kernelEnd)
#define _OgreHlmsCommonExport
Definition: OgreHlmsBufferManager.h:52
virtual void setMorphAnimationIncluded(bool included)
Sets whether a vertex program includes the required instructions to perform morph animation.
Definition: OgreGpuProgram.h:329
const String & getType(void) const
Returns the factory type.
~Rectangle2DFactory()
Definition: OgreRectangle2D2.h:123
virtual void addRenderQueueListener(RenderQueueListener *newListener)
Registers a new RenderQueueListener which will be notified when render queues are processed.
virtual void setToLoaded(void)
Change the Resource loading state to loaded.
Definition: OgreResource.h:355
static Radian ACos(Real fValue)
Arc cosine function.
Definition: OgreVertexBufferDownloadHelper.h:73
@ NUM_UNLIT_BLEND_MODES
Definition: OgreHlmsUnlitPrerequisites.h:77
Definition: OgreGL3PlusVaoManager.h:59
vector< LODBucket * >::type LODBucketList
list of LOD Buckets in this region
Definition: OgreStaticGeometry.h:369
@ ID_DEPTH_FUNC
Definition: OgreScriptCompiler.h:673
const RenderSystemCapabilities * getCapabilities(void) const
Gets the capabilities of the render system.
Definition: OgreRenderSystem.h:1084
static uint32 convertColourValue(const ColourValue &src, VertexElementType dst)
Utility method for converting colour to a packed 32-bit colour type.
@ LocalAabb
Definition: OgreArrayMemoryManager.h:381
String validateConfig(void)
Make sure all the extra options are valid.
void _setTexture(size_t unit, bool enabled, const TexturePtr &texPtr)
@ DefaultUncorrelated
Same as Default, but the geometry term is not height-correlated which most notably causes edges to be...
Definition: OgreHlmsPbsDatablock.h:96
virtual void notifyDataIsReady(void)
Notifies it is safe to use the real data. Everything has been uploaded.
ManualObject(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager)
static const IdString DiffuseMapCount5
Definition: OgreHlmsUnlitMobile.h:113
virtual bool requiresTextureFlipping() const
Definition: OgreD3D11NullTexture.h:110
virtual ~PlaneBoundedVolumeListSceneQuery()
void clip(const Frustum &frustum)
Clips the body with a frustum.
uint8 numPssmSplits
Number of PSSM splits. In range [2; 4]. Ignored for non-PSSM techniques.
Definition: OgreCompositorShadowNode.h:363
virtual void unmap(UnmapOptions unmapOption, size_t flushStartElem=0, size_t flushSizeElem=0)=0
bool prepare(const ImportData &importData)
Prepare the terrain from some import data rather than loading from native data.
map< String, ParticleAffectorFactory * >::type ParticleAffectorFactoryMap
Definition: OgreParticleSystemManager.h:83
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.
@ AreaLightMasks
Definition: OgreSceneFormatBase.h:75
size_t intBufferSize
Total size of the int buffer required.
Definition: OgreGpuProgramParams.h:492
static const size_t OCTREE_CHILDREN_COUNT
Even in an OCtree, the amount of children should not be hardcoded.
Definition: OgreVolumeOctreeNode.h:81
static const IdString UvDiffuseSwizzle0
Definition: OgreUnlitProperty.h:94
HlmsUnlit(Archive *dataFolder, ArchiveVec *libraryFolders, HlmsTypes type, const String &typeName)
static const IdString LightsAreaLtc
Definition: OgreHlms.h:849
virtual void _renderEmulated(const CbDrawCallStrip *cmd)
This class is the base interface of sub part from a shader based rendering pipeline.
Definition: OgreShaderSubRenderState.h:52
void initialize(const IrradianceFieldSettings &settings, const Vector3 &fieldOrigin, const Vector3 &fieldSize, VctLighting *vctLighting)
initialize
static GLenum getGLType(unsigned int type)
Utility function to get the correct GL type based on VET's.
CbType
Definition: OgreCbCommon.h:36
MapIterator< ChildMap > ChildIterator
Definition: OgreOverlayContainer.h:60
static const IdString NormalWeightDetail2
Definition: OgreHlmsPbsMobile.h:122
list< ChannelRoute >::type ChannelRouteList
Definition: OgreCompositorWorkspaceDef.h:73
void setWorkflow(Workflows workflow)
Sets whether to use a specular workflow, or a metallic workflow.
virtual ~FreeImageCodec()
Definition: OgreFreeImageCodec.h:62
MeshPtr clone(const String &newName, const String &newGroup=BLANKSTRING)
Makes a copy of this mesh object and gives it a new name.
virtual TextureGpu * getEmissiveTexture(void) const
TrackVertexColourType getVertexColourTracking(void) const
Gets which material properties follow the vertex colour.
virtual void createVertexBuffers(VertexBufferPackedVec &outVertexBuffers, size_t numVertices, void *const *initialData, bool keepAsShadow)=0
Creates a vertex buffer based on the given parameters.
void connectExternalRT(TextureGpu *externalTexture, size_t inChannelA)
Connects (injects) an external RT into the given channel.
@ PF_R5G6B5
16-bit pixel format, 5 bits red, 6 bits green, 5 bits blue.
Definition: OgrePixelFormat.h:61
GLuint getGLFBOID() const
Get the GL id for the FBO.
Definition: OgreGLES2FrameBufferObject.h:73
bool getBackwardsCompatibility(void) const
Gets whether backwards compatibility mode should be enabled.
Definition: OgreD3D9HLSLProgram.h:194
Specialisation of HardwareBufferManager to emulate hardware buffers.
Definition: OgreGLES2DefaultHardwareBufferManager.h:131
@ ET_PROJECTIVE_TEXTURE
Generate texture coords based on a frustum.
Definition: OgreTextureUnitState.h:79
virtual void bindBufferCS(uint16 slot)
Definition: OgreNULLConstBufferPacked.h:52
void clearPendingLodRequests()
virtual ~CompositorPassCompute()
CbBase * getCommandFromOffset(size_t offset)
Retrieves the command from the given offset.
static Real Tan(Real fValue, bool useTables=false)
Tangent function.
Definition: OgreMath.h:479
virtual void extractLayoutQualifiers(void)
Finds layout qualifiers in the shader source and sets attribute indices appropriately.
const String & getName(void) const
Gets the name of the technique.
Definition: OgreTechnique.h:436
static const String & getPointLightExtruderVs_1_1(void)
Get extruder program source for point lights, compatible with vs_1_1.
Definition: OgreShadowVolumeExtrudeProgram.h:235
Image & load(DataStreamPtr &stream, const String &type=BLANKSTRING)
Loads an image file from a stream.
void doSet(void *target, const String &val)
XRRScreenSize * XRRConfigSizes(XRRScreenConfiguration *config, int *nSizes)
@ ACT_SINTIME_0_2PI
Sine of "Time0_2PI". Equivalent to RenderMonkey's "SinTime0_2PI".
Definition: OgreGpuProgramParams.h:1227
@ WORLD_SPACE_CORNERS_CENTERED
Definition: OgreCompositorPassQuadDef.h:78
ImageDownsamplerCube downscale2x_Signed_XXXA8888_cube
Definition: OgreImageDownsampler.h:122
void setLeft(Real left)
Sets the left of this element in relation to the screen (where 0 = far left, 1.0 = far right)
Factory object for creating RibbonTrail instances.
Definition: OgreRibbonTrail.h:228
ConstMapIterator< AnimationStateMap > ConstAnimationStateIterator
Definition: OgreAnimationState.h:194
virtual void OldNodeUpdated(const OldNode *)
Called when a OldNode gets updated.
Definition: OgreOldNode.h:99
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
Base for an iterator_range.
Definition: OgreIteratorRange.h:69
uint32 getTypeFlags(void) const
Override to return specific type flag.
virtual void unloadingComplete(Resource *)
Called whenever the resource has been unloaded.
Definition: OgreResource.h:114
static const IdString NormalMap
Definition: OgreHlmsPbs.h:477
static unsigned int modeCount
Definition: OgreD3D11VideoMode.h:35
void lock(HardwareBuffer *p, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:385
virtual Real getLoadRadius() const
Get the loading radius.
Definition: OgreGrid2DPageStrategy.h:167
@ SPC_LIGHTPOSITIONVIEW_SPACE4
Definition: OgreShaderParameter.h:231
DXGI_MODE_DESC getModeDesc() const
static VertexElementType getBestColourVertexElementType(void)
Utility method to get the most appropriate packed colour vertex element format.
Definition: OgreMeshSerializer.h:198
virtual void resetFrustumExtents()
Reset the frustum extents to be automatically derived from other params.
static ExternalTextureSourceManager & getSingleton(void)
Override standard Singleton retrieval.
void _cullScenePhase01(Camera *renderCamera, const Camera *lodCamera, Viewport *vp, uint8 firstRq, uint8 lastRq, bool reuseCullData)
Tells the Camera to contact the SceneManager to render from it's viewpoint.
virtual ViewPoint getSuggestedViewpoint(bool random=false)
Asks the SceneManager to provide a suggested viewpoint from which the scene should be viewed.
virtual void _setToDisplayDummyTexture(void)
Vector4 getPackedTextureSize(size_t index) const
uint8 getBlendTextureIndex(uint8 layerIndex) const
Get the index of the blend texture that a given layer uses.
static ArrayInt SetAll(uint32 val)
Definition: OgreMathlibC.h:273
bool mAllowTextureResidencyChange
When false, we won't try to have Textures become resident.
Definition: OgreHlmsDatablock.h:307
Real getSinTime_0_2Pi(Real x) const
static const IdString LtcTextureAvailable
Definition: OgreHlmsPbs.h:543
String doGet(const void *target) 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.
@ ID_CLEAR_DEPTH
Definition: OgreScriptCompiler.h:886
virtual KeyFrame * createKeyFrame(Real timePos)
Creates a new KeyFrame and adds it to this animation at the given time index.
int border_pixel
Definition: OgreX11EGLSupport.h:90
@ ID_PSSM_SPLIT_FADE
Definition: OgreScriptCompiler.h:1008
SceneManagerEnumerator::SceneManagerIterator getSceneManagerIterator(void)
Get an iterator over all the existing SceneManager instances.
@ PBSM_BLEND_NORMAL_PREMUL
Premultiplied alpha blending.
Definition: OgreHlmsPbsPrerequisites.h:82
Specialisation of PageStrategyData for Grid3DPageStrategy.
Definition: OgreGrid3DPageStrategy.h:105
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
ImageDownsamplerCube downscale2x_Float32_XX_cube
Definition: OgreImageDownsampler.h:158
String getBottomBorderUVString() const
TextureCubeFace
Enum identifying the frame indexes for faces of a cube map (not the composite 3D type.
Definition: OgreTextureUnitState.h:127
virtual void requestUpdate(OldNode *child, bool forceParentUpdate=false)
Called by children to notify their parent that they need an update.
VertexPoseKeyFrame(const AnimationTrack *parent, Real time)
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
bool areFixedFunctionLightsInViewSpace() const
See RenderSystem.
Definition: OgreGL3PlusRenderSystem.h:285
@ LBT_ALPHA
Definition: OgreBlendMode.h:47
@ ENV_REFLECTION
Envmap intended to supply reflection vectors for cube mapping.
Definition: OgreTextureUnitState.h:105
@ PF_D24_UNORM_X8
Depth texture format. 24 bits for depth.
Definition: OgrePixelFormat.h:340
void releaseSurfaces(IDirect3DDevice9 *d3d9Device)
Release surfaces held by this pixel buffer.
virtual bool postCreateGpuPrograms(ProgramSet *programSet)
virtual ScriptTranslator * getTranslator(const AbstractNodePtr &)=0
Returns a manager for the given object abstract node, or null if it is not supported.
RenderSystem * getRenderSystem(void) const
@ TU_WRITE_ONLY
same as HardwareBuffer::HBU_WRITE_ONLY
Definition: OgreTexture.h:55
bool isVSyncEnabled() const
RenderWindow::isVSyncEnabled
void setAll(const Quaternion &v)
Definition: C/OgreArrayQuaternion.h:111
@ PROP_REAL
Definition: OgreProperty.h:112
uint16 mTexLightMaskDiffuseMipStart
Control the start of mip level for diffuse component for area lights The value is UNORM,...
Definition: OgreLight.h:628
bool pullOcclusionQuery(unsigned int *NumOfFragments)
Pulls the hardware occlusion query.
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
Information about a remapped index.
Definition: OgreTangentSpaceCalc.h:60
void setTimePosition(Real timePos)
Sets the time position for this animation.
static void toTitleCase(String &str)
Upper-cases the first letter of each word.
@ ID_SHADOW
Definition: OgreScriptCompiler.h:805
virtual void swapBuffers(void)
Swaps the frame buffers to display the next frame.
LogMessageLevel
The importance of a logged message.
Definition: OgreLog.h:71
FastArray< VertexArrayObject * > VertexArrayObjectArray
Definition: OgreRenderable.h:46
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:510
TemplateIterator getTemplateIterator()
Returns an iterator over all templates in this manager.
Definition: OgreOverlayManager.h:211
virtual void write(const Quaternion *q, size_t count=1)
void removeProperty(const String &name)
Removes the named property from the property set.
void bindGpuProgramPassIterationParameters(GpuProgramType gptype)
Only binds Gpu program parameters used for passes that have more than one iteration rendering.
HardwarePixelBufferSharedPtr getBuffer(size_t face, size_t mipmap)
Return hardware pixel buffer for a surface.
@ TFO_TRILINEAR
Equal to: min=FO_LINEAR, mag=FO_LINEAR, mip=FO_LINEAR.
Definition: OgreCommon.h:200
bool manuallyReserved
Definition: OgreTextureGpuManager.h:70
@ TID_WORD
Definition: OgreScriptLexer.h:56
static const int ShaderShift
Definition: OgreRenderQueue.h:304
virtual_l1 void colour(const ColourValue &col)
Add a vertex diffuse colour to a vertex.
virtual void _hlmsSamplerblockCreated(HlmsSamplerblock *newBlock)
@ CB_SET_TEXTURE_BUFFER_HS
Definition: OgreCbCommon.h:56
#define OGRE_MAX_SIMULTANEOUS_LIGHTS
Define max number of lights allowed per pass.
Definition: OgreConfig.h:81
virtual int getExecutionOrder() const
@ PFG_BC3_UNORM
BC3, aka DXT5.
Definition: OgrePixelFormatGpu.h:131
static const IdString UvDiffuseSwizzle8
Definition: OgreUnlitProperty.h:102
const Frustum * frustum
Definition: OgreTextureUnitState.h:148
HlmsDatablock * getDefaultDatablock(void) const
Datablock to use when another datablock failed or none was specified.
Real distance(const Vector3 &v) const
Returns the minimum distance between a given point and any part of the box.
Definition: OgreAxisAlignedBox.h:772
virtual const Vector3 & getOrigin(void) const
Gets the origin of this geometry.
Definition: OgreStaticGeometry.h:687
void _writeRawConstants(size_t physicalIndex, const float *val, size_t count)
Write a series of floating point values into the underlying float constant buffer at the given physic...
String doGet(const void *target) const
CbSamplers(uint16 _texUnit, const DescriptorSetSampler *_descSet)
void markGPUEvent(const String &event)
Mark a specific, ungrouped, GPU event.
Definition: OgreNULLTextureGpuManager.h:48
PbsMobileBlendModes
Definition: OgreHlmsPbsMobilePrerequisites.h:74
virtual void cameraPreRenderScene(Camera *cam)
Called prior to the scene being rendered with this camera.
Definition: OgreCamera.h:113
static ArrayMaskR CompareLessEqual(ArrayReal a, ArrayReal b)
Returns the result of "a <= b".
Definition: OgreMathlibC.h:245
static ErrorHandlerFunc ErrorHandler
A pointer to the preprocessor's error handler.
Definition: OgreGLSLPreprocessor.h:535
~D3D11HardwareIndexBuffer()
float getHeightAtPoint(long x, long y) const
Get the height data for a given terrain point.
ShaderParameterList::const_iterator ShaderParameterConstIterator
Definition: OgreShaderParameter.h:370
virtual bool postCreateGpuPrograms(ProgramSet *programSet)
bool canHandleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
virtual void showBoundingBoxes(bool bShow)
Allows all bounding boxes of scene nodes to be displayed.
DynLib(const String &name)
Default constructor - used by DynLibManager.
D3D11VideoMode * item(const String &name)
size_t getIndexDataEndIndex() const
Returns the current value of the start index used for drawing.
GeneralAllocatedObject TimerAlloc
Definition: OgreMemoryAllocatorConfig.h:339
void push_back(const T &t)
Definition: OgreCommon.h:550
BindingType getBindingType(void) const
Gets the type of unit these texture settings should be bound to.
LodStrategy * strategy
The mesh which we want to reduce.
Definition: OgreLodConfig.h:128
static const IdString ForwardPlus
Definition: OgreHlms.h:883
static ShaderGenerator & getSingleton()
Override standard Singleton retrieval.
virtual void pitch(const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the OldNode around the X-axis.
static MeshLodGenerator * getSingletonPtr()
void setComputeProgramConstantIntCount(ushort c)
The number of integer constants compute programs support.
Definition: OgreRenderSystemCapabilities.h:947
@ CULL_ANTICLOCKWISE
Hardware culls triangles whose vertices are listed anticlockwise in the view.
Definition: OgreCommon.h:269
bool isDepthTexture(void) const
void setBoundingBox(const AxisAlignedBox &box)
virtual int getExecutionOrder() const
void setTessellationDomainProgramConstantFloatCount(ushort c)
The number of floating-point constants tessellation Domain programs support.
Definition: OgreRenderSystemCapabilities.h:911
@ PFG_D32_FLOAT_S8X24_UINT
Definition: OgrePixelFormatGpu.h:69
void renumerate()
Definition: OgreLod0Stripifier.h:78
Real squaredDistance(const Vector3 &rhs) const
Returns the square of the distance to another vector.
Definition: OgreVector3.h:404
String doGet(const void *target) const
Definition: OgreResourceGroupManager.h:199
Predefined controller function which simply scales an input to an output value.
Definition: OgrePredefinedControllers.h:218
void bindToFramebuffer(GLenum target=GL_FRAMEBUFFER)
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:248
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.
virtual ~MetalTextureBuffer()
static const IdString FwdPlusCubemapSlotOffset
Definition: OgreHlms.h:898
Archive-handling class.
Definition: OgreArchive.h:87
void clear(void)
Empty the queue - should only be called by SceneManagers.
virtual Node * createChild(SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC, const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY)
Creates an unnamed new Node as a child of this node.
BGRA getAsBGRA(void) const
Retrieves colour as BGRA.
virtual void setAlphaTest(CompareFunction compareFunction)
@ ACT_SPOTLIGHT_VIEWPROJ_MATRIX_ARRAY
Array of view/projection matrix of a given spotlight.
Definition: OgreGpuProgramParams.h:1167
MemoryTypes
Definition: OgreArrayMemoryManager.h:378
@ VET_USHORT1_DEPRECATED
Definition: OgreVertexElements.h:91
void setFrame(Real frame)
Sets the animation to a particular frame.
NSOpenGLContext * nsopenGLContext() const
Definition: OgreOSXCocoaWindow.h:77
virtual uint32 fillBuffersForV2(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)
static const char * DetailMapNmN
Definition: OgreHlmsPbs.h:470
void notifyRecreated(const UavBufferPacked *oldBuffer, UavBufferPacked *newBuffer)
void _clearUpdatedFlag(void)
void _updateMetadataCache(TextureGpu *texture)
void removeTextureAtlasTable(const String &textureName)
Removes the texture atlas information from a given texture.
@ ID_CULL_REUSE_DATA
Definition: OgreScriptCompiler.h:908
size_t getNumMaterials(void) const
Definition: OgreStaticGeometry.h:348
virtual const String & getType() const
virtual void setBillboardType(BillboardType bbt)
Sets the type of billboard to render.
virtual bool _isDataReadyImpl(void) const
For internal use.
static const IdString Macroblock
Definition: OgreHlms.h:940
ParticleSystemRenderer * createInstance(const String &name)
Creates a new object.
bool cullingLights
Definition: OgreSceneManager.h:104
virtual void _executeStreaming(Image2 &image, TextureGpu *texture)
Gets executed from worker thread, right after the Image was loaded from file and we're done setting t...
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Notifies the ultimate texture owner the buffer changed.
@ BT_DYNAMIC_PERSISTENT
Same as BT_DYNAMIC, but mapping will be persistent.
Definition: OgreBufferPacked.h:59
T operator--(int)
Definition: OgreAtomicObject.h:95
@ ID_TEX_COORD_SET
Definition: OgreScriptCompiler.h:739
@ RSC_GL1_5_NOHWOCCLUSION
Support for GL 1.5 but without HW occlusion workaround.
Definition: OgreRenderSystemCapabilities.h:261
Class representing a single particle instance.
Definition: OgreParticle.h:63
IDirect3DBaseTexture9 * getTexture()
retrieves a pointer to the actual texture
String doGet(const void *target) const
void setBillboardType(BillboardType bbt)
Sets the type of billboard to render.
void destroyData(PageStrategyData *d)
Destroy a PageStrategyData instance containing the data specific to this PageStrategy.
UavBufferPacked * vertexBuffer
Definition: OgreVctVoxelizer.h:62
TextureBox mapRegion(uint32 width, uint32 height, uint32 depth, uint32 slices, PixelFormatGpu pixelFormat)
Can be called from worker thread, but not from multiple threads at the same time, also you can't call...
void XRRSetScreenConfigAndRate(Display *nativeDisplayType, XRRScreenConfiguration *config, Window window, int size, Rotation rotation, int mode, int currentTime)
virtual TextureGpu * getDiffuseTexture(void) const
HashedVector()
Definition: OgreCommon.h:513
@ SPC_POSITION_OBJECT_SPACE
Position in object space.
Definition: OgreShaderParameter.h:81
void doSet(void *target, const String &val)
virtual void setValue(const Vector2 &)
Set value.
Definition: OgreAnimable.h:159
reference operator[](unsigned idx)
Definition: OgreMain/include/OgreSmallVector.h:211
Quaternion Inverse() const
Definition: OgreGL3PlusDepthTexture.h:74
String doGet(const void *target) const
@ VET_UBYTE4_NORM
Definition: OgreVertexElements.h:105
void unlinkWorldGeometryFromResourceGroup(const String &group)
Clear any link to world geometry from a resource group.
size_t getNumUavUnits(void) const
Definition: OgreHlmsComputeJob.h:300
virtual void unlock(void)
Releases the lock on this buffer.
Definition: OgreHardwareBuffer.h:238
NULLRenderTexture(v1::HardwarePixelBuffer *buffer, size_t zoffset)
Definition: OgreNULLTexture.h:84
GpuResidency
Definition: OgreGpuResource.h:42
static D3DTEXTURESTAGESTATETYPE get(LayerBlendType lbt)
return a D3D9 equivalent for a Ogre LayerBlendType value
uint32 readBarrierBits
Definition: OgreResourceTransition.h:128
void setCurrentRenderable(const Renderable *rend)
Updates the current renderable.
ResourceEntry(const String &_name, const String &_alias, const String &_resourceGroup, TextureGpu *_texture, uint32 _filters)
Definition: OgreTextureGpuManager.h:273
static const String & getPointLightExtruderVs_4_0FiniteDebug(void)
Get extruder program source for debug point lights, compatible with vs_4_0.
Definition: OgreShadowVolumeExtrudeProgram.h:306
static void unmapAsyncTickets(ReadRequestsArray &tickets)
Unmaps the buffers mapped via.
bool stencilReadOnly
Definition: OgreTextureDefinition.h:529
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
v1::IndexData * indexData
Definition: OgreVertexShadowMapHelper.h:127
void _setMaxUsedSlot(uint32 slot)
Definition: OgreSkeletonTrack.h:95
NodeMemoryManager & _getNodeMemoryManager(SceneMemoryMgrTypes sceneType)
Definition: OgreSceneManager.h:1322
void initTempResources(SceneManager *sceneManager)
void setBlank(void)
Sets this texture layer to be blank.
Quaternion UnitInverse() const
Apply to non-zero quaternion.
virtual ~GL3PlusMultiSourceVertexBufferPool()
uint32 bindSizeBytes
Definition: OgreCbShaderBuffer.h:42
vector< MovableObject * >::type ObjectVec
Definition: OgreSceneNode.h:59
Real tempSquareDist
Temp tag used for sorting.
Definition: OgreLight.h:77
const GpuProgramPtr & getVertexProgram(void) const
Gets the vertex program used by this pass, only available after _load().
virtual void destroyAffector(ParticleAffector *e)
Destroys the affector pointed to by the parameter (for early clean up if required).
@ WFT_CUSTOM_GEOMETRY
Custom geometry as defined by the SceneManager.
Definition: OgreSceneQuery.h:89
Renderable * renderable
Definition: OgrePlanarReflections.h:82
@ PFG_RG32_UINT
Definition: OgrePixelFormatGpu.h:66
ImageDownsamplerCube downscale2x_XX88_cube
Definition: OgreImageDownsampler.h:78
void load(DataStreamPtr &dataStream, HlmsPropertyVec &properties)
DataStreamPtr create(const String &filename)
Create a new file (or overwrite one already there).
static void getDefaultPaths(String &outDataFolderPath, StringVector &outLibraryFoldersPaths)
Fill the provided string and string vector with all the sub-folder needed to instantiate an HlmsPbs o...
GLuint getFinalTextureName(void) const
Always returns the internal handle that belongs to this texture.
Definition: OgreGL3PlusTextureGpu.h:120
DataStream & operator>>(T &val)
@ PF_R16G16_UINT
32-bit pixel format, 16 bits red (unsigned int), 16 bits blue (unsigned int).
Definition: OgrePixelFormat.h:170
virtual void bindBufferDS(uint16 slot)
Definition: OgreNULLConstBufferPacked.h:51
IdString(uint32 value)
Definition: OgreIdString.h:124
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.
@ PF_BYTE_RGB
3 byte pixel format, 1 byte for red, 1 byte for green, 1 byte for blue
Definition: OgrePixelFormat.h:90
void lookAt(Real x, Real y, Real z)
Points the camera at a location in worldspace.
virtual PixelFormatGpu getDesiredDepthBufferFormat(void) const
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, const TextureUnitState *srcTextureUnit, const TextureUnitState *dstTextureUnit)
ResourceType
Definition: OgreScriptCompiler.h:514
Vector4 transformAffine(const Vector4 &v) const
4-D Vector transformation specially for an affine matrix.
Definition: OgreMatrix4.h:683
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.
TexBufferPacked * getPoseTexBuffer() const
Real mVplMaxRange
ANY CHANGE TO A mVpl* variable will take effect after calling updateExistingVpls (or calling build) H...
Definition: OgreInstantRadiosity.h:203
size_t getFirstNode(BoneTransform &outTransform)
Retrieves a BoneTransform pointing to the first Bone.
Real Dot(const Quaternion &rkQ) const
Returns the dot product of the quaternion.
static const IdString EnableCubemapsAuto
Definition: OgreHlmsPbs.h:549
@ TVC_SPECULAR
Definition: OgreCommon.h:307
@ ID_SCROLL_Y
Definition: OgreScriptCompiler.h:791
virtual size_t getNumChainElements(size_t chainIndex) const
Returns the number of chain elements.
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
#define _OgreOverlayExport
Definition: OgreOverlayPrerequisites.h:69
SceneManager * getActiveSceneManager()
Get the active scene manager that is doint the actual scene rendering.
const Vector3 & _getBindingPoseInversePosition(void) const
Gets the inverted binding pose position.
Definition: OgreOldBone.h:121
virtual void bindBufferCS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Definition: OgreNULLTexBufferPacked.h:54
virtual ~NULLStagingTexture()
void setDefaultMinPixelSize(Real pixelSize)
Set the default minimum pixel size for object to be rendered by.
Definition: OgreRoot.h:1041
DataStreamPtr encode(const String &formatextension)
Encode the image and return a stream to the data.
map< size_t, Vector4 >::type CustomParameterMap
Definition: OgreRenderable.h:300
@ ACT_TEXEL_OFFSETS
Provides the texel offsets required by this rendersystem to map texels to pixels.
Definition: OgreGpuProgramParams.h:1308
@ GCT_DOUBLE1
Definition: OgreGpuProgramParams.h:99
virtual void setEnabled(bool enabled)
Sets whether or not the emitter is enabled.
const String & getLodStrategyName(void) const
Returns the name of the Lod strategy the user lod values have been calibrated for.
Definition: OgreMesh2.h:339
IndexRemapList indexesRemapped
A list of indexes which were affected by splits.
Definition: OgreTangentSpaceCalc.h:87
virtual VertexBufferBinding * createVertexBufferBinding(void)
Creates a new VertexBufferBinding.
Definition: OgreHardwareBufferManager.h:476
Radian getPitch(bool reprojectAxis=true) const
Calculate the local pitch element of this quaternion.
void doSet(void *target, const String &val)
Definition: OgreAtomicObject.h:43
Command object for sorting (see ParamCommand).
Definition: OgreParticleSystem.h:120
static String Type
Definition: OgreShaderFFPColour.h:116
virtual_l1 void textureCoord(const Vector2 &uv)
Add a texture coordinate to the current vertex.
TextureGpu * getTexture(uint8 slotIdx) const
~MovablePlane()
Definition: OgreMovablePlane.h:75
virtual ~MeshSerializer()
virtual int getExecutionOrder() const
Display * XOpenDisplay(int num)
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
virtual ~RegionSceneQuery()
static const IdString UvAtlas4
Definition: OgreHlmsUnlitMobile.h:147
VertexBufferBinding()
Constructor, should not be called direct, use HardwareBufferManager::createVertexBufferBinding.
bool cloneShaderBasedTechniques(const String &srcMaterialName, const String &srcGroupName, const String &dstMaterialName, const String &dstGroupName)
Clone all shader based techniques from one material to another.
void setConstantFromTime(size_t index, Real factor)
Sets a named parameter up to track a derivation of the current time.
float Real
Software floating point type.
Definition: OgrePrerequisites.h:87
int initial_state
Definition: OgreX11EGLSupport.h:87
virtual bool resolveParameters(ProgramSet *programSet)=0
void unload()
Unloads the archive.
virtual void setFsaa(const String &fsaa)
Set the FSAA mode to be used if hardware support it.
Definition: OgreWindow.h:165
@ ID_ONE_MINUS_SRC_ALPHA
Definition: OgreScriptCompiler.h:664
@ M_EDGE_LISTS
Definition: OgreMeshFileFormat.h:119
static const int TransparencyShift
Definition: OgreRenderQueue.h:302
virtual const Vector3 & getOrigin(const Vector3 &worldOrigin)
Get the origin of the grid in world space.
Definition: OgreGrid2DPageStrategy.h:159
FunctionInvocation(const FunctionInvocation &rhs)
Copy constructor.
const VertexArrayObjectArray & getVaos(VertexPass vertexPass) const
Definition: OgreRenderable.h:375
void load(DataStreamPtr &dataStream, String &string)
static ParameterPtr createInTexcoord(GpuConstantType type, int index, Parameter::Content content)
virtual void _hlmsBlendblockDestroyed(HlmsBlendblock *block)
Definition: OgreRenderSystem.h:833
String doGet(const void *target) const
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
ID3D11Resource * getDisplayTextureName(void) const
Definition: OgreD3D11TextureGpu.h:116
RenderSystemCapabilitiesManager()
Default constructor.
ConstMapRange(typename T::const_iterator b, typename T::const_iterator e)
Constructor.
Definition: OgreIteratorRange.h:311
static const IdString FresnelScalar
Definition: OgreHlmsPbs.h:479
#define OGRE_MAX_TEXTURE_LAYERS
Define max number of texture layers allowed per pass on any card.
Definition: OgreConfig.h:77
void getConstantBuffers(ID3D11Buffer **buffers, UINT &outSlotStart, UINT &outNumBuffers, GpuProgramParametersSharedPtr params, uint16 variabilityMask)
buffers must have a capacity of 2, i.e. ID3D11Buffer *buffers[2];
@ VS_FRONT
The side from which u goes right and v goes up (as in texture coords)
Definition: OgrePatchSurface.h:73
~GL3PlusBufferInterface()
void addVertexData(const VertexData *vertexData)
Add a set of vertex geometry data to the edge builder.
Real normalise()
Normalises the vector.
Definition: OgreVector2.h:406
D3D9VideoModeList(D3D9Driver *pDriver)
const vector< Real >::type * getPssmBlends(size_t shadowMapIdx) const
Returns a list of points with the blend band boundaries of the closest N-1 PSSM split in projection s...
virtual unsigned int getHeight(void) const
Overridden - see RenderWindow.
MetalDevice * getOwnerDevice(void) const
Definition: OgreMetalTexture.h:86
ChunkHandler(void)
Constructor.
static String toString(StereoModeType val)
Converts a StereoModeType to a String.
@ TEXCALC_ENVIRONMENT_MAP_NORMAL
Definition: OgreRenderSystem.h:71
virtual void _convertOpenVrProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest)
Converts an OpenVR projection matrix to have the proper depth range and reverse Z settings.
void pointOrientedToScreen(const Vector2 &v, int orientationMode, Vector2 &outv)
Convert oriented input point coordinates to screen coordinates.
virtual void _setDatablock(HlmsDatablock *datablock)=0
Sets the HLMS material this renderer must use; called by ParticleSystem.
void doSet(void *target, const String &val)
map< LwConstString, const HlmsBlendblock * >::type blendblocks
Definition: OgreHlmsJson.h:76
@ OT_LINE_LIST
A list of lines, 2 vertices per line.
Definition: OgreHlmsPso.h:50
static const uint16 CHUNK_VERSION
Definition: OgrePage.h:99
Real getLightPowerScale(size_t index) const
@ ipmRelative
Definition: OgreShaderExTextureAtlasSampler.h:218
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
Vector3 crossProduct(const Vector3 &rkVector) const
Calculates the cross-product of 2 vectors, i.e.
Definition: OgreVector3.h:498
virtual bool getCastShadows(void)
Will the geometry from this object cast shadows?
Definition: OgreStaticGeometry.h:656
@ OT_PATCH_18_CONTROL_POINT
Definition: OgreHlmsPso.h:77
VertexElement(unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0)
Constructor, should not be called directly, call VertexDeclaration::addElement.
HlmsDatablock * getHlmsDatablock()
Gets the HLMS Datablock generated for this font.
Definition: OgreFont.h:379
String doGet(const void *target) const
virtual void setMaxParticleVelocity(Real max)
Returns the maximum particle velocity.
virtual OverlayElement * findElementAt(Real x, Real y)
This returns a OverlayElement at position x,y.
virtual ~InternalCubemapProbe()
virtual bool hasAnisotropicMipMapFilter() const
Determines if the system has anisotropic mip map filter support.
Definition: OgreGL3PlusRenderSystem.h:499
virtual void endGPUSampleProfile(const String &name)=0
Definition: OgreNULLRenderWindow.h:37
@ ID_NUM_INITIAL
Definition: OgreScriptCompiler.h:891
@ GPU_MS_SOFTWARE
Definition: OgreRenderSystemCapabilities.h:318
ID3D11ShaderResourceView * getSrvView()
retrieves a pointer to the actual texture
virtual void _setNullDatablock(void)
Sets the datablock to a null pointer.
Class for calculating a tangent space basis.
Definition: OgreTangentSpaceCalc.h:51
virtual void setMaterial(const String &matName)
virtual void unbindSurface(size_t attachment)
Unbind attachment.
Definition: OgreRenderTexture.h:99
Factory object for creating ManualObject instances.
Definition: OgreManualObject.h:531
virtual void begin(const String &materialName, OperationType opType=OT_TRIANGLE_LIST, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Start defining a part of the object.
void setFog(bool overrideScene, FogMode mode=FOG_NONE, const ColourValue &colour=ColourValue::White, Real expDensity=0.001, Real linearStart=0.0, Real linearEnd=1.0)
Sets the fogging mode applied to this pass.
static void copyContentsToMemory(TextureGpu *srcTexture, TextureBox srcBox, TextureBox dstBox, PixelFormatGpu dstFormat, bool automaticResolve=true)
Synchronously downloads the mip 0 from a TextureGpu into the TextureBox.
virtual const Matrix4 & getViewMatrix(void) const
Gets the view matrix for this frustum.
@ FRUSTUM_PLANE_LEFT
Definition: OgreFrustum.h:74
AnimationStateControllerValue(AnimationState *targetAnimationState)
Constructor, pass in the target animation state.
Definition: OgreAnimationState.h:285
SkyMethod
Definition: OgreSceneManager.h:513
vector< KeyFrameRig >::type KeyFrameRigVec
Definition: OgreSkeletonTrack.h:51
void preExtraThreadsStarted()
Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might...
vector< Vertex >::type VecVertex
To hold vertices.
Definition: OgreVolumeMeshBuilder.h:98
String doGet(const void *target) const
VectorIterator< NodeVec > NodeVecIterator
Definition: OgreNode.h:74
virtual void apply(const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)
Applies an animation track to the designated target.
void setGeometryProgram(const String &name, bool resetParams=true)
Sets the details of the geometry program to use.
virtual void frameEnd(Real timeElapsed)
Called when the frame ends.
virtual size_t estimateWorldGeometry(const String &filename)
Estimate the number of loading stages required to load the named world geometry.
Definition: OgreSceneManager.h:1736
#define _OgrePlanarReflectionsExport
Definition: OgrePlanarReflectionsPrerequisites.h:50
MapIterator(T &c)
Constructor.
Definition: OgreIteratorWrapper.h:335
void * mRsData
Definition: OgreHlmsDatablock.h:54
DXGI_ALPHA_MODE AlphaMode
Definition: OgreD3D11LegacySDKEmulation.h:63
This is similar to std::bitset, except waaay less bloat.
Definition: OgreBitset.h:145
static const IdString UvDiffuse6
Definition: OgreUnlitProperty.h:83
void setVertexProgramConstantIntCount(ushort c)
The number of integer constants vertex programs support.
Definition: OgreRenderSystemCapabilities.h:719
static DWORD get(TexCoordCalcMethod m, const D3DCAPS9 &caps)
return a D3D9 equivalent for a Ogre TexCoordCalsMethod value
ConstMapIterator< MovableObjectFactoryMap > MovableObjectFactoryIterator
Definition: OgreRoot.h:984
void XSetWMProtocols(Display *nativeDisplayType, Window nativeWindowType, Atom *atom, int num)
T * get() const
Definition: OgreThreadDefinesSTD.h:64
virtual const String & getTypeName(void) const =0
Gets the string uniquely identifying the type of element this factory creates.
@ WFT_SQUARE
Half of the time is spent at the min, half at the max with instant transition between.
Definition: OgreCommon.h:280
const String & getName(void) const
Get the name of the Texture Unit State.
Definition: OgreTextureUnitState.h:1032
Real maxTimeMillisecs
The maximum frame time this profile has taken in milliseconds.
Definition: OgreProfiler.h:277
void exportMesh(const Mesh *pMesh, DataStreamPtr stream, Endian endianMode=ENDIAN_NATIVE)
Exports a mesh to the stream specified, in the latest format.
LodLevelList levels
Definition: OgreLodConfig.h:131
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:235
Command object for running the GLSL optimiser.
Definition: OgreGLSLESShader.h:53
Definition: OgreVolumeCSGSource.h:387
vector< BudgetEntry >::type BudgetEntryVec
Definition: OgreTextureGpuManager.h:246
@ GPU_SIS
Definition: OgreRenderSystemCapabilities.h:314
unsigned int getRefreshRate() const
Definition: OgreD3D9VideoMode.h:56
@ BBO_TOP_RIGHT
Definition: OgreBillboardSet.h:60
static const IdString UvDetail0
Definition: OgreHlmsPbsMobile.h:143
void setNamedConstant(const String &name, const float *val, size_t count)
virtual ~GL3PlusRenderTexture()
@ VET_INT4
Definition: OgreVertexElements.h:98
void setUseDpm2DArray(bool useDpm2DArray)
Whether we should use Dual Paraboloid Mapping with 2D Array instead of Cubemap Arrays.
void EigenSolveSymmetric(Real afEigenvalue[3], Vector3 akEigenvector[3]) const
Eigensolver, matrix must be symmetric.
virtual void _changeRenderSystem(RenderSystem *newRs)
static const IdString iOS
Definition: OgreHlms.h:924
ResourceAccess::ResourceAccess access
Definition: OgreCompositorPassUavDef.h:80
ushort getNumberOfPosesIncluded(void) const
Returns the number of simultaneous poses the vertex program can blend, for use in pose animation.
void destroy(HighLevelGpuProgram *prog)
size_t getCurrentIndexCount(void) const
Gets the current index count based on the current subdivision level.
static D3D11_SRV_DIMENSION get(TextureTypes::TextureTypes type, bool cubemapsAs2DArrays, bool forMsaa)
static ArrayReal CmovRobust(ArrayReal arg1, ArrayReal arg2, ArrayMaskR mask)
Robust, branchless conditional move for a 128-bit value.
Definition: OgreMathlibC.h:134
Normal Map Lighting extension sub render state implementation.
Definition: OgreShaderExNormalMapLighting.h:62
@ SPC_LIGHTDIRECTION_WORLD_SPACE0
Light direction in world space index 0-7.
Definition: OgreShaderParameter.h:177
PagedWorld(const String &name, PageManager *manager)
Constructor.
void postExtraThreadsStarted()
A 'track' in an animation sequence, i.e.
Definition: OgreAnimationTrack.h:126
static UniformParameterPtr createSampler2D(int index)
CompositorNode * findNodeNoThrow(IdString aliasName, bool includeShadowNodes=false) const
Vector3 normal
Definition: OgrePlane.h:64
uint getRenderWindowCount() const
void setVSyncEnabled(bool vsync)
Enable or disable vertical sync for the RenderWindow.
Definition: OgreD3D11RenderWindow.h:122
void addQueryFlags(uint32 flags)
As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this ob...
Definition: OgreTerrain.h:1369
static ArrayMaskI Or(ArrayInt a, ArrayMaskI b)
Definition: OgreMathlibC.h:227
void _setTextureMipmapBias(size_t unit, float bias)
This struct is a base class for events which can be thrown by the compilers and caught by subscribers...
Definition: OgreScriptCompiler.h:351
@ MSE_WRITE_BEGIN
Definition: OgreMaterialSerializer.h:69
void reset()
Reset this render state.
virtual void beginProfileEvent(const String &eventName)
This marks the beginning of an event for GPU profiling.
virtual void _removeManuallyActiveProbe(CubemapProbe *probe)
const Quaternion & _getBindingPoseInverseOrientation(void) const
Gets the inverted binding pose orientation.
Definition: OgreOldBone.h:123
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.
static uint32 getCompressedBlockHeight(PixelFormat format, bool apiStrict=true)
@See getCompressedBlockWidth
Definition: OgreHlmsTextureManager.h:279
VectorImpl::reverse_iterator reverse_iterator
Definition: OgreCommon.h:465
@ ID_STENCIL_READ_ONLY
Definition: OgreScriptCompiler.h:846
void setLayerTextureName(uint8 layerIndex, uint8 samplerIndex, const String &textureName)
Set the name of the texture bound to a given index within a given layer.
@ PF_L16
16-bit pixel format, all bits luminance.
Definition: OgrePixelFormat.h:51
bool hasManualLodLevel(void) const
Returns true if this mesh has a manual LOD level.
Definition: OgreMesh.h:534
uint32 getNumSlices(void) const
For TypeCube this value returns 6.
void stop(void)
Stop anything special.
TextAreaOverlayElement(const String &name)
Constructor.
void encodeToFile(MemoryDataStreamPtr &input, const String &outFileName, CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
@ FFP_PS_COLOUR_BEGIN
Definition: OgreShaderFFPRenderState.h:58
static const IdString ThreadsPerGroupX
Definition: OgreHlmsCompute.h:196
CompositorTargetTranslator()
String doGet(const void *target) const
Real getOwnHeight(void) const
Retrieves the particle's personal width, if hasOwnDimensions is true.
Definition: OgreParticle.h:130
void _validateFinalTarget(void)
For compatibility with D3D9, forces a device lost check on the RenderWindow, so that BeginScene doesn...
@ BB_FLAG_CONST
Definition: OgreBufferPacked.h:97
Stream stream(LogMessageLevel lml=LML_NORMAL, bool maskDebug=false)
Get a stream object targeting this log.
static GLenum getGLUsage(unsigned int usage)
Utility function to get the correct GL usage based on HBU's.
FailBehavior
Definition: OgreAssert.h:44
void destroyActor(PlanarReflectionActor *actor)
virtual ~ParticleSystem()
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:61
reverse_iterator rend()
Definition: OgreCommon.h:492
@ ACT_NEAR_CLIP_DISTANCE
This variable provides the near clip distance as a floating point value.
Definition: OgreGpuProgramParams.h:1280
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, size_t binding, const String &name="")
Create a uniform buffer.
void shareSkeletonInstanceWith(Entity *entity)
Shares the OldSkeletonInstance with the supplied entity.
VertexDeclaration * vertexDeclaration
Declaration of the vertex to be used in this operation.
Definition: OgreVertexIndexData.h:81
vector< BoneData >::type BoneDataVec
Definition: OgreSkeletonDef.h:73
virtual void applyRebase(uint16 level, const MemoryPoolVec &newBasePtrs, const ArrayMemoryManager::PtrdiffVec &diffsList)
Called when the manager already grew it's memory pool to honour more node requests.
Definition: OgreLodData.h:104
bool colourAllLayers
See RenderPassColourTarget::allLayers.
Definition: OgreTextureDefinition.h:65
Definition: OgreScriptCompiler.h:500
void importFromV1(v1::SubMesh *subMesh, bool halfPos, bool halfTexCoords, bool qTangents, bool halfPose)
Imports a v1 SubMesh @See Mesh::importV1. Automatically performs what arrangeEfficient does.
static const IdString NormalWeight
Definition: OgreHlmsPbs.h:494
@ HLMS_LOW_LEVEL
Definition: OgreHlmsCommon.h:178
@ RdmMedium
Slower than low but much better results.
Definition: OgreRadialDensityMask.h:88
bool applyTextureAliases(const AliasTextureNamePairList &aliasList, const bool apply=true) const
Applies texture names to Texture Unit State with matching texture name aliases.
void swap(Matrix4 &other)
Exchange the contents of this matrix with another.
Definition: OgreMatrix4.h:154
Definition: OgreAPKZipArchive.h:39
static int getPriority(String shaderLanguage)
static int ISign(int iValue)
HardwarePixelBufferSharedPtr()
Definition: OgreHardwarePixelBuffer.h:202
Window * newWindow(const String &name, uint32 width, uint32 height, bool fullScreen, const NameValuePairList *miscParams=0)
bool needsAmbientHemisphere() const
const String & getSkeletonName(void) const
Gets the name of any linked Skeleton.
virtual void _render(const v1::CbDrawCallIndexed *cmd)
Renders a V1 RenderOperation. Assumes _setRenderOperation has already been called.
const SkeletonAnimationDef * getDefinition(void) const
Definition: OgreSkeletonAnimation.h:177
Defines the behaviour of an automatic renderer configuration dialog.
Definition: Android/OgreConfigDialogImp.h:39
CbPipelineStateObject(const HlmsPso *_pso)
virtual void *RESTRICT_ALIAS_RETURN map(size_t elementStart, size_t elementCount, MappingState prevMappingState, bool advanceFrame=true)
void getCameraToViewportBoxVolume(Real screenLeft, Real screenTop, Real screenRight, Real screenBottom, PlaneBoundedVolume *outVolume, bool includeFarPlane=false)
Gets a world-space list of planes enclosing a volume based on a viewport rectangle.
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
virtual OGRE_DEPRECATED void setUserAny(const Any &anything)
Definition: OgreNode.h:763
ColourValue getDerivedAmbientLightColour(void) const
Hlms * getCreator(void) const
Definition: OgreHlmsDatablock.h:333
Local texture definition.
Definition: OgreCompositorShadowNodeDef.h:57
Ogre::Vector2 leftNoseCenter
Definition: OgreHiddenAreaMeshVr.h:53
virtual GpuProgramPtr loadFromString(const String &name, const String &groupName, const String &code, GpuProgramType gptype, const String &syntaxCode)
Loads a GPU program from a string of assembly code.
Predefined controller function for dealing with animation.
Definition: OgrePredefinedControllers.h:191
ParticleVisualData()
Definition: OgreParticle.h:56
static const IdString Blendblock
Definition: OgreHlms.h:941
bool getCreateShaderOverProgrammablePass() const
Returns whether shaders are created for passes with shaders.
Definition: OgreShaderGenerator.h:487
TerrainLodManager(Terrain *t, DataStreamPtr &stream)
void getTerrainPosition(Real x, Real y, Real z, Vector3 *outTSpos) const
Convert a position from world space to terrain basis space.
size_t getVertexOffset(void) const
Returns the vertex offset used by this buffer to write data into the buffer.
Definition: OgrePatchSurface.h:130
TempBlendedBufferInfo * _getVertexAnimTempBufferInfo(void)
Advanced method to get the temp buffer information for software morph animation.
uint32 hash
Definition: OgreConstBufferPool.h:62
virtual void _setTextureCoordCalculation(size_t unit, TexCoordCalcMethod m, const Frustum *frustum=0)=0
Sets a method for automatically calculating texture coordinates for a stage.
bool pullOcclusionQuery(unsigned int *NumOfFragments)
Pulls the hardware occlusion query.
float mMetalness
Definition: OgreDecal.h:91
virtual ~ConstParameter()
Definition: OgreShaderParameter.h:586
virtual void destroy(void)
Destroys the window.
void insertVertex(const Vector3 &vdata, size_t vertexIndex)
Inserts a vertex at a specific position.
virtual GuiHorizontalAlignment getHorizontalAlignment(void) const
Gets the horizontal alignment for this element.
virtual const String & getActiveScheme(void) const
Returns the name of the active material scheme.
@ ACT_UAV_SIZE
Provides texture size of the texture unit (index determined by setAutoConstant call).
Definition: OgreGpuProgramParams.h:1337
virtual bool isOpenGLRenderWindow(void) const
OpenGL RenderWindows are a bit specific:
@ ID_TARGET_WIDTH
Definition: OgreScriptCompiler.h:849
virtual void destroyMovableObject(MovableObject *m)
Destroys a MovableObject.
void * pData
Definition: OgreHardwareBuffer.h:408
void setActiveVertexShader(GLSLShader *vertexGpuProgram)
Set the active vertex shader for the next rendering state.
vector< PixelFormat >::type PixelFormatList
Definition: OgrePixelFormat.h:364
static const IdString NormalBc3Unorm
Definition: OgreHlmsPbs.h:492
HLMS stands for "High Level Material System".
Definition: OgreHlms.h:81
FaceGroupType
A type of face group, i.e.
Definition: OgreStaticFaceGroup.h:45
map< String, PagedWorldSection * >::type SectionMap
Definition: OgrePagedWorld.h:159
virtual void _releaseManualHardwareResources()
Notifies the movable object that hardware resources were lost.
Definition: OgreMovableObject.h:174
static VertexElementType getBaseType(VertexElementType multiType)
Simple converter function which will a type into it's single-value equivalent - makes switches on typ...
Definition: OgreException.h:225
@ PF_PVRTC_RGB4
PVRTC (PowerVR) RGB 4 bpp.
Definition: OgrePixelFormat.h:150
void setUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the panel.
static const IdString NumThreadGroupsX
Definition: OgreHlmsCompute.h:199
virtual void setFsaaResolveDirty(void)
Depth buffers never resolve; only colour buffers do.
Definition: OgreGL3PlusDepthTexture.h:112
virtual void setLoadRadius(Real sz)
Set the loading radius.
virtual void _setComputePso(const HlmsComputePso *pso)=0
Unlike _setPipelineStateObject, the RenderSystem will check if the PSO has changed to avoid redundant...
DXGI_ALPHA_MODE
Definition: OgreD3D11LegacySDKEmulation.h:42
NodeAnimationTrack * createNodeTrack(Node *node)
Creates a new AnimationTrack automatically associated with a OldNode.
static Quaternion Squad(Real fT, const Quaternion &rkP, const Quaternion &rkA, const Quaternion &rkB, const Quaternion &rkQ, bool shortestPath=false)
Spherical quadratic interpolation.
void setNamedConstant(const String &name, const uint *val, size_t count)
uint32 lexemeLen
Definition: OgreScriptLexer.h:70
Class for converting the core Ogre data types to/from Strings.
Definition: OgreStringConverter.h:67
virtual void _setSurfaceParams(const ColourValue &ambient, const ColourValue &diffuse, const ColourValue &specular, const ColourValue &emissive, Real shininess, TrackVertexColourType tracking=TVC_NONE)
Sets the surface properties to be used for future rendering.
Definition: OgreCbPipelineStateObject.h:36
#define OGRE_MAX_POSES
Define max number of poses per item.
Definition: OgreConfig.h:89
virtual void setMaxDuration(Real max)
Sets the maximum duration of this emitter in seconds (see setDuration for more details)
@ ACT_VIEW_DIRECTION
view parameters
Definition: OgreGpuProgramParams.h:1264
void setExternalTextureSource(const String &sTexturePlugInType, ExternalTextureSource *pTextureSystem)
Called from plugin to register itself.
CompositorRenderTargetViewTranslator()
PbsBrdf
Definition: OgreHlmsPbsDatablock.h:58
void Define(const char *iMacroName, size_t iMacroNameLen, long iMacroValue)
Define a numerical macro.
virtual void setPolygonModeOverrideable(bool override)
Sets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setti...
Definition: OgreRenderable.h:336
static const IdString VctAnisotropic
Definition: OgreHlmsPbs.h:557
void decomposition(ArrayVector3 &position, ArrayVector3 &scale, ArrayQuaternion &orientation) const
Decompose a Matrix4 to orientation / scale / position.
@ ID_NO_FSAA
Definition: OgreScriptCompiler.h:856
virtual_l2 void translate(const Matrix3 &axes, const Vector3 &move, TransformSpace relativeTo=TS_PARENT)
Moves the node along arbitrary axes.
Implementation of HardwareBufferManager for D3D11.
Definition: OgreD3D11HardwareBufferManager.h:39
bool operator<=(const ComPtr< T > &a, const ComPtr< T > &b) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:250
void reset()
Resets timer.
@ SPC_POSTOLIGHT_VIEW_SPACE4
Definition: OgreShaderParameter.h:151
virtual ~PageContentCollection()
void setTimeStampEnabled(bool timeStamp)
virtual ~TextAreaOverlayElement()
const MaterialPtr & _getMaterial() const
Internal getting of material.
Definition: OgreTerrain.h:1332
virtual void clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0)
T * iterator
Definition: OgreFastArray.h:97
NoAddRefRelease< T > * operator->() const ASSUME_NOEXCEPT
Definition: OgreComPtr.h:202
Vector3 convertLocalToWorldPositionUpdated(const Vector3 &localPos)
Definition: OgreNode.h:713
size_t getGLMapBufferThreshold() const
Threshold after which glMapBuffer is used and not glBufferSubData.
void _updateRenderQueue(RenderQueue *, Camera *camera, const Camera *lodCamera)
Overridden from MovableObject.
Definition: OgreMovablePlane.h:79
static const IdString NormalWeightDetail0
Definition: OgreHlmsPbsMobile.h:120
const_reference front() const
Definition: OgreMain/include/OgreSmallVector.h:223
static const IdString RoughnessIsShininess
Definition: OgreHlmsPbs.h:570
v1::HardwarePixelBufferSharedPtr getBuffer(size_t face, size_t mipmap)
Return hardware pixel buffer for a surface.
virtual uint16 getDepthBufferPoolId(void) const
unsigned int height
Definition: OgreRenderSystem.h:81
static const IdString VPos
Definition: OgreHlms.h:902
void FromRotationMatrix(const Matrix3 &kRot)
virtual void _collectSamplerblocks(set< const HlmsSamplerblock * >::type &outSamplerblocks, const HlmsDatablock *datablock) const
void _updateDimensions(void)
Notifies the viewport of a possible change in dimensions.
DistanceLodBoxStrategy DistanceLodStrategy
Backward compatible name for Distance_Box strategy.
Definition: OgreDistanceLodStrategy.h:44
void baseVertexPointerToElement(void *pBase, unsigned short **pElem) const
Adjusts a pointer to the base of a vertex to point at this element.
Definition: OgreHardwareVertexBuffer.h:256
uint32 willSwitchTo(GL3PlusRenderPassDescriptor *newDesc, bool warnIfRtvWasFlushed) const
DecodeResult decode(DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
void setColourAt(ColourValue const &cv, size_t x, size_t y, size_t z)
Set colour value at a certain location in the image.
void preExtraThreadsStarted()
Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might...
void setPoseWeight(const Ogre::String &poseName, float w)
unsigned short getNumAffectors(void) const
Returns the number of affectors for this particle system.
void _setNullNodeMemoryManager(void)
Manually set the mNodeMemoryManager to a null ptr.
Definition: OgreNode.h:787
virtual ~ResourceManager()
static bool isFloat(GpuConstantType c)
Definition: OgreGpuProgramParams.h:179
Definition: OgreGLES2AsyncTicket.h:39
vector< SubRenderState * >::type SubRenderStateList
Definition: OgreShaderSubRenderState.h:157
void exportLodConfig(Ogre::LodConfig &config, Ogre::DataStreamPtr stream, Endian endianMode=ENDIAN_NATIVE)
bool canHandleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
WorkQueue::RequestHandler override.
virtual void execute(void)
void CreateVertexShader()
void _setSourceType(uint8 type)
@ RSC_TEXTURE_FLOAT
Supports float textures and render targets.
Definition: OgreRenderSystemCapabilities.h:121
@ DebugVisualizationDepth
Definition: OgreIrradianceField.h:148
virtual GLES2Context * clone() const =0
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
GLenum sourceBlend
Definition: OgreGL3PlusHlmsPso.h:55
bool isLocked(void) const
virtual bool getShowBoundingBoxes() const
Returns if all bounding boxes of scene nodes are to be displayed.
NumericKeyFrame(const AnimationTrack *parent, Real time)
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
@ DistanceToCamera
Definition: OgreArrayMemoryManager.h:385
Real _getTop(void) const
Gets the top of this element in relation to the screen (where 0 = far left, 1.0 = far right)
Definition: OgreOverlayElement.h:255
virtual void _renderEmulated(const CbDrawCallIndexed *cmd)
ValueType getType(void) const
Gets the value type of this animable value.
Definition: OgreAnimable.h:145
static const uint16 CHUNK_VERSION
Definition: OgreGrid3DPageStrategy.h:126
@ TT_TRANSLATE_U
Definition: OgreTextureUnitState.h:117
@ SPC_BINORMAL_TANGENT_SPACE
Binormal in tangent space.
Definition: OgreShaderParameter.h:267
virtual void destroy(HighLevelGpuProgram *prog)=0
Factory object for creating Entity instances.
Definition: OgreEntity.h:738
void _setTessellationDomainTexture(size_t unit, TextureGpu *tex)
Controller< Real > * createTextureAnimator(TextureUnitState *layer, Real sequenceTime)
Creates a texture layer animator controller.
virtual bool isStereoEnabled(const String &renderWindowName)
Ogre::Real outsideWeight
Faces inside a house can't be seen from far away.
Definition: OgreLodConfig.h:159
virtual BufferPackedTypes getBufferPackedType(void) const
Useful to query which one is the derived class.
Definition: OgreTexBufferPacked.h:55
virtual bool isSkeletalAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform skeletal animation.
Definition: OgreGpuProgram.h:321
virtual bool removeRenderWindow(const String &renderWindowName)
static const IdString UvDetailNm0
Definition: OgreHlmsPbs.h:518
Reason
Definition: OgreTextureGpuListener.h:50
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.
v1::HardwarePixelBufferSharedPtr getBuffer(size_t face, size_t mipmap)
Return hardware pixel buffer for a surface.
virtual bool hasAnisotropicMipMapFilter() const
See RenderSystem.
Definition: OgreGLES2RenderSystem.h:395
Archive * createInstance(const String &name, bool readOnly)
Creates a new object.
Definition: OgreZip.h:142
Vector2 xy() const
Swizzle-like narrowing operations.
Definition: OgreVector3.h:98
HardwarePixelBuffer(uint32 mWidth, uint32 mHeight, uint32 mDepth, PixelFormat mFormat, bool hwGamma, HardwareBuffer::Usage usage, bool useSystemMemory, bool useShadowBuffer)
Should be called by HardwareBufferManager.
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.
void(* CleanupRoutines)(char *dstPtr, size_t indexDst, char *srcPtr, size_t indexSrc, size_t numSlots, size_t numFreeSlots, size_t elementsMemSize)
Definition: OgreArrayMemoryManager.h:48
IndexBufferPacked * createIndexBuffer(IndexBufferPacked::IndexType indexType, size_t numIndices, BufferType bufferType, void *initialData, bool keepAsShadow)
Creates an index buffer based on the given parameters.
LayerInstanceList layerList
List of layer structures, one for each layer required.
Definition: OgreTerrain.h:401
void addListener(Listener *listener)
Register a listener to this Serializer.
const ColourValue & getColourTop(void) const
Gets the colour of the top of the letters.
vector< Param >::type ParamVec
Definition: OgreShaderParams.h:140
@ SPC_POSTOLIGHT_OBJECT_SPACE5
Definition: OgreShaderParameter.h:132
RenderPassTargetBase depth
Definition: OgreRenderPassDescriptor.h:249
Specialisation of HardwareIndexBuffer for emulation.
Definition: OgreGL3PlusDefaultHardwareBufferManager.h:72
void * mRsData
Definition: OgreResourceTransition.h:130
virtual bool isContainer() const
returns false as this class is not a container type
Definition: OgreOverlayElement.h:418
void append(in_iter in_start, in_iter in_end)
append - Add the specified range to the end of the SmallVector.
Definition: OgreMain/include/OgreSmallVector.h:411
@ TAM_WRAP
Texture wraps at values over 1.0.
Definition: OgreHlmsSamplerblock.h:48
Class representing a font in the system.
Definition: OgreFont.h:67
static const IdString Hlsl
Definition: OgreHlms.h:918
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
Create a multi render target.
DecodeResult decode(DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
CompositorPassMipmap(const CompositorPassMipmapDef *definition, const RenderTargetViewDef *rtv, CompositorNode *parentNode)
void cleanerArrayVector3Unit(char *dstPtr, size_t indexDst, char *srcPtr, size_t indexSrc, size_t numSlots, size_t numFreeSlots, size_t elementsMemSize)
bool isZeroLength(void) const
Returns true if this vector is zero length.
Definition: OgreVector2.h:521
ushort getTessellationHullProgramConstantIntCount(void) const
The number of integer constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:900
Definition: OgrePlanarReflections.h:81
~MeshSerializerImpl_v1_8()
void setBlendMode(unsigned short index, BlendMode mode)
Set the blend mode of the given texture unit layer with the previous layer.
@ LB_BlendLinearBurn
Definition: OgreShaderExLayeredBlending.h:68
String name
Definition: OgreScriptCompiler.h:153
static const IdString ExponentialShadowMaps
Definition: OgreUnlitProperty.h:48
@ MsaaExplicitResolve
MSAA rendering is an antialiasing technique.
Definition: OgreTextureGpu.h:111
Definition: OgreLodBuffer.h:77
static VertexElementType multiplyTypeCount(VertexElementType baseType, unsigned short count)
Simple converter function which will turn a single-value type into a multi-value type based on a para...
Real getFarClipDistance() const
void unmap(size_t ticket)
Unmaps given ticket (got from.
D3D9HardwareIndexBuffer(HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage, bool useSystemMem, bool useShadowBuffer)
vector< GeometryBucket * >::type GeometryBucketList
list of Geometry Buckets in this region
Definition: OgreStaticGeometry.h:261
Modes
Definition: OgreRenderQueue.h:88
void setSamplerblock(uint8 texType, const HlmsSamplerblock ¶ms)
Sets a new sampler block to be associated with the texture (i.e.
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware index buffer.
ReadRequests(VertexElementSemantic _semantic)
Definition: OgreVertexIndexData.h:247
virtual ~OGRE_HLMS_TEXTURE_BASE_CLASS()
Definition: OgreScriptCompiler.h:70
virtual const Matrix4 & _getFullTransform(void) const
Gets the full transformation matrix for this OldNode.
void _clearSliceRTT(size_t zoffset)
Notify TextureBuffer of destruction of render target.
Definition: OgreGLES2TextureBuffer.h:63
IDirect3DVertexShader9 * getVertexShader(void)
Gets the vertex shader.
HashedVector< LightClosest > LightList
Definition: OgreCommon.h:697
VertexAnimationType getVertexAnimationType(void) const
Get the type of any vertex animation used by dedicated geometry.
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:88
@ PF_ASTC_SRGB8A8_10X6_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 10x6)
Definition: OgrePixelFormat.h:307
Class providing a much simplified interface to generating manual objects with custom geometry.
Definition: OgreManualObject.h:111
static void toQuotedStr(CullingMode value, String &outString)
virtual void setMaterial(const String &matName)
Overridden from SimpleRenderable.
void useImportData()
Set to use import data.
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
void _setPolygonMode(PolygonMode level)
uint16 getInternalSliceToArrayTexture(void) const
Definition: OgreCubemapProbe.h:238
static const IdString HwGammaWrite
Definition: OgreUnlitProperty.h:43
uint calls
The number of times this profile was called this frame.
Definition: OgreProfiler.h:259
virtual void deinitGPUProfiling(void)
virtual void notifyCleared(void)
@See CompositorNode::_notifyCleared
MsaaPatterns
Definition: OgreCommon.h:910
virtual void _descriptorSetTexture2Created(DescriptorSetTexture2 *newSet)
void load()
Load node and children (perform GPU tasks, will be render thread)
A factory that enables creation of TextureAtlasSampler instances.
Definition: OgreShaderExTextureAtlasSampler.h:214
ProfileSampleFlags
Definition: OgreProfilerCommon.h:35
@ CMPF_EQUAL
Definition: OgreCommon.h:91
ArrayReal mRadius
Definition: C/OgreArraySphere.h:61
void exportTextureMetadataCache(String &outJson)
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
void _setD3DShaderResourceView(ID3D11ShaderResourceView *depthTextureView)
void setSpotlightFalloff(Real val)
Sets the falloff between the inner and outer cones of the spotlight.
const SharedPtr< ControllerValue< T > > & getSource(void) const
Gets the input controller value.
Definition: OgreController.h:173
@ LightMask
Definition: OgreArrayMemoryManager.h:390
void setTarget(const String &target)
Sets the shader target to compile down to, e.g.
Class exposing an interface to a blend map for a given layer.
Definition: OgreTerrainLayerBlendMap.h:61
bool addTexutreAtlasDefinition(DataStreamPtr stream, TextureAtlasTablePtr textureAtlasTable=TextureAtlasTablePtr())
Adds a texture atlas definition from a stream.
@ MESH_VERSION_1_7
OGRE version v1.7+.
Definition: OgreMeshSerializer.h:55
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.
@ PF_ASTC_SRGB8A8_5X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 5x5)
Definition: OgrePixelFormat.h:293
void setAlphaRejectValue(unsigned char val)
Gets the alpha reject value.
Definition: OgreOSXCocoaWindowDelegate.h:34
void close(void)
Close the stream; this makes further operations invalid.
void _dumpTextures(const String &prefix, const String &suffix)
Dump textures to files.
Degree & operator*=(Real f)
Definition: OgreMath.h:122
void initialize()
Initializes mMemoryPools.
bool eof(void) const
Returns true if the stream has reached the end.
virtual bool postCreateGpuPrograms(ProgramSet *programSet)
virtual std::pair< bool, T > removeItem()
Get the next item from the pool.
Definition: OgreResourceManager.h:61
static String FACTORY_TYPE_NAME
Definition: OgreRectangle2D2.h:125
virtual void setPriority(uchar priority)
Sets the priority of this render target in relation to the others.
Definition: OgreRenderTarget.h:267
GLES2HardwareOcclusionQuery()
Default object constructor.
void _updateRenderPhase02(Camera *camera, const Camera *lodCamera, uint8 firstRq, uint8 lastRq)
uint8 num_mipmaps
Definition: OgreImageCodec.h:66
GLES2DefaultHardwareBufferManagerBase as a Singleton.
Definition: OgreGLES2DefaultHardwareBufferManager.h:161
virtual void _endUpdate()
Method for manual management of rendering - finishes statistics calculation and fires 'postRenderTarg...
X11EGLContext(EGLDisplay eglDisplay, const EGLSupport *glsupport, ::EGLConfig fbconfig, ::EGLSurface drawable)
Real getTextureUScroll(void) const
Get texture uscroll value.
virtual void _hlmsBlendblockCreated(HlmsBlendblock *newBlock)
void transformAffine(const Matrix4 &m)
Transforms the box according to the affine matrix supplied.
Definition: OgreAxisAlignedBox.h:486
Semantic
Definition: OgreShaderParameter.h:52
Exception(int number, const String &description, const String &source)
Default constructor.
void unload(const String &filename)
Unloads an archive by name.
virtual void registerThread()=0
Register the an additional thread which may make calls to rendersystem-related objects.
virtual void setVSync(bool vSync, uint32 vSyncInterval)
@ ID_SLICE
Definition: OgreScriptCompiler.h:837
void setVertexTextureUnitsShared(bool shared)
Set whether the vertex texture units are shared with the fragment processor.
Definition: OgreRenderSystemCapabilities.h:829
virtual ~HardwareSkinningTechnique()
virtual void preparingComplete(Resource *)
Called whenever the resource finishes preparing (paging into memory).
Definition: OgreResource.h:111
virtual void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera, RealAsUint depth)
Definition: OgreMovableObject.h:644
bool nothingToStrip() const
Definition: OgreLod0Stripifier.h:85
virtual void _setPipelineStateObject(const HlmsPso *pso)
@See HlmsPso
'New' rendering operation using vertex buffers.
Definition: OgreRenderOperation.h:45
const VertexElement2Vec & getVertexElements(void) const
Definition: OgreVertexBufferPacked.h:119
void log(Log *pLog)
Write the capabilities to the pass in Log.
void _restoreManualHardwareResources()
Notifies that hardware resources should be restored.
IT'S MEMBERS MUST BE KEPT POD (Otherwise HlmsPso needs to be modified).
Definition: OgreHlmsPso.h:99
TextureTransformType
Useful enumeration when dealing with procedural transforms.
Definition: OgreTextureUnitState.h:116
virtual void _hlmsPipelineStateObjectDestroyed(HlmsPso *pso)
Definition: OgreRenderSystem.h:829
ImageDownsamplerCube downscale2x_sRGB_AX88_cube
Definition: OgreImageDownsampler.h:199
ushort getTessellationDomainProgramConstantFloatCount(void) const
The number of floating-point constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:926
@ 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.
Vector3 getDerivedDirectionUpdated(void) const
virtual void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
virtual void resetNumPassesLeft(void)
Vector3 getVoxelOrigin(void) const
bool operator!=(const MapRange &rhs) const
comparison operator for inequality
Definition: OgreIteratorRange.h:267
@ PBSM_NORMAL
Definition: OgreHlmsPbsPrerequisites.h:58
Matrix4 getTransposeViewMatrix() const
virtual AsyncTicketPtr createAsyncTicket(BufferPacked *creator, StagingBuffer *stagingBuffer, size_t elementStart, size_t elementCount)=0
ItemFactory()
Definition: OgreItem.h:267
virtual const String & getMovableType(void) const
Returns the type name of this object.
static size_t getElementSize(GpuConstantType ctype, bool padToMultiplesOf4)
Get the element size of a given type, including whether to pad the elements into multiples of 4 (e....
Definition: OgreGpuProgramParams.h:344
@ CNT_WORD
Definition: OgreScriptCompiler.h:56
uint64 hash
Definition: OgreRenderQueue.h:51
std::pair< Vector3, Vector3 > Edge
Definition: OgrePolygon.h:61
@ PF_R9G9B9E5_SHAREDEXP
32-bit pixel format, 9 bits for blue, green, red plus a 5 bit exponent.
Definition: OgrePixelFormat.h:208
static Real Floor(Real fValue)
Floor function Returns the largest previous integer.
Definition: OgreMath.h:333
LwString & a(uint64 a0)
Definition: OgreLwString.h:261
void _initialize(IdType id, BoneMemoryManager *boneMemoryManager, Bone *parent, ArrayMatrixAf4x3 const *RESTRICT_ALIAS reverseBind)
IndexRemap()
Definition: OgreTangentSpaceCalc.h:68
const String & getFunctionName() const
Return the function name.
Definition: OgreShaderFunctionAtom.h:215
static D3D11_FILL_MODE get(PolygonMode level)
return a D3D11 equivalent for a Ogre PolygonMode value
Real pssmLambda
Definition: OgreCompositorShadowNodeDef.h:69
virtual OldBone * createBone(const String &name, unsigned short handle)
Creates a brand new OldBone owned by this Skeleton.
GLenum destBlendAlpha
Definition: OgreGLES2HlmsPso.h:58
The profiler allows you to measure the performance of your code.
Definition: OgreProfiler.h:414
virtual const String & getTypeName(void) const
See OverlayElement.
void destroyAllComputeJobs(void)
Destroys all jobs created via.
MemoryDataStream(const String &name, size_t size, bool freeOnClose=true, bool readOnly=false)
Create a named stream with a brand new empty memory chunk.
@ LBT_COLOUR
Definition: OgreBlendMode.h:46
virtual void setActiveProfile(Profile *p)
Set the active Profile.
Definition: OgreTerrainMaterialGenerator.h:236
AliasTextureIterator getAliasTextureIterator(void) const
Gets an constant iterator to access all texture alias names assigned to this submesh.
GLSLESShader(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
virtual unsigned int getDebugLevel() const
Get the debug level of the material.
Definition: OgreTerrainMaterialGenerator.h:384
static D3D9DeviceManager * getDeviceManager()
bool isNull() const
Definition: OgreCommon.h:740
@ ID_SCENE_BLEND
Definition: OgreScriptCompiler.h:653
Definition: OgreCbDrawCall.h:113
@ ID_ONCE_PER_LIGHT
Definition: OgreScriptCompiler.h:712
Definition: OgreNULLAsyncTicket.h:39
int * getIntPointer(size_t pos)
Get a pointer to the 'nth' item in the int buffer.
Definition: OgreGpuProgramParams.h:778
CompositorPassDef(CompositorPassType passType, CompositorTargetDef *parentTargetDef)
Definition: OgreCompositorPassDef.h:210
void setOperationType(OperationType operationType)
Set the type of primitives that this object generates.
Definition: OgreRenderToVertexBuffer.h:85
virtual ~RenderToVertexBuffer()
D'tor.
virtual void notifyCamera(Camera *cam, PagedWorldSection *section)
Called when a camera is used for any kind of rendering.
Definition: OgrePageStrategy.h:102
uint16 slot
Definition: OgreCbShaderBuffer.h:39
v1::Entity * entity
The entity whose level of detail has changed.
Definition: OgreLodListener.h:57
IdString getName(void) const
ResourceAllocatedObject ResourceAlloc
Definition: OgreMemoryAllocatorConfig.h:327
void setExternalMicrocode(const void *pMicrocode, size_t size)
Tells the program to load from some externally created microcode instead of a file or source.
uint16 getLayerBlendMapSize() const
Get the requested size of the blend maps used to blend between layers for this terrain.
Definition: OgreTerrain.h:1078
int16 getReferenceCount(void) const
Definition: OgreStagingBuffer.h:295
ParticleSystem(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, const String &resourceGroupName)
Creates a particle system with no emitters or affectors.
size_t elementSize
Number of raw buffer slots per element (some programs pack each array element to float4,...
Definition: OgreGpuProgramParams.h:162
float getGamma(void) const
Returns the gamma adjustment factor applied to this texture on loading.
Definition: OgreTexture.h:162
void shrinkToFit(void)
Defragments memory, then reallocates a smaller pool that tightly fits the current number of objects.
const UserObjectBindings & getUserObjectBindings() const
Return an instance of user objects binding associated with this class.
Definition: OgreMovableObject.h:388
LwString & operator=(const LwConstString &other)
Definition: OgreLwString.h:174
const MeshPtr & getMesh(void) const
Gets the Mesh that this Entity is based on.
~VertexMorphKeyFrame()
Definition: OgreKeyFrame.h:161
static BufferSlot makeEmpty(void)
Definition: OgreDescriptorSetUav.h:98
IdString textureName
Name of the texture (can come from input channel, local textures, or global ones)
Definition: OgreCompositorPassComputeDef.h:58
void setShaderCachePath(String path)
Set shader cache path.
Definition: OgreGLES2Support.h:106
virtual void notifyDataIsReady(void)
Notifies it is safe to use the real data. Everything has been uploaded.
Definition: OgreWin32Window.h:37
const void * _getMemoryUniqueOffset(void) const
SharedPtr< GpuProgramParameters > GpuProgramParametersSharedPtr
Definition: OgrePrerequisites.h:392
GL support in a GTK window.
Definition: OgreGTKGLSupport.h:48
virtual void notifyDeviceLost(D3D11Device *device)=0
virtual void _render(const CbDrawCallStrip *cmd)
virtual bool isHardwareGammaEnabled() const
Indicates whether on rendering, linear colour space is converted to sRGB gamma colour space.
Definition: OgreRenderTarget.h:335
Definition: OgrePbsMobileShaderCreationData.h:46
void XSetWMProperties(Display *nativeDisplayType, Window nativeWindowType, XTextProperty *titleprop, char *dummy1, char *dummy2, int num, XSizeHints *sizeHints, XWMHints *wmHints, char *dummy3)
bool compile(const ConcreteNodeListPtr &nodes, const String &group)
Compiles resources from the given concrete node list.
void _setSurfaceParams(const ColourValue &ambient, const ColourValue &diffuse, const ColourValue &specular, const ColourValue &emissive, Real shininess, TrackVertexColourType tracking)
See RenderSystem.
Definition: OgreGLES2RenderSystem.h:269
~UnifiedHighLevelGpuProgramFactory()
Integrated PSSM shadow receiver with 3 splits sub render state implementation.
Definition: OgreShaderExIntegratedPSSM3.h:55
@ SPC_LIGHTPOSITIONVIEW_SPACE1
Definition: OgreShaderParameter.h:228
vector< Real >::type SplitPointList
Definition: OgreShaderExIntegratedPSSM3.h:59
void _setSceneBlendingOperation(SceneBlendOperation op)
void doSet(void *target, const String &val)
void _setLightCullingVisibility(Camera *camera, bool collectLights, bool isCubemap)
See Camera::setLightCullingVisibility.
virtual uint8 getMaxLayers(const Terrain *terrain) const =0
Get the number of layers supported.
LightGatheringMode
Definition: OgreHlms.h:86
map< String, GpuSharedParametersPtr >::type SharedParametersMap
Definition: OgreGpuProgramManager.h:53
CompositorShadowNode * findShadowNode(IdString nodeDefName) const
Finds a shadow node instance with a given name.
void addQuadTextureSource(size_t texUnitIdx, const String &textureName)
Indicates the pass to change the texture units to use the specified texture sources.
void setDefaultResourceGroup(const String &grp)
Set the default resource group to use to load / save terrains.
Definition: OgreTerrain.h:2094
UserObjectBindings & getUserObjectBindings()
Return an instance of user objects binding associated with this class.
Definition: OgreRenderable.h:367
@ PF_RG8
16-bit pixel format, 8 bits red, 8 bits green.
Definition: OgrePixelFormat.h:228
static void setDefaultNonVisibleUpdateTimeout(Real timeout)
Set the default nonvisible timeout for all ParticleSystem instances.
Definition: OgreParticleSystem.h:459
virtual void setTextureType(TextureTypes::TextureTypes textureType)
@ SPC_LIGHTDIRECTION_VIEW_SPACE6
Definition: OgreShaderParameter.h:193
@ ID_VERTEX
Definition: OgreScriptCompiler.h:801
static OverlayManager * getSingletonPtr(void)
Override standard Singleton retrieval.
virtual void addClipPlane(Real A, Real B, Real C, Real D)
Add a user clipping plane.
const char * end() const
Definition: OgreLwConstString.h:106
void removeAllPoseReferences(void)
Remove all pose references.
uint32 minTextureSize
Definition: OgreHlmsTextureManager.h:85
void removeLayer(uint8 index)
Remove a layer from the terrain.
IrradianceVolume(HlmsManager *hlmsManager)
virtual unsigned short getNextIndex(void) const
Gets the highest index which has already been set, plus 1.
Definition: OgreHardwareVertexBuffer.h:543
static Real Pow(Real fBase, Real fExponent)
Definition: OgreMath.h:344
@ TFO_NONE
Equal to: min=FO_POINT, mag=FO_POINT, mip=FO_NONE.
Definition: OgreCommon.h:196
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:52
void setInitialState(const Vector3 &position, const Quaternion &orientation, const Vector3 &scale)
Set the initial state of the node for this animation track.
virtual Real getLoadRadius() const
Get the loading radius.
const VrData * getVrData(void) const
Definition: OgreCamera.h:639
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:463
GLSLProgramWriter()
Class constructor.
@ PFG_R16_SNORM
Definition: OgrePixelFormatGpu.h:104
virtual void _descriptorSetTexture2Created(DescriptorSetTexture2 *newSet)
StdVector< ThreadHandlePtr > ThreadHandleVec
Definition: OgreThreads.h:121
void fastForward(Real time, Real interval=0.1)
Fast-forwards this system by the required number of seconds.
vector< Triangle >::type TriangleList
Definition: OgreLodData.h:150
Planar Reflections can be used with both Unlit and PBS, but they're setup differently.
Definition: OgrePlanarReflections.h:78
void setNamedConstant(const String &name, const Matrix4 *m, size_t numEntries)
Sets a list of Matrix4 parameters to the program.
float getWorstTime(void) const
Definition: OgreFrameStats.h:65
void _setCullingMode(CullingMode mode)
@ PASS_MIPMAP
Definition: OgreCompositorPassDef.h:61
void _notifyCurrentCamera(const Camera *cam)
Delegated to by ParticleSystem::_notifyCurrentCamera.
void setListener(ScriptCompilerListener *listener)
Sets the listener used for compiler instances.
MeshPtr create(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Create a new mesh.
virtual void techniqueEventRaised(MaterialSerializer *ser, SerializeEvent event, bool &skip, const Technique *tech)
Called when technique section event raised.
Definition: OgreMaterialSerializer.h:100
@ ACT_LIGHT_CUSTOM
Binds custom per-light constants to the shaders.
Definition: OgreGpuProgramParams.h:1377
@ GCT_SAMPLER1DSHADOW
Definition: OgreGpuProgramParams.h:82
virtual bool isCloneable() const
Definition: OgreOverlayElement.h:424
void setNamedAutoConstantReal(const String &name, AutoConstantType acType, Real rData)
void move(const Vector3 &vec)
Moves the camera's position by the vector offset provided along world axes.
Real getMaximumDepthInputValue(void)
Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
Definition: OgreGLES2RenderSystem.h:426
@ PFG_PVRTC2_4BPP_SRGB
Definition: OgrePixelFormatGpu.h:211
NULLAsyncTicket(BufferPacked *creator, StagingBuffer *stagingBuffer, size_t elementStart, size_t elementCount)
static ArrayMatrixAf4x3 createAllFromMatrix4(const Matrix4 &m)
Definition: C/OgreArrayMatrixAf4x3.h:107
virtual void prepareWorldGeometry(DataStreamPtr &stream, const String &typeName=BLANKSTRING)
Sets the source of the 'world' geometry, i.e.
map< uint16, TextureGpuVec >::type DepthBufferMap2
Definition: OgreRenderSystem.h:57
virtual void getCustomAttribute(IdString name, void *pData)
CamerasInProgress()
Definition: OgreSceneManager.h:185
virtual void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Internal method to put the contents onto the render queue.
static void setExceptionsErrorLevel(const Ogre::String &exceptionsErrorLevel)
static const IdString TexGather
Definition: OgreHlms.h:929
@ SBF_DEST_ALPHA
Definition: OgreBlendMode.h:242
@ ID_COLOUR
Definition: OgreScriptCompiler.h:948
PageStrategy * getStrategy(const String &name)
Get a PageStrategy.
void swap(ComPtr< T > &a, ComPtr< T > &b)
Definition: OgreComPtr.h:244
void setAssociatedNode(OldNode *node)
Sets the associated OldNode object which will be automatically affected by calls to 'apply'.
@ SPC_LIGHTDIRECTION_OBJECT_SPACE2
Definition: OgreShaderParameter.h:169
virtual void setCurrent()
Enable the context.
Definition: OgreShaderExLayeredBlending.h:94
virtual void collapse(LodData *data, LodCollapseCost *cost, LodOutputProvider *output, int vertexCountLimit, Real collapseCostLimit)
Reduces vertices until vertexCountLimit or collapseCostLimit is reached.
@ NUM_PBSM_TEXTURE_TYPES
Definition: OgreHlmsPbsPrerequisites.h:74
static GLenum getGLUsage(unsigned int usage)
Utility function to get the correct GL usage based on HBU's.
Definition: OgreGLES2HardwareBufferManager.h:85
GL3PlusHardwareBufferManager()
Definition: OgreGL3PlusHardwareBufferManager.h:112
CamerasInProgress(const Camera *_renderingCamera, const Camera *_cullingCamera, const Camera *_lodCamera)
Definition: OgreSceneManager.h:189
virtual BackgroundProcessTicket unload(const String &resType, ResourceHandle handle, Listener *listener=0)
Unload a single resource in the background.
const String & getShadowCasterFragmentProgramName(void) const
Gets the name of the fragment program used by this pass when rendering shadow casters.
virtual ushort getPreferredFloatBitDepth(void) const
Gets preferred bit depth for float pixel format textures.
virtual void reload(LoadingFlags flags=LF_DEFAULT)
Reloads the resource, if it is already loaded.
@ ID_UV_BAKING
Definition: OgreScriptCompiler.h:924
static uint32 QUERY_LIGHT_DEFAULT_MASK
Default query mask for lights.
Definition: OgreSceneManager.h:233
uint8 mFirstRq
Definition: OgreInstantRadiosity.h:133
@ ERR_INTERNAL_ERROR
Definition: OgreException.h:114
const_pointer address(const_reference x) const
Definition: OgreMemorySTLAllocator.h:153
ID3D11UnorderedAccessView * getUavView(int32 mipmapLevel, int32 textureArrayIndex, PixelFormat pixelFormat)
MaterialManager()
Default constructor.
SortMode
Sort mode for billboard-set and particle-system.
Definition: OgreCommon.h:313
T * data()
Definition: OgreStackVector.h:114
virtual void preFindVisibleObjects(SceneManager *source, IlluminationRenderStage irs, Viewport *v)
Called prior to searching for visible objects in this SceneManager.
Definition: OgreSceneManager.h:267
void setRoughness(float roughness)
Sets the roughness.
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
Particle * createEmitterParticle(const String &emitterName)
Manually add an emitter particle to the system.
@ InheritScale
Definition: OgreBoneArrayMemoryManager.h:66
Real getTop(void) const
Gets the top of this element in relation to the screen (where 0 = top, 1.0 = bottom)
Vector3 convertWorldToLocalDirectionUpdated(const Vector3 &worldDir, bool useScale)
Definition: OgreNode.h:721
size_t getAutoConstantCount(void) const
Gets the number of int constants that have been set.
Definition: OgreGpuProgramParams.h:1986
uint32 textureFlags
See TextureFlags::TextureFlags.
Definition: OgreTextureDefinition.h:122
Real getSquaredViewDepth(const Camera *cam) const
Overridden, see Renderable.
uint32 writeBarrierBits
Definition: OgreResourceTransition.h:127
void _setUavBuffer(uint8 slotIdx, const DescriptorSetUav::BufferSlot &newSlot)
Sets an UAV buffer at the given slot ID.
virtual ~GLES2RenderBuffer()
DualQuaternion(Real fW, Real fX, Real fY, Real fZ, Real fdW, Real fdX, Real fdY, Real fdZ)
Construct from an explicit list of values.
Definition: OgreDualQuaternion.h:57
virtual void shutdown()
Shut down the queue.
OrientationMode getOrientationMode() const
Get the orientation mode of the viewport.
virtual void execute(void)
Abstract class for compositor passes.
Definition: OgreCompositorPass.h:87
Texturing sub render state implementation of layered blending.
Definition: OgreShaderExLayeredBlending.h:45
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
ResourceType mResourceType
Definition: OgreScriptCompiler.h:522
virtual ~BorderPanelOverlayElement()
Real alphaArg1
Manual alpha value for manual source1.
Definition: OgreBlendMode.h:156
@ VET_USHORT4_NORM
Definition: OgreVertexElements.h:109
void setEntryPointFunction(Function *function)
Set the entry point function.
Definition: OgreShaderProgram.h:142
Definition: OgreNULLWindow.h:37
GLuint getTemporaryFBO(size_t i)
Get a FBO without depth/stencil for temporary use, like blitting between textures.
virtual NodeIterator getNodeIterator(void) const
Get an iterator over the nodes which are being tracked.
@ PFG_ATC_RGBA_EXPLICIT_ALPHA
ATC (AMD_compressed_ATC_texture)
Definition: OgrePixelFormatGpu.h:231
void updateFromParentImpl(void) const
Overridden from Node in order to include parent Entity transform.
virtual Vector3 getCellSize() const
Get the size of the cells in the grid.
Definition: OgreGrid3DPageStrategy.h:138
virtual void _setIndirectBuffer(IndirectBufferPacked *indirectBuffer)=0
HlmsLowLevelDatablock(IdString name, Hlms *creator, const HlmsMacroblock *macroblock, const HlmsBlendblock *blendblock, const HlmsParamVec ¶ms)
void setVertexColourTracking(TrackVertexColourType tracking)
Sets which material properties follow the vertex colour.
void dispatch(HlmsComputeJob *job, SceneManager *sceneManager, Camera *camera)
Main function for dispatching a compute job.
bool enableAlphaBlend
Definition: OgreGL3PlusHlmsPso.h:54
void removeUnusedBuffers(void)
Remove all vertex buffers that never used by the vertex declaration.
virtual bool _areRenderStateChangesSuppressed(void) const
Are render state changes suppressed?
Definition: OgreSceneManager.h:2614
static String TargetLanguage
Definition: OgreShaderCGProgramWriter.h:76
void setShadowCasterFragmentProgramParameters(GpuProgramParametersSharedPtr params)
Sets the fragment program parameters for rendering as a shadow caster.
static const IdString NormalRgSnorm
Definition: OgreHlmsPbs.h:491
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...
virtual void _collectSamplerblocks(set< const HlmsSamplerblock * >::type &outSamplerblocks, const HlmsDatablock *datablock) const
Definition: OgreHlms.h:546
VectorImpl::const_reverse_iterator const_reverse_iterator
Definition: OgreCommon.h:466
@ ENDIAN_BIG
Use big endian (0x1000 is serialised as 0x10 0x00)
Definition: OgreStreamSerialiser.h:79
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:137
const ColourValue & getSurfaceEmissiveColour(void) const
@ VET_HALF2
Definition: OgreVertexElements.h:110
void _setSeparateSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendFactor sourceFactorAlpha, SceneBlendFactor destFactorAlpha, SceneBlendOperation op, SceneBlendOperation alphaOp)
GL3+ will share FBO handles between all GL3PlusRenderPassDescriptor that share the same FBO setup.
Definition: OgreGL3PlusRenderPassDescriptor.h:60
uint32 getWidth()
Accessors.
void _initAnimationState(AnimationStateSet *animSet)
Initialise an animation set suitable for use with this skeleton.
uint32 getZOrSlice(void) const
Definition: OgreTextureBox.h:79
RadialDensityMask * getRadialDensityMask(void) const
Definition: OgreSceneManager.h:1179
static void collectSamplerblocks(const HlmsDatablock *datablock, set< const HlmsSamplerblock * >::type &outSamplerblocks)
void loadFromAoS(const SimpleMatrixAf4x3 *RESTRICT_ALIAS src)
static const size_t MAX_MEMORY_SLOTS
Definition: OgreArrayMemoryManager.h:165
StackVector(size_t count, const T &value)
Creates an array pushing the value N times.
Definition: OgreStackVector.h:95
virtual void addRenderObjectListener(RenderObjectListener *newListener)
Registers a new Render Object Listener which will be notified when rendering an object.
virtual void unload(const String &name)
Unloads a single resource by name.
Real mHeight
Personal height if mOwnDimensions == true.
Definition: OgreParticle.h:82
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:136
static GLenum getGLUsage(unsigned int usage)
Utility function to get the correct GL usage based on HBU's.
D3D11 doesn't support mapping the same buffer twice even if the regions don't overlap.
Definition: OgreD3D11DynamicBuffer.h:55
uint16 getLayerBlendMapSize() const
Get the default size of the blend maps for a new terrain.
Definition: OgreTerrain.h:2050
ParticleEmitterFactoryIterator getEmitterFactoryIterator(void)
Return an iterator over the emitter factories currently registered.
virtual void buildConstantDefinitions() const
Build the constant definition map, must be overridden.
virtual void _setTextureMatrix(size_t unit, const Matrix4 &xform)
Sets the texture coordinate transformation matrix for a texture unit.
static CommandBufferExecuteFunc execute_setPso
Definition: OgreCommandBuffer.h:88
size_t getUsedSlots(void) const
Definition: OgreSkeletonTrack.h:94
Shader generator system main interface.
Definition: OgreShaderGenerator.h:56
static const int MacroblockBits
Definition: OgreRenderQueue.h:295
AngleUnit
The angular units used by the API.
Definition: OgreMath.h:192
GLES2MultiSourceVertexBufferPool(size_t vboPoolIndex, GLuint vboName, const VertexElement2VecVec &vertexElementsBySource, size_t maxVertices, BufferType bufferType, size_t internalBufferStart, VaoManager *vaoManager)
static String toString(const StringVector &val)
Converts a StringVector to a string.
ParallaxCorrectedCubemapBase(IdType id, Root *root, SceneManager *sceneManager, const CompositorWorkspaceDef *probeWorkspaceDef, bool automaticMode)
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.
OGREWidget * get_ogre_widget()
Get the actual widget that is housing OGRE's GL view.
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)
Sets a multiple value constant unsigned integer parameter to the program.
void _setHlmsBlendblock(const HlmsBlendblock *blendblock)
virtual void _hlmsBlendblockCreated(HlmsBlendblock *newBlock)
Definition: OgreLodOutputProvider.h:40
void _setVertexTexture(size_t unit, TextureGpu *tex)
Binds a texture to a vertex, geometry, compute, tessellation hull or tessellation domain sampler.
ResourceAccess::ResourceAccess access
Definition: OgreCompositorPassComputeDef.h:61
General purpose request structure.
Definition: OgreWorkQueue.h:90
void addLinkedSkeletonAnimationSource(const String &skelName, Real scale=1.0f)
Allows you to use the animations from another Skeleton object to animate this skeleton.
void setRoughness(float roughness)
Value for Roughness. Valid range depends on the BRDF used.
Real mMipLodBias
This allows you to adjust the mipmap calculation up or down for a given texture unit.
Definition: OgreHlmsSamplerblock.h:79
GLXFBConfig getFBConfigFromContext(::GLXContext context)
Get the GLXFBConfig used to create a ::GLXContext.
@ PF_A2B10G10R10
32-bit pixel format, 10 bits for blue, green and red, 2 bits for alpha.
Definition: OgrePixelFormat.h:110
Camera * getCamera(void)
Definition: OgreCompositorPassQuad.h:109
Matrix3 Transpose() const
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
See HardwareBuffer.
uint32 mShadowMapIdx
Shadow map index it belongs to (only filled in passes owned by Shadow Nodes)
Definition: OgreCompositorPassDef.h:119
GLuint getGLFBOID() const
Get the GL id for the FBO.
Definition: OgreGL3PlusFrameBufferObject.h:72
void migrateToAndDetach(Transform &inOutTransform, size_t depth, NodeMemoryManager *dstNodeMemoryManager)
It's almost the same as calling: this->nodeDettached( transform, depth ); this->migrateTo( transform,...
HardwareBuffer::Usage getVertexBufferUsage(void) const
Gets the usage setting for this meshes vertex buffers.
Definition: OgreMesh.h:634
HardwareBufferManagerBase * getManager() const
Return the manager of this buffer, if any.
Definition: OgreHardwareIndexBuffer.h:68
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:279
static void destroy_range(T *, T *)
Definition: OgreMain/include/OgreSmallVector.h:295
virtual void clear()
Clear the pool.
Definition: OgreResourceManager.h:86
ImageBlur2D separableBlur_X8
Definition: OgreImageDownsampler.h:102
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...
static LwString FromEmptyPointer(char *cStr, size_t maxLength)
Definition: OgreLwString.h:120
Definition: OgreGLES2DepthTexture.h:96
StrangeData(int num)
Definition: OgreX11EGLSupport.h:92
void _setNormalMapRequired(bool normalMap)
Request internal implementation options for the terrain material to use, in this case a terrain-wide ...
void _unregisterContext(GLES2Context *context)
Unregister a render target->context mapping.
virtual PixelFormatGpu getDesiredDepthBufferFormat(void) const
@ VET_UBYTE4
Definition: OgreVertexElements.h:82
virtual void _setTextures(uint32 slotStart, const DescriptorSetTexture2 *set)
ushort getTessellationDomainProgramConstantIntCount(void) const
The number of integer constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:931
@ VET_SHORT2_SNORM
Definition: OgreVertexElements.h:106
@ SKELETON_VERSION_LATEST
Latest version available.
Definition: OgreSkeletonSerializer.h:49
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:2082
TextureGpu * getInternalTexture(void) const
Definition: OgreCubemapProbe.h:232
Built, renderable section of geometry.
Definition: OgreManualObject.h:415
ImageDownsamplerCube downscale2x_Float32_XA_cube
Definition: OgreImageDownsampler.h:161
void saveMaterials(HlmsTypes hlmsType, const String &filename, HlmsJsonListener *listener, const String &additionalTextureExtension)
Saves all materials of the registered Hlms at the given file location.
static const FastArray< Real > c_DefaultLodMesh
Definition: OgreMovableObject.h:65
void setNull()
Definition: OgreCommon.h:744
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
GLSLESLinkProgram(GLSLESShader *vertexProgram, GLSLESShader *fragmentProgram)
Constructor should only be used by GLSLESLinkProgramManager.
String getValue() const
Returns a string value depending on the type of the AbstractNode.
virtual bool queryResult(MovableObject *movable, SceneQuery::WorldFragment *fragment)=0
Called when a movable intersects a world fragment.
Definition: OgreHlmsJsonPbs.h:48
@ ACT_INVERSE_PROJECTION_MATRIX
Provides inverse of projection matrix.
Definition: OgreGpuProgramParams.h:945
void inverseLeaveZeroes(void)
Calculates the inverse of the vectors: 1.0f / v; But if original is zero, the zero is left (0 / 0 = 0...
virtual bool isPrimary(void) const
Indicates whether the window is the primary window.
virtual size_t readLine(char *buf, size_t maxCount, const String &delim="\n")
Get a single line from the stream.
void setPixelFormat(PixelFormatGpu pixelFormat)
Sets the pixel format.
void determineGridLocation(const Vector3 &gridpos, int32 *x, int32 *y, int32 *z)
Convert a grid position into a row and column index.
static FORCEINLINE uint32 bswap32(uint32 arg)
Returns value with reversed bytes order.
Definition: OgreBitwise.h:84
Billboard(const Vector3 &position, BillboardSet *owner, const ColourValue &colour=ColourValue::White)
Normal constructor as called by BillboardSet.
virtual void windowResized(Window *rw)
Definition: OgreWindowEventUtilities.h:85
uint32 getRenderableHash(void)
Returns a hash value you can cache into a Renderable (or whatever you're rendering).
@ TS_PARENT
Transform is relative to the space of the parent node.
Definition: OgreNode.h:69
This is a Default implementation of TextureGpuManagerListener based on heuristics.
Definition: OgreTextureGpuManagerListener.h:77
virtual 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 convertTerrainToImageSpace(Real x, Real y, size_t *outX, size_t *outY)
Convert terrain space values (0,1) to image space (0, imageSize).
virtual void setCastShadows(bool castShadows)
Sets whether this geometry should cast shadows.
virtual void setRenderQueueGroup(uint8 queueID)
Decals only allow ForwardPlusBase::MinDecalRq <= queueID < ForwardPlusBase::MaxDecalRq.
void setStatic(bool isStatic)
Set to False if it should be updated every frame.
size_t mParentIndex
Index in the vector holding this node reference (could be our parent node, or a global array tracking...
Definition: OgreBone.h:115
static OptimisedUtil * getImplementation(void)
Gets the implementation of this class.
Definition: OgreOptimisedUtil.h:74
std::vector< T, STLAllocator< T, GeneralAllocPolicy > > VectorImpl
Definition: OgreCommon.h:437
HlmsPso pso
Definition: OgreHlmsCommon.h:199
HardwareBufferManagerBase()
void bindDrawId(void)
Binds the Draw ID to the currently bound vertex array object.
@ LowerCpuOverhead
Optimize for low CPU overhead.
Definition: OgreConstBufferPool.h:87
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
virtual void releaseIbl(const TextureGpu *tmpRtt)
void destroySubMesh(const String &name)
Destroy a SubMesh with the given name.
String mResourceGroup
Definition: OgreScriptCompiler.h:602
@ PCT_SINT
32 bit float per component
Definition: OgrePixelFormat.h:398
virtual const String & getName() const =0
Listener which gets called back on MovableObject events.
Definition: OgreMovableObject.h:70
static FORCEINLINE unsigned int mostSignificantBitSet(unsigned int value)
Returns the most significant bit set in a value.
Definition: OgreBitwise.h:144
ArrayMaskR intersects(const ArrayAabb &b2) const
Returns whether or not this box intersects another.
const Vector3 & getIrradianceOrigin(void) const
Definition: OgreIrradianceVolume.h:107
SharedPtr & operator=(const SharedPtr &r)
Definition: OgreSharedPtr.h:184
void setManualValue(const Vector3 &value)
ArrayReal Dot(const ArrayQuaternion &rkQ) const
Returns the dot product of the quaternion.
void setMaterialName(const String &matName)
Overridden from OverlayElement.
virtual void getMemoryStats(MemoryStatsEntryVec &outStats, size_t &outCapacityBytes, size_t &outFreeBytes, Log *log) const =0
Retrieves memory stats about our GPU pools being managed.
size_t getGLMapBufferThreshold() const
Threshold after which glMapBuffer is used and not glBufferSubData.
Definition: OgreGL3PlusHardwareBufferManager.h:151
bool isSupported(void) const
Overridden from GpuProgram.
IdString mRefractionsTexture
Definition: OgreCompositorPassSceneDef.h:96
const Matrix4 & getParentEntityTransform(void) const
Gets the transform of parent entity.
virtual ~OptimisedUtil()
Definition: OgreOptimisedUtil.h:67
@ SPC_TANGENT_WORLD_SPACE
Tangent in world space.
Definition: OgreShaderParameter.h:249
void notifyDestroyed(const UavBufferPacked *buffer)
@ OT_PATCH_19_CONTROL_POINT
Definition: OgreHlmsPso.h:78
uint8 elementStart
The colour element at which this element starts.
Definition: OgreTerrainMaterialGenerator.h:77
MapIterator< VertexBoneAssignmentList > BoneAssignmentIterator
Definition: OgreSubMesh.h:184
uint16 getNumLodLevels(void) const
Returns the number of levels of detail that this mesh supports.
virtual void swapBuffers()
Override needed to deal with multisample buffers.
Vector4 mIblCorrectionVSH
Value Saturation Hue.
Definition: OgreCompositorPassIblSpecularDef.h:59
virtual void addMarchingCubesTriangles(const Vector3 *corners, const Vector4 *volumeValues, MeshBuilder *mb) const
Overridden from IsoSurface.
virtual void upload(const TextureBox &srcBox, TextureGpu *dstTexture, uint8 mipLevel, const TextureBox *cpuSrcBox=0, const TextureBox *dstBox=0, bool skipSysRamCopy=false)
Uploads a region of data in srcBox (which must have been created with mapRegion) into dstTexture.
@ SM_Source1InvModulate
Definition: OgreShaderExLayeredBlending.h:88
String generate()
Generate a new name.
Definition: OgreNameGenerator.h:69
Reference to a pose at a given influence level.
Definition: OgreKeyFrame.h:198
GLSLMonolithicProgramManager(const GL3PlusSupport &support)
void setVertexBuffer(const HardwareVertexBufferSharedPtr &buf)
Sets the vertex buffer containing the source positions for this keyframe.
const String & getShadowCasterVertexProgramName(void) const
Gets the name of the vertex program used by this pass when rendering shadow casters.
MapIterator< AnimationStateMap > AnimationStateIterator
Definition: OgreAnimationState.h:193
MapIterator< TerrainSlotMap > TerrainIterator
Definition: OgreTerrainGroup.h:461
@ ID_SHADOW_NODE
Definition: OgreScriptCompiler.h:1003
bool isSupported(void) const
Returns whether this program can be supported on the current renderer and hardware.
ConstVectorIterator< GPUDeviceNameRuleList > GPUDeviceNameRuleIterator
Definition: OgreTechnique.h:527
@ LOADSTATE_LOADED
Fully loaded.
Definition: OgreResource.h:125
const CustomParameterMap & getCustomParameters(void) const
Definition: OgreRenderable.h:301
virtual Real getTrailLength(void) const
Get the length of the trail.
Definition: OgreRibbonTrail.h:110
ResourceCreateOrRetrieveResult createOrRetrieve(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *params=0, BufferType vertexBufferType=BT_IMMUTABLE, BufferType indexBufferType=BT_IMMUTABLE, bool vertexBufferShadowed=true, bool indexBufferShadowed=true)
Create a new mesh, or retrieve an existing one with the same name if it already exists.
Most (if not all) buffers, can be treated with the same code.
Definition: OgreBufferInterface.h:40
const Camera * cullingCamera
Definition: OgreSceneManager.h:182
Definition: OgreExternalTextureSource.h:87
bool hasScale() const
Determines if this matrix involves a scaling.
Definition: OgreMatrix3.h:239
void addOutputParameter(ParameterPtr parameter)
Add output parameter to this function.
@ ID_WORKSPACE
Definition: OgreScriptCompiler.h:817
ushort getNumVertexBlendMatrices(void) const
Returns the number of matrices available to hardware vertex blending for this rendering system.
Definition: OgreRenderSystemCapabilities.h:569
const LibraryVec & getPiecesLibrary(void) const
Definition: OgreHlms.h:573
void log(Log *log)
Debugging method.
virtual void forwardIntersect(const Plane &worldPlane, vector< Vector4 >::type *intersect3d) const
Forward projects frustum rays to find forward intersection with plane.
MeshBuilder * meshBuilder
The MeshBuilder to use.
Definition: OgreVolumeChunkHandler.h:63
virtual void setTreatLuminanceAsAlpha(bool asAlpha)
Sets whether luminace pixel format will treated as alpha format when load this texture.
static const uint32 CHUNK_ID
Definition: OgrePageContentCollection.h:61
void() ImageDownsamplerCube(uint8 *dstPtr, uint8 const **srcPtr, int32 dstWidth, int32 dstHeight, int32 dstBytesPerRow, int32 srcWidth, int32 srcHeight, int32 srcBytesPerRow, const uint8 kernel[5][5], const int8 kernelStartX, const int8 kernelEndX, const int8 kernelStartY, const int8 kernelEndY, uint8 currentFace)
Definition: OgreImageDownsampler.h:68
void saveMaterial(const HlmsDatablock *datablock, String &outString)
virtual void preCommandBufferExecution(CommandBuffer *commandBuffer)
This gets called right before executing the command buffer.
Definition: OgreHlms.h:745
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
virtual void _setHlmsSamplerblock(uint8 texUnit, const HlmsSamplerblock *samplerblock)
@See HlmsSamplerblock.
@ SPC_LIGHTPOSITION_OBJECT_SPACE3
Definition: OgreShaderParameter.h:210
@ SPC_POSTOLIGHT_OBJECT_SPACE3
Definition: OgreShaderParameter.h:130
Real value
Value used by to determine when this LOD applies.
Definition: OgreMesh.h:1057
ImageDownsampler2D downscale2x_XX88
Definition: OgreImageDownsampler.h:59
static const IdString BlendModeIdx3
Definition: OgreHlmsUnlitMobile.h:128
GLES2Support()
Definition: OgreGLES2Support.h:44
void setMacroblock(const HlmsMacroblock ¯oblock)
Changes the current macroblock for a new one. Pointer can't be null.
GLSLProgramProcessor()
Class constructor.
virtual bool setDrawBuffer(ColourBufferType colourBuffer)
Sets the colour buffer that the render system will to draw.
Definition: OgreRenderSystem.h:1369
static CommandBufferExecuteFunc execute_setTextureBufferInvalid
Definition: OgreCommandBuffer.h:87
String doGet(const void *target) const
virtual void extractMovableObject(MovableObject *m)
Extract a previously injected MovableObject.
static const IdString LightsAttenuation
Definition: OgreHlms.h:851
void setNumMipmaps(uint8 num)
Sets the number of mipmaps to be used for this texture.
Definition: OgreTexture.h:152
@ Cameras
Definition: OgreSceneFormatBase.h:58
virtual const Quaternion & getInitialOrientation(void) const
Gets the initial orientation of this OldNode, see setInitialState for more info.
virtual ColourValue getEmissiveColour(void) const
Returns the closest match for a emissive colour, if applicable by the actual implementation.
virtual void getCustomAttribute(IdString name, void *pData, uint32 extraParam)
Definition: OgreRenderPassDescriptor.h:241
EGLWindow(EGLSupport *glsupport)
static const IdString NormalWeightTex
Definition: OgreHlmsPbsMobile.h:119
size_t getElementCount(void) const
Get the number of elements in the declaration.
Definition: OgreHardwareVertexBuffer.h:324
void setVctLighting(VctLighting *vctLighting)
Definition: OgreHlmsPbs.h:394
ComPtr< ID3D11DepthStencilState > depthStencilState
Definition: OgreD3D11HlmsPso.h:49
Real getLoadingOrder(void) const
Gets the relative loading order of scripts of this type.
Vector4 getDetailMapOffsetScale(uint8 detailMap) const
static DECL_MALLOC void * allocate(size_t size, size_t alignment)
Allocate memory with given alignment.
virtual void translate(const Matrix3 &axes, const Vector3 &move, TransformSpace relativeTo=TS_PARENT)
Moves the OldNode along arbitrary axes.
virtual const Vector2 & getFrustumOffset() const
Retrieves the frustum offsets.
static const IdString DecalsEmissive
Definition: OgreHlms.h:897
virtual void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
void saveMaterial(const HlmsDatablock *datablock, String &outString, const String &additionalTextureExtension)
Saves a single datablock to a string.
virtual int getExecutionOrder() const
@ RSC_COMPLETE_TEXTURE_BINDING
Supports different texture bindings.
Definition: OgreRenderSystemCapabilities.h:203
static PropertyType getTypeForValue(const unsigned int &val)
Definition: OgreProperty.h:158
virtual void displayResults(const ProfileInstance &instance, ulong maxTotalFrameTime)
@ GCT_MATRIX_2X3
Definition: OgreGpuProgramParams.h:86
void setManualValue(uint32 value)
void addRendererFactory(ParticleSystemRendererFactory *factory)
Registers a factory class for creating ParticleSystemRenderer instances.
static const IdString DetailNormalSwizzle1
Definition: OgreHlmsPbsMobile.h:167
virtual ~HlmsPbsDatablock()
Definition: OgreResource.h:85
const Matrix4 & getInverseWorldMatrix(void) const
bool isNaN() const
Check whether this vector contains valid values.
Definition: OgreVector3.h:788
static const IdString SsRefractionsAvailable
Definition: OgreHlms.h:881
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.
Renderable * renderable
Definition: OgreCbLowLevelMaterial.h:40
void _autoTrack(void)
Internal method used by OGRE to update auto-tracking cameras.
static ProgramManager & getSingleton()
Override standard Singleton retrieval.
virtual TextureGpu * getDepthBufferFor(TextureGpu *colourTexture, uint16 poolId, bool preferDepthTexture, PixelFormatGpu depthBufferFormat)
virtual ~UavBufferPacked()
const LodValueArray * _getLodValueArray(void) const
Definition: OgreMesh2.h:402
ImageBlur2D separableBlur_sRGB_X8
Definition: OgreImageDownsampler.h:209
@ RSC_32BIT_INDEX
Supports 32bit hardware index buffers.
Definition: OgreRenderSystemCapabilities.h:96
void bindSurface(size_t attachment, const GLES2SurfaceDesc &target)
Bind a surface to a certain attachment point.
bool isMultisample(void) const
Plane()
Default constructor - sets everything to 0.
@ PF_ASTC_SRGB8A8_6X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 6x5)
Definition: OgrePixelFormat.h:295
STLAllocator< U, AllocPolicy > other
Definition: OgreMemorySTLAllocator.h:99
All return values are either in milliseconds or frames per second; but they're internally stored in m...
Definition: OgreFrameStats.h:47
@ ID_EXPLICIT_RESOLVE
Definition: OgreScriptCompiler.h:859
GuiVerticalAlignment
Enum describing where '0' is in relation to the parent in the vertical dimension.
Definition: OgreOverlayElement.h:80
BufferType getVertexBufferDefaultType(void) const
Gets the usage setting for this meshes vertex buffers.
Definition: OgreMesh2.h:394
A way of recording the way each LODs is recorded this Mesh.
Definition: OgreMesh.h:1045
uint8 getViewportModifierMask(void) const
Definition: OgreCompositorWorkspace.h:356
void setCompositeMapDiffuse(const ColourValue &c)
Set the composite map diffuse light to use.
Definition: OgreTerrain.h:1961
const Light & _getBlankLight(void) const
Definition: OgreAutoParamDataSource.h:273
virtual void setUsage(int u)
Sets the TextureUsage identifier for this Texture; only useful before load()
Definition: OgreTexture.h:270
const TerrainLayerDeclaration & getLayerDeclaration() const
Get the declaration which describes the layers in this terrain.
Definition: OgreTerrain.h:997
virtual ~GL3PlusConstBufferPacked()
void _setProjectionMatrix(const Matrix4 &m)
Sets the projection transform matrix.
Definition: OgreAndroidLogListener.h:38
void invalidateMaterialIlluminationPasses(const String &schemeName, const String &materialName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Invalidate specific material scheme.
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:536
@ ANT_IMPORT
Definition: OgreScriptCompiler.h:85
void * rsData
Definition: OgreHlmsPso.h:206
const String & getNameStr(void) const
Definition: OgreSkeletonAnimationDef.h:94
AtomAbstractNode(AbstractNode *ptr)
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:95
static const IdString DetailDiffuseSwizzle0
Definition: OgreHlmsPbsMobile.h:161
static const IdString Metal
Definition: OgreHlms.h:921
void prepareResourceGroup(const String &name, bool prepareMainResources=true, bool prepareWorldGeom=true)
Prepares a resource group.
bool isPreparedForShadowVolumes(void) const
Returns whether this mesh has already had it's geometry prepared for use in rendering shadow volumes.
Definition: OgreMesh.h:814
GLint mV
Definition: OgreGLES2HlmsSamplerblock.h:55
@ FFP_PS_COLOUR_END
Definition: OgreShaderFFPRenderState.h:61
virtual void destroyInstance(PageContentCollection *)=0
bool hasBlendMask() const
Return whether there is currently a valid blend mask set.
Definition: OgreAnimationState.h:168
@ ID_NO_AUTOMIPMAPS
Definition: OgreScriptCompiler.h:870
Struct containing information about a LOD change event for movable objects.
Definition: OgreLodListener.h:45
@ ID_ONE_MINUS_SRC_COLOUR
Definition: OgreScriptCompiler.h:660
@ CAPS_CATEGORY_D3D9
Definition: OgreRenderSystemCapabilities.h:69
String validateConfig(void)
Make sure all the extra options are valid.
static const IdString BlendModeIndex11
Definition: OgreUnlitProperty.h:122
virtual void resourceGroupLoadStarted(const String &groupName, size_t resourceCount)=0
This event is fired when a resource group begins loading.
SharedPtr< SkeletonDef > SkeletonDefPtr
Definition: OgrePrerequisites.h:399
@ PF_ASTC_RGBA_12X10_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 12x10)
Definition: OgrePixelFormat.h:285
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create uniform buffer.
virtual void setCaption(const DisplayString &text)
Sets the caption on elements that support it.
void addStrategy(LodStrategy *strategy)
Add a strategy to the manager.
This class represents a render target that renders to multiple RenderTextures at once.
Definition: OgreRenderTexture.h:70
static const String & getDirectionalLightExtruderVs_1_1(void)
Get extruder program source for directional lights, compatible with vs_1_1.
Definition: OgreShadowVolumeExtrudeProgram.h:245
size_t getNumParticles(void) const
Gets the number of individual particles in the system right now.
String getRightBorderUVString() const
Page strategy which loads new pages based on a regular 3D grid.
Definition: OgreGrid3DPageStrategy.h:204
const String & getFilenameExtension() const
Definition: OgreTerrainGroup.h:160
VaoManager * _getVaoManager() const
will return the vao manager that this mesh will use for creating and destroying array objects
Definition: OgreMesh2.h:480
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
String doGet(const void *target) const
#define OGRE_THREAD_CALL_CONVENTION
Definition: OgreThreads.h:43
uint32 getId(void) const
Definition: OgrePass.h:179
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
RawSimdUniquePtr(const RawSimdUniquePtr ©)
Definition: OgreRawPtr.h:66
void getIrradProbeFullResolution(uint32 &outWidth, uint32 &outHeight) const
virtual const String & getTypeName(void) const
See OverlayElement.
void _dumpCsvTracks(String &outText) const
Dumps all the tracks in CSV format to the output string argument.
virtual ~MovableObjectFactory()
Definition: OgreMovableObject.h:614
virtual SubRenderState * createInstance()
Create an instance of the SubRenderState sub class it suppose to create.
@ CE_OBJECTNAMEEXPECTED
Definition: OgreScriptCompiler.h:214
void importMesh(DataStreamPtr &stream, Mesh *pDest)
Imports Mesh and (optionally) Material data from a .mesh file DataStream.
type4(const Vector4 &val)
Definition: OgreShaderPrimitives.h:46
virtual TextureGpu * findIbl(const TextureGpu *baseParams)
Definition: OgreGL3PlusStagingTexture.h:42
@ OGREPROF_RENDERING
Rendering.
Definition: OgreProfiler.h:218
bool IsWindows10OrGreater()
Definition: OgreOSVersionHelpers.h:88
void * ptr
Definition: OgreBufferPacked.h:120
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:198
bool enableAlphaBlend
Definition: OgreGLES2HlmsPso.h:54
virtual void _setTexture(size_t unit, TextureGpu *texPtr)=0
Sets the texture to bind to a given texture unit.
virtual void finializeSession()
@ GMM_PIXELS
Positions & sizes are in absolute pixels.
Definition: OgreOverlayElement.h:62
static const IdString DetailMapsNormal
Definition: OgreHlmsPbsMobile.h:154
static void setDefaultIterationInterval(Real iterationInterval)
Set the default iteration interval for all ParticleSystem instances.
Definition: OgreParticleSystem.h:431
virtual ~ParticleVisualData()
Definition: OgreParticle.h:57
void unlock(void)
Override HardwareBuffer to turn off all shadowing.
@ QUATERNION
Definition: OgreAnimable.h:86
uint32 instanceCount
Definition: OgreCbDrawCall.h:45
void loadFromAoS(const Matrix4 *RESTRICT_ALIAS src)
Converts ARRAY_PACKED_REALS matrices into this ArrayMatrix.
VertexBufferPacked * createVertexBuffer(const VertexElement2Vec &vertexElements, size_t numVertices, BufferType bufferType, void *initialData, bool keepAsShadow)
Creates a vertex buffer based on the given parameters.
PSSMShadowCameraSetup * getReceiveDynamicShadowsPSSM() const
Whether to use PSSM support dynamic texture shadows, and if so the settings to use (default 0).
Definition: OgreTerrainMaterialGeneratorA.h:131
list< AbstractNodePtr >::type AbstractNodeList
Definition: OgreScriptCompiler.h:91
const LightList & queryLights(void) const
Gets a list of lights, ordered relative to how close they are to this movable object.
Definition: OgreMovableObject.h:544
IfdProbeVisualizer(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, uint8 renderQueueId)
@ Uav
Texture can be used as an UAV.
Definition: OgreTextureGpu.h:88
virtual void swapBuffers()
Swaps the frame buffers to display the next frame.
RenderSystem * getDestinationRenderSystem()
Get the rendersystem subclass to which the output of this Scene Manager gets sent.
const String & getTessellationDomainProgramName(void) const
Gets the name of the Domain Evaluation program used by this pass.
virtual void _setViewMatrix(const Matrix4 &m)
Sets the view transform matrix.
IDirect3DIndexBuffer9 * getD3DIndexBuffer(void)
Get the D3D-specific index buffer.
const Vector3 getCenterBackBottom(void) const
Gets the center of the corners 0, 1.
Definition: OgreVolumeOctreeNode.h:355
void getLightCount(int lightCount[3]) const
Get the light count per light type.
static const IdString UvDiffuseSwizzle9
Definition: OgreUnlitProperty.h:103
static const IdString BlendModeIndex2
Definition: OgreUnlitProperty.h:113
bool intersects(const Sphere &s) const
Returns whether or not this sphere intersects another sphere.
Definition: OgreSphere.h:78
PixelFormat suggestPixelFormat() const
Override since windows don't usually have alpha.
Definition: OgreRenderWindow.h:207
@ PROP_MATRIX4
Definition: OgreProperty.h:121
virtual void inject()
Definition: OgreLodOutputProvider.h:49
Pool()
Definition: OgreResourceManager.h:55
CGProgramProcessor()
Class constructor.
Rectangle2D * getSky(void)
Definition: OgreSceneManager.h:1155
map< LwConstString, const HlmsSamplerblock * >::type samplerblocks
Definition: OgreHlmsJson.h:77
void _setWorldMatrix(const Matrix4 &m)
Sets the world transform matrix.
static bool initialize()
Initialize the Shader Generator System.
@ ACT_RS_DEPTH_RANGE
.x = 'min' / 'close' value according to current RS depth mode .y = 'max' / 'far' value according to c...
Definition: OgreGpuProgramParams.h:1184
virtual void advanceFrame(void)
StringVector getResourceGroups(void)
Get a list of the currently defined resource groups.
@ VET_UINT2
Definition: OgreVertexElements.h:100
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
virtual void copyParametersTo(StringInterface *dest) const
Method for copying this object's parameters to another object.
Definition: OgreStringInterface.h:282
ProgramWriter * createProgramWriter(const String &language)
Create a new, unloaded HighLevelGpuProgram.
MovableObject * getAttachedObject(size_t index)
Retrieves a pointer to an attached object.
Definition: OgreSceneNode.h:117
void setMaxThreadsPerThreadgroup(uint32 value)
Definition: OgreRenderSystemCapabilities.h:979
virtual void notifyTextureChanged(TextureGpu *texture, TextureGpuListener::Reason reason, void *extraData)
RenderTargetViewEntryVec colourAttachments
Definition: OgreTextureDefinition.h:509
void setTextureUvSource(PbsTextureTypes sourceType, uint8 uvSet)
Sets which UV set to use for the given texture.
virtual void * lock(size_t offset, size_t length, LockOptions options)
Lock the buffer for (potentially) reading / writing.
Definition: OgreHardwareBuffer.h:185
bool equalSize(const TextureBox &other) const
Returns true if 'other' & 'this' have the same dimensions.
Definition: OgreTextureBox.h:101
virtual size_t getCurrentVertexCount() const
Get the number of vertices in the section currently being defined (returns 0 if no section is in prog...
static String Type
Definition: OgreShaderFFPTexturing.h:93
Base interface for an instance of a property.
Definition: OgreProperty.h:188
Enumerates the SceneManager classes available to applications.
Definition: OgreSceneManagerEnumerator.h:88
int getViewportWidth(void) const
Gets the width of the destination viewport in pixels.
@ BP_TYPE_VERTEX
Definition: OgreBufferPacked.h:84
IDXGIFactoryN * GetDXGIFactory()
Definition: OgreD3D11Device.h:67
static TerrainAutoUpdateLod * getAutoUpdateLod(uint32 strategy)
Definition: OgreTerrainAutoUpdateLod.h:94
virtual void _resourceTransitionDestroyed(ResourceTransition *resTransition)
Definition: OgreRenderSystem.h:825
void setSamplerblock(uint8 slotIdx, const HlmsSamplerblock &refParams)
Sets a samplerblock based on reference parameters.
void CreateComputeShader()
TextureGpu * texture
Definition: OgreCbTexture.h:38
CbRenderOp(const v1::RenderOperation &_renderOp)
Operand(ParameterPtr parameter, Operand::OpSemantic opSemantic, int opMask=Operand::OPM_ALL, ushort indirectionLevel=0)
Class constructor.
Command object for setting matrix packing in column-major order.
Definition: OgreD3D9HLSLProgram.h:69
static bool msOptimizeForShadowMapping
When this bool is false, prepareForShadowMapping will use the same Vaos for both regular and shadow m...
Definition: OgreMesh2.h:460
MovableObject * getChildObject(void) const
virtual BackgroundProcessTicket initialiseAllResourceGroups(Listener *listener=0)
Initialise all resource groups which are yet to be initialised in the background.
static ParticleSystemManager * getSingletonPtr(void)
Override standard Singleton retrieval.
SceneQuery(SceneManager *mgr)
Standard constructor, should be called by SceneManager.
Command object for common up-vector (see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:92
virtual ~AnimableObject()
AutoConstantType
Defines the types of automatically updated values that may be bound to GpuProgram parameters,...
Definition: OgreGpuProgramParams.h:905
virtual void _setHlmsSamplerblock(uint8 texUnit, const HlmsSamplerblock *Samplerblock)=0
@See HlmsSamplerblock.
void _setHlmsMacroblock(const HlmsMacroblock *macroblock, const GLES2HlmsPso *pso)
ForwardClustered(uint32 width, uint32 height, uint32 numSlices, uint32 lightsPerCell, uint32 decalsPerCell, uint32 cubemapProbesPerCell, float minDistance, float maxDistance, SceneManager *sceneManager)
BufferPacked * extraBuffer
Definition: OgreConstBufferPool.h:65
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
Definition: OgreD3D9Resource.h:47
virtual const String & getTargetLanguage(void) const
Definition: OgreShaderGLSLProgramWriter.h:132
int32 getProperty(IdString key, int32 defaultVal=0) const
static const IdString BlendModeIdx10
Definition: OgreHlmsUnlitMobile.h:135
GpuLogicalIndexUse(size_t bufIdx, size_t curSz, uint16 v)
Definition: OgreGpuProgramParams.h:576
SampleDescription(const String &fsaaSetting)
Definition: OgreCommon.h:950
virtual void getRenderOperation(v1::RenderOperation &op, bool casterPass)
Gets the render operation required to send this object to the frame buffer.
void setNormalMapSpace(NormalMapSpace normalMapSpace)
Set the normal map space.
Definition: OgreShaderExNormalMapLighting.h:127
@ NX
Definition: OgreTextureGpu.h:73
VectorIterator< MovableObjectVec > MovableObjectIterator
Definition: OgreSceneManager.h:2491
static void calculateCastersBox(const size_t numNodes, ObjectData t, uint32 sceneVisibilityFlags, AxisAlignedBox *outBox)
static GLenum getGLUsage(unsigned int usage)
Utility function to get the correct GL usage based on HBU's.
Definition: OgreGL3PlusHardwareBufferManager.h:124
FileSystemLayer(const Ogre::String &subdir)
Creates a concrete platform-dependent implementation of FileSystemLayer.
Definition: OgreFileSystemLayer.h:57
virtual String getType(void) const
Returns the type of the codec as a String.
size_t getPolygonCount(void) const
Returns the current number of polygons.
virtual void *RESTRICT_ALIAS_RETURN map(size_t elementStart, size_t elementCount, MappingState prevMappingState, bool advanceFrame=true)=0
uint8 getDynamicBufferMultiplier(void) const
Definition: OgreVaoManager.h:481
bool hasAutoMipmapAuto(void) const
Workflows getWorkflow(void) const
CompositorPassSceneDef(CompositorTargetDef *parentTargetDef)
Definition: OgreCompositorPassSceneDef.h:191
const SubRenderStateSet & getSubRenderStateInstanceSet() const
Return a set of all instances of the template SubRenderState.
Definition: OgreShaderSubRenderState.h:198
virtual void _render(const CbDrawCallStrip *cmd)
@ ID_DEPTH_STENCIL
Definition: OgreScriptCompiler.h:842
Definition: OgreHlmsCommon.h:144
static String TargetLanguage
Definition: OgreShaderGLSLProgramWriter.h:74
void setPosition(Real x, Real y, Real z)
Set the position of the billboard.
virtual void unbind(RenderTarget *target)=0
Unbind a certain render target.
bool isReinterpretable(void) const
void makeTrans(Real tx, Real ty, Real tz)
Definition: OgreMatrix4.h:434
The class represents a polygon in 3D space.
Definition: OgrePolygon.h:56
@ PF_FLOAT16_GR
32-bit, 2-channel s10e5 floating point pixel format, 16-bit green, 16-bit red
Definition: OgrePixelFormat.h:134
size_t bufferSize
Shortcut to know the buffer size needs.
Definition: OgreGpuProgramParams.h:588
virtual bool isVpAndRtArrayIndexFromAnyShaderRequired(void) const
Returns whether this program requires support for choosing viewport or render target index in any pro...
Definition: OgreGpuProgram.h:376
AtomicScalar(const AtomicScalar< T > &cousin)
Definition: OgreAtomicScalar.h:412
ArrayVector3 mCenter
Definition: C/OgreArraySphere.h:62
Definition: OgreScriptTranslator.h:342
TriangleList mTriangleList
Definition: OgreLodData.h:157
Matrix4 getViewProjectionMatrix(size_t shadowMapIdx) const
Returns the texture view projection matrix for the given shadow map index.
CompositorPassQuadDef(CompositorNodeDef *parentNodeDef, CompositorTargetDef *parentTargetDef)
Definition: OgreCompositorPassQuadDef.h:109
Function * createFunction(const String &name, const String &desc, const Function::FunctionType functionType)
Create new function in this program.
void deletePtr(T *ptr)
Function which invokes OGRE_DELETE on a given pointer.
Definition: OgreMemoryAllocatorConfig.h:513
Node * getParent(void) const
Gets this node's parent (NULL if this is the root).
GpuProgramParameters & operator=(const GpuProgramParameters &oth)
Operator = overload.
GL3PlusFrameBufferObject(GL3PlusFBOManager *manager, uint fsaa)
map< size_t, Vector3 >::type NormalsMap
A collection of normals based on the vertex index.
Definition: OgrePose.h:76
virtual void stop()=0
Stop anything special.
virtual void setFsaaResolved()
Definition: OgreGLES2DepthTexture.h:113
ResourceAccess
Enum identifying the texture access privilege.
Definition: OgreResourceTransition.h:111
virtual const StringVector & getScriptPatterns(void) const =0
Gets the file patterns which should be used to find scripts for this class.
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Returns false if couldn't attach.
Plane(const Vector3 &rkNormal, Real fConstant)
Construct a plane through a normal, and a distance to move the plane along the normal.
@ PFG_PVRTC_RGB4
PVRTC (PowerVR) RGB 4 bpp.
Definition: OgrePixelFormatGpu.h:201
BillboardRotationType getBillboardRotationType(void) const
Gets billboard rotation type.
static char * _arrangeEfficient(v1::SubMesh *subMesh, bool halfPos, bool halfTexCoords, bool qTangents, VertexElement2Vec *outVertexElements, size_t vaoPassIdx)
Rearranges the buffers to be efficiently rendered in Ogre 2.1 with Hlms Takes a v1 SubMesh and return...
void getRenderOperation(RenderOperation &, bool casterPass)
Gets the render operation required to send this object to the frame buffer.
ArraySphere(const ArrayReal &radius, const ArrayVector3 ¢er)
Definition: C/OgreArraySphere.h:68
VertexElement()
Constructor, should not be called directly, only needed because of list.
Definition: OgreHardwareVertexBuffer.h:130
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
virtual unsigned long getFrameLastHeld()
Get the frame number in which this Page was last loaded or held.
Definition: OgrePage.h:121
void _cleanupDepthBuffers(void)
virtual void clearFrameBuffer(RenderPassDescriptor *renderPassDesc, TextureGpu *anyTarget, uint8 mipLevel)
Immediately clears the whole frame buffer on the selected RenderPassDescriptor.
VertexData(VertexDeclaration *dcl, VertexBufferBinding *bind)
Constructor.
uint8 getNumMipmaps(void) const
virtual const String & getTargetLanguage() const
Definition: OgreShaderCGProgramWriter.h:74
@ ID_VERTEX_PROGRAM
Definition: OgreScriptCompiler.h:613
virtual void preCopyRenderTargetToCubemap(TextureGpu *renderTarget, uint32 cubemapArrayIdx)
ParallaxCorrectedCubemapAutoListener overloads.
virtual void addChildImpl(OverlayElement *elem)
Adds another OverlayElement to this container.
void convertToImage1D(Image2 &inOutImage, uint32 row)
SkinningType
Definition: OgreShaderPrerequisites.h:94
virtual void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
Definition: OgreD3D9Resource.h:58
void notifyDelta(uint16 x, uint16 y, uint16 lod, Real delta)
Notify the node (and children) of a height delta value.
@ ID_POINT_SIZE
Definition: OgreScriptCompiler.h:719
This class contains the information required to describe the edge connectivity of a given set of vert...
Definition: OgreEdgeListBuilder.h:54
void setNumLocalTextureDefinitions(size_t numTDs)
Reserves enough memory for all texture definitions.
Definition: OgreTextureDefinition.h:290
const SkeletonPtr & getOldSkeleton(void) const
Gets a pointer to any linked Skeleton.
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:182
uint16 version
Version of the chunk (stored)
Definition: OgreStreamSerialiser.h:100
String doGet(const void *target) const
void clearBoneAssignments(void)
Removes all bone assignments for this mesh.
@ PFG_R8_UNORM
Definition: OgrePixelFormatGpu.h:107
virtual void copyFrom(const SubRenderState &rhs)
@ ID_CLEAR
Definition: OgreScriptCompiler.h:873
static void convertColourValue(VertexElementType srcType, VertexElementType dstType, uint32 *ptr)
Utility method for converting colour from one packed 32-bit colour type to another.
~GLSLESProgramPipelineManager(void)
GenericValue< UTF8< char >, MemoryPoolAllocator< CrtAllocator > > Value
Definition: OgreHlmsJson.h:49
void load(const Matrix4 &src)
Assumes src is aligned.
Definition: C/OgreArrayMatrixAf4x3.h:220
@ ACT_TANTIME_0_1
Tangent of "Time0_1". Equivalent to RenderMonkey's "TanTime0_1".
Definition: OgreGpuProgramParams.h:1214
ushort getTessellationDomainProgramConstantBoolCount(void) const
The number of boolean constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:936
bool positionCloses(const Vector3 &rhs, Real tolerance=1e-03f) const
Returns whether this vector is within a positional tolerance of another vector, also take scale of th...
Definition: OgreVector3.h:764
virtual void endProfileEvent(void)
Ends the currently active GPU profiling event.
virtual void _callMemoryChangeListeners(void)=0
Internal use, notifies all attached objects that our memory pointers (i.e.
HlmsMacroblock const * macroblock
Definition: OgreHlmsPso.h:190
Controller< Real > * createTextureRotater(TextureUnitState *layer, Real speed)
Creates a basic time-based texture coordinate modifier designed for creating rotating textures.
vector< QuadTextureSource >::type TextureSources
Definition: OgreCompositorPassQuadDef.h:61
virtual void destroy(void)=0
Real getSquaredDepth(const MovableObject *movableObject, const Ogre::Camera *camera) const
virtual void _descriptorSetTextureCreated(DescriptorSetTexture *newSet)
virtual ~D3D11NullTexture()
destructor
bool hasActiveActor(const Renderable *renderable) const
String srcResourceGroup
Filename in which it was defined, if any.
Definition: OgreHlms.h:99
virtual void setValue(const Radian &)
Set value.
Definition: OgreAnimable.h:179
TextureGpu * getCurrentRefractionsTexture(void) const
Definition: OgreSceneManager.h:1318
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
@ FILTER_LINEAR
Definition: OgreImage2.h:335
void _setWorldMatrix(const Matrix4 &m)
See RenderSystem.
void loadFromAoS(const Matrix4 *RESTRICT_ALIAS src)
Converts ARRAY_PACKED_REALS matrices into this ArrayMatrix.
map< String, ParamCommand * >::type ParamCommandMap
Definition: OgreStringInterface.h:90
virtual void unregisterSceneNodeListener(SceneNode *sceneNode)
Unregisters a registered node for listening.
Radian operator*(Real a, const Radian &b)
Definition: OgreMath.h:802
Simple implementation of MovableObject and Renderable for single-part custom objects.
Definition: OgreSimpleRenderable.h:52
const AxisAlignedBox & getCurrentCastersBox(void) const
@See CompositorShadowNode::getCastersBox
@ PF_R16G16_SNORM
32-bit pixel format, 16 bits red (signed normalised int), 16 bits blue (signed normalised int).
Definition: OgrePixelFormat.h:240
@ PBSM_DIFFUSE
Definition: OgreHlmsPbsPrerequisites.h:57
static eExceptionsErrorLevel mExceptionsErrorLevel
Definition: OgreD3D11Device.h:102
virtual_l1 void specular(const ColourValue &col)
Add a vertex specular colour to a vertex.
PropertyType getType() const
Get the type of the property.
Definition: OgreProperty.h:150
const Vector4 & getDetailMapOffsetScale(uint8 detailMap) const
static const ArrayReal PI
Definition: OgreMathlibC.h:49
static const IdString UvAtlas11
Definition: OgreHlmsUnlitMobile.h:154
void saveAllTexturesFromDatablocks(const String &folderPath, set< String >::type &savedTextures, bool saveOitd, bool saveOriginal, HlmsTextureExportListener *listener)
uint32 RGBA
Definition: OgreColourValue.h:41
virtual void setPointRenderingEnabled(bool enabled)
Set whether or not the BillboardSet will use point rendering rather than manually generated quads.
virtual ~AndroidEGLWindow()
void setResolution(uint32 width, uint32 height, uint32 depth)
Changes resolution.
SharedPtr< GpuSharedParameters > GpuSharedParametersPtr
Definition: OgrePrerequisites.h:391
HighLevelGpuProgramManager()
const String & getShaderLibraryPath(void) const
Get shader library path.
Definition: OgreGLES2Support.h:98
void copyFromFramebuffer(uint32 zoffset)
Copy from framebuffer.
void uninstall()
Perform the final plugin uninstallation sequence.
const CompositorWorkspaceListenerVec & getListeners(void) const
Definition: OgreCompositorWorkspace.h:192
const ColourValue & getAmbientLightUpperHemisphere(void) const
Returns the ambient light level to be used for the scene.
Definition: OgreSceneManager.h:1649
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
virtual void _setHlmsSamplerblock(uint8 texUnit, const HlmsSamplerblock *Samplerblock)
@See HlmsSamplerblock.
TextureGpu * texture
Definition: OgreTextureGpuManager.h:268
Vector3 singleIntersection
Single intersection point, only applicable for WFT_SINGLE_INTERSECTION.
Definition: OgreSceneQuery.h:111
void track(const MovableObject *movableObject)
Starts tracking the given MovableObject and render its Aabb.
virtual void download(const PixelBox &data)
Download a box of pixels from the card.
static int IFloor(float fValue)
Definition: OgreMath.h:243
iterator_range< T > type
defines the real used type
Definition: OgreIteratorRange.h:124
void _updateAutoParams(const AutoParamDataSource *source, uint16 variabilityMask)
Update automatic parameters.
void destroy(void)
Destroys the window.
virtual uint32 fillBuffersForV1(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)
void doSet(void *target, const String &val)
@ ID_LOD_INDEX
Definition: OgreScriptCompiler.h:642
@ PF_ASTC_SRGB8A8_8X6_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 8x6)
Definition: OgrePixelFormat.h:301
GL3PlusBufferInterface(size_t vboPoolIdx, GLuint vboName, GL3PlusDynamicBuffer *dynamicBuffer)
void store(Matrix4 *dst) const
Assumes dst is aligned.
Definition: C/OgreArrayMatrixAf4x3.h:232
const IndexMap * getBlendIndexToBoneIndexMap(void) const
Definition: OgreRenderable.h:487
VertexElement2VecVec vertexElements
Definition: OgreHlmsPso.h:184
void setSpecular(Real red, Real green, Real blue, Real alpha)
Sets the specular colour reflectance properties of every Pass in every Technique.
bool operator<(IdString idString) const
Definition: OgreIdString.h:225
void setIsOptimised(bool flag)
Sets if the GLSL source has been optimised successfully.
Definition: OgreGLSLESShader.h:99
const String & getOrigin(void) const
Get the origin of this particle system, e.g.
Definition: OgreParticleSystem.h:528
ImageDownsamplerCube downscale2x_Float32_XXX_cube
Definition: OgreImageDownsampler.h:157
Definition: OgreTextureDefinition.h:52
Manages particle systems, particle system scripts (templates) and the available emitter & affector fa...
Definition: OgreParticleSystemManager.h:79
@ BCT_UINT
Definition: OgreGpuProgramParams.h:59
void dirtyLightmap()
Mark a the entire lightmap as dirty.
RqSortMode getSortRenderQueue(uint8 rqId) const
static bool isNativeEndian(PixelFormat format)
Shortcut method to determine if the format is in native endian format.
String doGet(const void *target) const
static const IdString VertexId
Definition: OgreHlms.h:905
Profile(const Profile &prof)
Definition: OgreTerrainMaterialGenerator.h:176
Alternative listener class for dealing with RaySceneQuery.
Definition: OgreSceneQuery.h:331
static const IdString GenNormalsGBuf
Definition: OgreHlms.h:875
VertexData * _getSkelAnimVertexData(void) const
Advanced method to get the temporarily blended skeletal vertex information for entities which are sof...
static const String & getPointLightExtruderVs_4_0(void)
Get extruder program source for point lights, compatible with vs_4_0.
Definition: OgreShadowVolumeExtrudeProgram.h:237
@ HBU_DYNAMIC_WRITE_ONLY
Combination of HBU_DYNAMIC and HBU_WRITE_ONLY.
Definition: OgreHardwareBuffer.h:115
static const IdString UvAtlas9
Definition: OgreHlmsUnlitMobile.h:152
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:63
struct z_stream_s z_stream
Definition: OgreDeflate.h:39
Specialisation of HardwareBuffer for a counter buffer.
Definition: OgreHardwareCounterBuffer.h:49
map< String, ProgramWriterFactory * >::type FactoryMap
Definition: OgreShaderProgramWriterManager.h:64
virtual int getExecutionOrder() const
vector< float >::type FloatConstantList
Definition of container that holds the current float constants.
Definition: OgreGpuProgramParams.h:596
Result build(VertexElementSemantic targetSemantic=VES_TANGENT, unsigned short sourceTexCoordSet=0, unsigned short index=1)
Build a tangent space basis from the provided data.
@ ID_VISIBILITY_MASK
Definition: OgreScriptCompiler.h:911
Real maxHeightDelta
Maximum delta height between this and the next lower lod.
Definition: OgreTerrainQuadTreeNode.h:140
void createVertexBuffers(VertexBufferPackedVec &outVertexBuffers, size_t numVertices, void *const *initialData, bool keepAsShadow)
Creates a vertex buffer based on the given parameters.
Definition: OgreImageResampler.h:321
GL surface descriptor.
Definition: OgreGLES2RenderTexture.h:42
@ PF_B5G6R5
16-bit pixel format, 5 bits red, 6 bits green, 5 bits blue.
Definition: OgrePixelFormat.h:63
const Vector3 getCenterTop(void) const
Gets the center of the corners 4, 5, 6, 7.
Definition: OgreVolumeOctreeNode.h:328
virtual ~D3D11NullTextureTarget()
uint32 getCurrentChunkID() const
Get the ID of the chunk that's currently being read/written, if any.
virtual String writeContentsToTimestampedFile(const String &filenamePrefix, const String &filenameSuffix, PixelFormat format=PF_UNKNOWN)
Writes the current contents of the render target to the (PREFIX)(time-stamp)(SUFFIX) file.
virtual void _setPipelineStateObject(const HlmsPso *pso)
@See HlmsPso
DefaultWorkQueueBase(const String &name=BLANKSTRING)
Constructor.
static void createBuffers(const BufferDefinitionVec &bufferDefs, CompositorNamedBufferVec &inOutBufContainer, const TextureGpu *finalTarget, RenderSystem *renderSys)
Utility function to create the buffers based on a given set of buffer definitions and put them in a c...
vector< ScriptToken >::type ScriptTokenList
Definition: OgreScriptLexer.h:78
virtual void softwareVertexSkinning(const float *srcPosPtr, float *destPosPtr, const float *srcNormPtr, float *destNormPtr, const float *blendWeightPtr, const unsigned char *blendIndexPtr, const Matrix4 *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.
OptimisationLevel
Shader optimisation level.
Definition: OgreD3D9HLSLProgram.h:148
uint32 getRtIndex(void) const
bool operator==(const ConstVectorRange &rhs) const
comparison operator for equality
Definition: OgreIteratorRange.h:221
static const IdString DetailOffsets0
Definition: OgreHlmsPbs.h:502
virtual void _placeBarriersAndEmulateUavExecution(BoundUav boundUavs[64], ResourceAccessMap &uavsAccess, ResourceLayoutMap &resourcesLayout)
Emulates the execution of a UAV to understand memory dependencies, and adds a memory barrier / resour...
@ ID_FLUSH_COMMAND_BUFFERS_AFTER_SHADOW_NODE
Definition: OgreScriptCompiler.h:919
@ PF_R8G8_SNORM
16-bit pixel format, 8 bits red (signed normalised int), 8 bits blue (signed normalised int).
Definition: OgrePixelFormat.h:232
size_t cacheData(const void *buf, size_t count)
Cache data pointed by 'buf'.
Definition: OgreDataStream.h:65
void setLightMapDirection(const Vector3 &v)
Set the shadow map light direction to use (world space).
Definition: OgreTerrain.h:1953
bool queryResult(MovableObject *movable, SceneQuery::WorldFragment *fragment)
Self-callback in order to deal with execute which returns collection.
static const int RenderableShift
Definition: OgreHlms.h:957
size_t getPassIterationNumberIndex() const
Get the physical buffer index of the pass iteration number constant.
Definition: OgreGpuProgramParams.h:2417
virtual ~GL3PlusUavBufferPacked()
const char * CompositorPassTypeEnumNames[PASS_CUSTOM+1u]
ConstMapIterator< NumericTrackList > NumericTrackIterator
Definition: OgreAnimation.h:404
const String & getMessages() const
Get any diagnostic messages about the process.
Definition: OgreWorkQueue.h:147
void setRotate(const Radian &angle)
Sets the rotation applied to this overlay.
virtual const String & getMovableType(void) const =0
Returns the type name of this object.
This class records the usage of a set of shared parameters in a concrete set of GpuProgramParameters.
Definition: OgreGpuProgramParams.h:814
virtual void _descriptorSetTexture2Destroyed(DescriptorSetTexture2 *set)
virtual ~D3D11UavBufferPacked()
@ TID_NEWLINE
Definition: OgreScriptLexer.h:58
ushort getNumLodLevels(void) const
Returns the number of levels of detail that this mesh supports.
void setVertexProgramConstantBoolCount(ushort c)
The number of boolean constants vertex programs support.
Definition: OgreRenderSystemCapabilities.h:724
map< String, OverlayElement * >::type ElementMap
Definition: OgreOverlayManager.h:56
ManualObjectSection * getSection(unsigned int index) const
Gets a pointer to a ManualObjectSection, i.e.
static uint8 getMaxMipmapCount(uint32 width, uint32 height)
bool canGetCompiledShaderBuffer()
void initialiseContext(Window *primary)
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
Create a multi render target.
@ VET_UINT4
Definition: OgreVertexElements.h:102
const String & getType(void) const
Returns the name of the type of affector.
Definition: OgreParticleAffector.h:118
void stop()
Stop anything special.
virtual const Vector3 & _getDerivedPosition(void) const
Gets the position of the OldNode as derived from all parents.
Fixed Function Pipeline render state builder.
Definition: OgreShaderFFPRenderStateBuilder.h:51
This abstract listener interface lets you get notifications of completed background processes instead...
Definition: OgreResourceBackgroundQueue.h:94
virtual void save(StreamSerialiser &stream)=0
Save this data to a stream.
const NodeAliasMap & getNodeAliasMap(void)
Gets read-only access to the map to all added nodes and their aliases.
Definition: OgreCompositorWorkspaceDef.h:237
void setAllowMultipleBounces(bool bAllowMultipleBounces)
This function allows VctLighting::update to pass numBounces > 0 as argument.
void setUseEmissiveAsLightmap(bool bUseEmissiveAsLightmap)
When set, it treats the emissive map as a lightmap; which means it will be multiplied against the dif...
static GLSLMonolithicProgramManager & getSingleton(void)
iterator begin()
Definition: OgreCommon.h:477
OldNode * getAssociatedNode(void) const
Returns a pointer to the associated OldNode object (if any).
virtual void executeRenderPassDescriptorDelayedActions(void)
Metal needs to delay RenderCommand creation to the last minute, because we can't issue blit operation...
GpuProgramParameters_AutoConstantEntry(GpuProgramParameters::AutoConstantType theType, size_t theIndex, size_t theData, uint16 theVariability, size_t theElemCount=4)
Definition: OgreGpuProgramParams.h:2499
Defines an instance of a discrete, movable object based on a Mesh.
Definition: OgreEntity.h:83
virtual ~Chunk(void)
Destructor.
IdType getId() const
Get the unique id of this object.
Definition: OgreId.h:74
void setCubemapOutput(const String &textureName)
virtual const Vector3 & getRegionDimensions(void) const
Gets the size of a single batch of geometry.
Definition: OgreStaticGeometry.h:673
Frustum(IdType id, ObjectMemoryManager *objectMemoryManager)
Named constructor.
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:128
@ ID_RTV
Definition: OgreScriptCompiler.h:830
GL3PlusTextureGpuWindow(GpuPageOutStrategy::GpuPageOutStrategy pageOutStrategy, VaoManager *vaoManager, IdString name, uint32 textureFlags, TextureTypes::TextureTypes initialType, TextureGpuManager *textureManager, GL3PlusContext *context, Window *window)
bool validate(D3D9RenderWindow *renderWindow)
virtual void addMarchingSquaresTriangles(const Vector3 *corners, const Vector4 *volumeValues, const size_t *indices, const Real maxDistance, MeshBuilder *mb) const
Overridden from IsoSurface.
void addBoneAssignment(const VertexBoneAssignment &vertBoneAssign)
Assigns a vertex to a bone with a given weight, for skeletal animation.
uint32 mNumThreadGroups[3]
The number of thread groups to dispatch.
Definition: OgreHlmsPso.h:310
void copyFromFramebuffer(uint32 zoffset)
Any & operator=(const ValueType &rhs)
Definition: OgreAny.h:91
Implementation of CompositorPass This implementation will clear the RenderTarget using the parameters...
Definition: OgreCompositorPassClear.h:57
RenderTexture * getRenderTarget(size_t slice)
Get a render target for this PixelBuffer, or a slice of it.
void _setCreator(const HardwareSkinningFactory *pCreator)
Set the factory which created this sub render state.
Definition: OgreShaderExHardwareSkinning.h:143
@ ST_EXTERIOR_REAL_FAR
Definition: OgreSceneManager.h:2839
virtual void _setTextureCoordCalculation(size_t unit, TexCoordCalcMethod m, const Frustum *frustum=0)
Sets a method for automatically calculating texture coordinates for a stage.
void bind(void)
Bind the shader in OpenGL.
IdStringVec mExposedTextures
Definition: OgreCompositorPassDef.h:185
@ SPC_LIGHTPOSITION_OBJECT_SPACE1
Definition: OgreShaderParameter.h:208
Definition: OgreScriptCompiler.h:542
Window * createWindow(bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle)
@ SPC_LIGHTPOSITIONVIEW_SPACE5
Definition: OgreShaderParameter.h:232
@ PFG_ETC2_RGB8A1_UNORM
Definition: OgrePixelFormatGpu.h:220
Centralized class for dealing with declarations of textures in Node & Workspace definitions.
Definition: OgreTextureDefinition.h:83
const FunctionAtomInstanceList & getAtomInstances() const
Return list of atom instances composing this function.
Definition: OgreShaderFunction.h:159
GpuSharedParametersUsage(GpuSharedParametersPtr sharedParams, GpuProgramParameters *params)
Construct usage.
GLES2NullTexture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, GLES2Support &support)
GpuProgramParametersSharedPtr createParameters(void)
Overridden from GpuProgram.
static void useSameVaos(VaoManager *vaoManager, const VertexArrayObjectArray &inVao, VertexArrayObjectArray &outVao)
Copies all the pointers in inVao to outVao so they are identical without cloning any memory.
DatablockConversionResult()
Definition: OgreVctMaterial.h:51
virtual void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
void _update(const Camera *lodCamera, SceneManager *sceneManager)
Calling this function every frame will cause us to execute all our passes (ie.
int major
Definition: OgreRenderSystemCapabilities.h:278
void operator=(const RawSimdUniquePtr ©)
Definition: OgreRawPtr.h:95
ImageDownsampler2D downscale2x_sRGB_XX88
Definition: OgreImageDownsampler.h:182
virtual uint8 waitForTailFrameToFinish(void)
See VaoManager::waitForTailFrameToFinish.
virtual void writeSourceCode(std::ostream &os, Program *program)
void setSubroutine(GpuProgramType gptype, const String &slotName, const String &subroutineName)
uint32 supportedLightTypes
Bitmask OR of e.g.
Definition: OgreCompositorShadowNode.h:359
size_t _getInternalTotalSizeBytes(void) const
Definition: OgreBufferPacked.h:316
static const uint16 TERRAINLAYERDECLARATION_CHUNK_VERSION
Definition: OgreTerrain.h:283
void nodeMoved(BoneTransform &inOutTransform, size_t oldDepth, size_t newDepth)
Requests memory for the given Node to be moved to a different depth level, transferring existing valu...
void clear()
Definition: OgreStackVector.h:209
virtual void write(const Plane *plane, size_t count=1)
static AbsolutePixelCountLodStrategy & getSingleton(void)
Override standard Singleton retrieval.
bool hasOwnDimensions(void) const
Returns true if this particle deviates from the ParticleSystem's default dimensions (i....
Definition: OgreParticle.h:124
SceneBlendFactor mSourceBlendFactor
Definition: OgreHlmsDatablock.h:176
void setBakingMultiplier(float bakingMult)
Sets baking multiplier for HDR rendering.
@ SPC_POSTOLIGHT_OBJECT_SPACE0
Light vector in object space index 0-7.
Definition: OgreShaderParameter.h:127
RenderQueue * renderQueue
Definition: OgreSceneManager.h:761
virtual void _setTextures(uint32 slotStart, const DescriptorSetTexture2 *set)
virtual void eventOccurred(const String &eventName, const NameValuePairList *parameters)
A rendersystem-specific event occurred.
virtual void _refreshAnimationState(AnimationStateSet *animSet)
Refresh an animation set suitable for use with this skeleton.
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...
AnyNumeric operator*(const AnyNumeric &rhs) const
Definition: OgreAny.h:331
Definition: OgreTextureGpuManager.h:264
ETCCodec(const String &type)
float _m[16]
Definition: OgreShaderPrimitives.h:90
virtual void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
Specialisation of VertexDeclaration for OpenGL ES 2 Vertex Array Object usage.
Definition: OgreGLES2VertexArrayObject.h:38
void updateGeometryWithoutNotifyNeighbours()
Performs an update on the terrain geometry based on the dirty region.
static bool intersects(const Sphere &sphere, const Plane &plane)
Sphere / plane intersection test.
void setStencilCheckEnabled(bool enabled)
void addShaderProfile(const String &profile)
Adds the profile to the list of supported profiles.
Definition: OgreRenderSystemCapabilities.h:626
@ OR_DEGREE_90
Definition: OgreFrustum.h:51
uint8 resolveMipLevel
Definition: OgreRenderPassDescriptor.h:122
GLenum getGLShaderType(GpuProgramType programType)
Get OpenGL GLSL shader type from OGRE GPU program type.
virtual void clearFrameBuffer(RenderPassDescriptor *renderPassDesc, TextureGpu *anyTarget, uint8 mipLevel)
Immediately clears the whole frame buffer on the selected RenderPassDescriptor.
@ CULL_CLOCKWISE
Hardware culls triangles whose vertices are listed clockwise in the view (default).
Definition: OgreCommon.h:267
@ SPC_TEXTURE_COORDINATE5
Definition: OgreShaderParameter.h:293
virtual ResourceManager * getCreator(void)
Gets the manager which created this resource.
Definition: OgreResource.h:434
static const IdString DetailWeights
Definition: OgreHlmsPbs.h:501
virtual ~MeshSerializerImpl()
Implements texture atlas sampling.
Definition: OgreShaderExTextureAtlasSampler.h:131
void loadMaterial(const rapidjson::Value &json, const HlmsJson::NamedBlocks &blocks, HlmsDatablock *datablock, const String &resourceGroup)
static unsigned int intRead(const void *src, int n)
Read a n*8 bits integer value to memory in native endian.
Definition: OgreBitwise.h:294
const SmallVectorImpl & operator=(const SmallVectorImpl &RHS)
A factory that enables creation of FFPColour instances.
Definition: OgreShaderFFPColour.h:152
vector< DynLib * >::type PluginLibList
Definition: OgreRoot.h:129
static ColourValue parseColourValue(const String &val, const ColourValue &defaultValue=ColourValue::Black)
Parses a ColourValue out of a String.
bool movePass(const unsigned short sourceIndex, const unsigned short destinationIndex)
Move a pass from source index to destination index.
virtual void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
@ ID_COLOUR_OP_EX
Definition: OgreScriptCompiler.h:758
const ColourValue & getSelfIllumination(void) const
Gets the self illumination colour of the pass.
Real getHeight(void) const
Gets the height of this element in relation to the screen (where 1.0 = screen height)
Definition: OgreAndroidEGLWindow.h:46
virtual bool _prepareProceduralPage(Page *page, PagedWorldSection *section)
Give a world the opportunity to prepare page content procedurally.
size_t indexSize
Definition: OgreLodBuffer.h:42
APKFileSystemArchiveFactory(AAssetManager *assetMgr)
Definition: OgreAPKFileSystemArchive.h:86
Definition: OgreScriptTranslator.h:193
virtual String validateConfigOptions(void)=0
Validates the options set for the rendering system, returning a message if there are problems.
static String Type
Definition: OgreShaderExPerPixelLighting.h:95
ImageDownsampler2D downscale2x_sRGB_XXXA8888
Definition: OgreImageDownsampler.h:179
void resizePOD(size_t newSize, const T &value=T())
Definition: OgreFastArray.h:316
StreamType
Requested stream type.
Definition: OgreDeflate.h:64
virtual 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.
virtual void _descriptorSetTextureDestroyed(DescriptorSetTexture *set)
Definition: OgreRenderSystem.h:837
void dirtyHash()
Definition: OgreCommon.h:468
void attachToProgramObject(const GLuint programObject)
virtual void bindBufferPS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
A key frame in an animation sequence defined by an AnimationTrack.
Definition: OgreKeyFrame.h:59
GL3PlusHardwareShaderStorageBuffer(HardwareBufferManagerBase *mgr, size_t bufferSize, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name)
void setShadingMode(ShadeOptions mode)
Sets the type of light shading required.
static const IdString PssmBlend
Definition: OgreHlms.h:864
void blit(const PixelBox &src, const Box &dstBox)
Blits a set of values into a region on the blend map.
void setValue(Real value)
void setSubdivisionFactor(Real factor)
Alters the level of subdivision for this surface.
virtual ~MeshSerializerListener()
Definition: OgreMesh2Serializer.h:204
InterpolationMode
The types of animation interpolation available.
Definition: OgreAnimation.h:97
void setVSyncEnabled(bool vsync)
RenderWindow::setVSyncEnabled
void _generateManualLodLevels(LodConfig &lodConfig)
If you only use manual Lod levels, then you don't need to build LodData mesh representation.
const float * ptr() const
Pointer accessor for direct copying.
Definition: OgreColourValue.h:165
void getVectorAlign(const Vector3 &inVec, Alignment align, Vector3 *outVec) const
Translate a vector into world space based on a specified alignment.
HlmsCompute * getComputeHlms(void)
Definition: OgreHlmsManager.h:161
Real getVerticalTexelOffset(void)
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this r...
virtual void clearResults(void)
Clears the results of the last query execution.
list< ResourceLocation * >::type LocationList
List of possible file locations.
Definition: OgreResourceGroupManager.h:314
Overlay * create(const String &name)
Create a new Overlay.
void setType(LightTypes type)
Sets the type of light - see LightTypes for more info.
OldNode()
Constructor, should only be called by parent, not directly.
static void toStr(const Vector3 &value, String &outString)
uint32 zoffset
Definition: OgreGLES2RenderTexture.h:45
virtual_l2 void _setDerivedOrientation(const Quaternion &q)
Sets the final world orientation of the node directly.
void markUsedIndices(IDX *indices, size_t indexCount)
Definition: OgreLod0Stripifier.h:72
~D3D9HardwareIndexBuffer()
@ ERR_RT_ASSERTION_FAILED
Definition: OgreException.h:115
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.
PatchSurfaceType
Definition: OgrePatchSurface.h:60
static UINT get(MsaaPatterns::MsaaPatterns msaaPatterns)
Definition: OgreVertexBufferPacked.h:40
@ ID_ZERO
Definition: OgreScriptCompiler.h:656
bool getDoubleSided(void) const
Definition: OgreLight.h:296
virtual void finalTargetResized02(const TextureGpu *finalTarget)
void apply(Real timePos, Real weight=1.0, Real scale=1.0f)
Applies an animation given a specific time point and weight.
A factory that enables creation of TriplanarMapping instances.
Definition: OgreShaderExTriplanarTexturing.h:189
void setExtents(Real mx, Real my, Real mz, Real Mx, Real My, Real Mz)
Definition: OgreAxisAlignedBox.h:258
static Quaternion parseQuaternion(const String &val, const Quaternion &defaultValue=Quaternion::IDENTITY)
Parses a Quaternion out of a String.
void saveTexture(TextureGpu *texture, const String &folderPath, set< String >::type &savedTextures, bool saveOitd, bool saveOriginal, HlmsTextureExportListener *listener)
GLSLESProgramWriter()
Class constructor.
bool getEmitting() const
Returns true if the particle system emitting flag is turned on.
virtual const Quaternion & getOrientationForViewUpdate(void) const
Get the derived orientation of this frustum.
bool formatNeedsReinterpret(void) const
static Vector2 octahedronMappingEncode(Vector3 n)
Takes a directional 3D vector n and returns a 2D value in range [0; 1] Vector 'n' doesn't have to be ...
Specialisation of HardwareIndexBuffer for emulation.
Definition: OgreGLES2DefaultHardwareBufferManager.h:71
@ ID_3D
Definition: OgreScriptCompiler.h:729
void removeAllWorkspaces(void)
Removes all workspaces. Make sure you don't hold any reference to a CompositorWorkpace!
bool _collectForwardPlusObjects(const Camera *camera)
Returns true if collection code was run.
void _setRefractions(TextureGpu *depthTextureNoMsaa, TextureGpu *refractionsTexture)
void _notifyRenderableFlushedHlmsDatablock(Renderable *renderable)
void removeEdge(const Edge &edge)
D3D9VideoMode * item(size_t index)
void doSet(void *target, const String &val)
virtual void bindBufferDS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Vector3 getMaximum() const
Gets the maximum corner of the box.
bool isVSync() const
Definition: OgreD3D9RenderWindow.h:53
Item *const * getProxyItems(void) const
Definition: OgreParallaxCorrectedCubemap.h:211
static ArrayMaskI And(ArrayInt a, ArrayMaskI b)
Definition: OgreMathlibC.h:157
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
GpuProgramParametersSharedPtr getGeometryProgramParameters(void) const
Gets the geometry program parameters used by this pass.
Predefined type.
Definition: OgreIteratorRange.h:143
virtual void setWorkersCanAccessRenderSystem(bool access)
Set whether worker threads will be allowed to access render system resources.
@ ID_EXP2
Definition: OgreScriptCompiler.h:705
void bind(void)
Bind the shader in OpenGL.
Vector3 getDirection(void) const
Returns the light's direction.
Ogre assumes that there are separate vertex and fragment programs to deal with but GLSL ES has one pr...
Definition: OgreGLSLESLinkProgramManager.h:57
const PlaneList & getWindowPlanes(void) const
Gets the window clip planes, only applicable if isWindowSet == true.
4-dimensional homogeneous vector.
Definition: OgreVector4.h:46
Rectangle2D(bool bQuad, IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager)
uint32 baseInstance
Definition: OgreCbDrawCall.h:57
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)
void setAttenuationBasedOnRadius(Real radius, Real lumThreshold)
Sets the attenuation parameters (range, constant, linear & quadratic,.
void destroyAllDatablocks(void)
Destroys all datablocks created with @createDatablock.
virtual void stop()=0
Stop anything special.
PSSMShadowCameraSetup()
Constructor, defaults to 3 splits.
virtual bool hasAnisotropicMipMapFilter() const
Determines if the system has anisotropic mip map filter support.
Definition: OgreD3D11RenderSystem.h:340
Real getMaximumDepthInputValue(void)
Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
static uint32 clz64(uint64 value)
Definition: OgreBitwise.h:517
Alignment
The alignment of the terrain.
Definition: OgreTerrain.h:315
uint8 bInheritOrientation
Definition: OgreSkeletonDef.h:56
v1::MeshManager * getMeshManagerV1(void)
Retrieves a reference to the current MeshManager.
@ LightGatherForwardPlus
Definition: OgreHlms.h:88
static CommandBufferExecuteFunc execute_invalidCommand
Definition: OgreCommandBuffer.h:99
This class translates script AST (abstract syntax tree) into Ogre resources.
Definition: OgreScriptTranslator.h:57
Vector3 getUp(void) const
Gets the camera's up vector.
OpSemantic
Definition: OgreShaderFunctionAtom.h:84
virtual void setDynamic(bool dyn)
Use before defining geometry to indicate that you intend to update the geometry regularly and want th...
Definition: OgreManualObject.h:176
const Vector3 getCenterLeftBottom(void) const
Gets the center of the corners 0, 3.
Definition: OgreVolumeOctreeNode.h:391
virtual const Matrix4 & getProjectionMatrix(void) const
Gets the normal projection matrix for this frustum, ie the projection matrix which conforms to standa...
Command object for common direction (see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:85
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.
SkeletonTrack(uint32 boneBlockIdx, KfTransformArrayMemoryManager *kfTransformMemoryManager)
AbstractNode(AbstractNode *ptr)
static void queueNeedUpdate(OldNode *n)
Queue a 'needUpdate' call to a OldNode safely.
See AsyncTextureTicket.
Definition: OgreNULLAsyncTextureTicket.h:41
const Vector3 & getNormal(void) const
void _compileShaderFromPreprocessedSource(const RenderableCache &mergedCache, const String source[NumShaderTypes])
static ExternalTextureSourceManager * getSingletonPtr(void)
Override standard Singleton retrieval.
@ SPC_POSTOLIGHT_WORLD_SPACE1
Definition: OgreShaderParameter.h:138
virtual void _setHlmsBlendblock(const HlmsBlendblock *blendblock)
Definition: OgreCubemapProbe.h:42
Implements an Irradiance Field with Depth, inspired on DDGI.
Definition: OgreIrradianceField.h:141
Definition: OgreScriptTranslator.h:200
float b
Definition: OgreD3D11LegacySDKEmulation.h:36
void createVertexBuffers(VertexBufferPackedVec &outVertexBuffers, size_t numVertices, void *const *initialData, bool keepAsShadow)
Creates a vertex buffer based on the given parameters.
TextureGpu * getTexture(uint8 actorIdx) const
void setDebugFrustum(bool bEnableDebugFrustumWireAabb)
Ogre::Any val
Definition: OgreProperty.h:265
void getRenderOperation(v1::RenderOperation &op, bool casterPass)
Overridden from Renderable.
DirtyFlags
Definition: OgreConstBufferPool.h:97
Angle(Real angle)
Definition: OgreMath.h:146
void detachAllObjectsFromBone(void)
Detach all MovableObjects previously attached using attachObjectToBone.
virtual void _releaseManualHardwareResources()
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...
_OgreExport friend std::ostream & operator<<(std::ostream &o, const DualQuaternion &q)
Function for writing to a stream.
virtual void unmap(UnmapOptions unmapOption, size_t flushStartElem=0, size_t flushSizeElem=0)
void setWeight(Real weight)
Sets the weight (influence) of this animation.
virtual size_t estimateWorldGeometry(DataStreamPtr &stream, const String &typeName=BLANKSTRING)
Estimate the number of loading stages required to load the named world geometry.
Definition: OgreSceneManager.h:1751
@ PBSM_DETAIL2
Definition: OgreHlmsPbsPrerequisites.h:65
Implementation of Clustered Forward Shading.
Definition: OgreForwardClustered.h:48
static void shutdown(void)
Static method to shutdown and unregister the PVRTC codec.
void removeTextureUnitState(unsigned short index)
Removes the indexed texture unit state from this pass.
DefaultTextureParameters * getDefaultTextureParameters(void)
Definition: OgreHlmsTextureManager.h:400
static OGRE_NORETURN void throwException(Exception::ExceptionCodes code, int number, const String &desc, const String &src, const char *file, long line)
Definition: OgreException.h:275
void setScale(Real x, Real y)
Sets the scaling factor of this overlay.
GpuProgramPtr computeShader
Definition: OgreHlmsPso.h:293
RenderToVertexBufferSharedPtr createRenderToVertexBuffer()
Create a render to vertex buffer.
void waitForData(void)
Blocks main thread until data is ready.
static const Real fRad2Deg
Definition: OgreMath.h:752
virtual bool hasNonZeroKeyFrames(void) const
Method to determine if this track has any KeyFrames which are doing anything useful - can be used to ...
static ParameterPtr createInTexcoord1(int index, Parameter::Content content)
ImageDownsampler2D downscale2x_Signed_XXXA8888
Definition: OgreImageDownsampler.h:111
bool setDrawBuffer(const ColourBufferType colourBuffer) const
AsyncTicketPtr readRequest(size_t elementStart, size_t elementCount)
Async data read request.
bool getPassTransformStates(void) const
Overridden.
static void useSameGeoms(const GeometryVec &inGeom, GeometryVec &outGeom)
virtual void swapBuffers(void)
Only valid for TextureGpu classes.
Definition: OgreTextureGpu.h:483
void _setLodInfo(unsigned short numLevels)
Internal methods for loading LOD, do not use.
virtual void registerVertexBufferSourceAndCopy(const HardwareVertexBufferSharedPtr &sourceBuffer, const HardwareVertexBufferSharedPtr ©)
Registers a vertex buffer as a copy of another.
Definition: OgreHardwareBufferManager.h:486
uint32 getThreadsPerGroupX(void) const
Definition: OgreHlmsComputeJob.h:176
virtual void resourceStreamOpened(const String &name, const String &group, Resource *resource, DataStreamPtr &dataStream)=0
This event is called when a resource stream has been opened, but not processed yet.
virtual ConstChildOldNodeIterator getChildIterator(void) const
Retrieves an iterator for efficiently looping through all children of this OldNode.
virtual ~ScriptTranslatorManager()
Definition: OgreScriptTranslator.h:125
Specialisation of HardwareUniformBuffer for the OpenGL Shader Storage Buffer.
Definition: OgreGL3PlusHardwareShaderStorageBuffer.h:40
@ ManualTexture
Indicates this texture will be filled by the user, and won't be loaded from file or a listener from w...
Definition: OgreTextureGpu.h:132
void buildPresentParameters(D3DPRESENT_PARAMETERS *presentParams)
Build the presentation parameters used with this window.
const Vector3 & getSnapDeviationError(void) const
Definition: OgrePccPerPixelGridPlacement.h:183
ParticleSystemRenderer * getRenderer(void) const
Gets the ParticleRenderer to be used to render this particle system.
virtual void prepareImpl(void)
virtual uint32 fillBuffersFor(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, uint32 lastTextureHash)
Fills the constant buffers.
uint32 getThreadsPerGroupZ(void) const
Definition: OgreHlmsComputeJob.h:178
uint32 getDepthOrSlices(void) const
virtual int32 getCellRangeMinZ() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:167
virtual_l2 bool getInheritScale(void) const
Returns true if this node is affected by scaling factors applied to the parent node.
void destroyLog(const String &name)
Closes and removes a named log.
float mMinLod
Definition: OgreHlmsSamplerblock.h:84
void setOptimisationLevel(OptimisationLevel opt)
Sets the optimisation level to use.
Definition: OgreD3D9HLSLProgram.h:198
TextureGpu * createWindowDepthBuffer(void)
void resize(unsigned N, const T &NV)
Definition: OgreMain/include/OgreSmallVector.h:367
@ ApiDefault
Use the default based on the API selected. On DX12 that means using Compute.
Definition: OgreCompositorPassMipmapDef.h:53
virtual_l2 void setInheritOrientation(bool inherit)
Tells the node whether it should inherit orientation from it's parent node.
Light * light
Definition: OgreCommon.h:649
void ToAxes(Vector3 *akAxis) const
Gets the 3 orthonormal axes defining the quaternion.
void dearrangeToInefficient(void)
Reverts the effects from arrangeEfficient by converting all 16-bit half float back to 32-bit float; a...
void setDebugVisualization(IrradianceField::DebugVisualizationMode mode, SceneManager *sceneManager, uint8 tessellation)
ChannelRoute(uint32 _outChannel, IdString _outNode, uint32 _inChannel, IdString _inNode)
Name of the alias.
Definition: OgreCompositorWorkspaceDef.h:67
virtual void bindBufferHS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
bool operator()(FunctionInvocation const &lhs, FunctionInvocation const &rhs) const
Codec specialized in loading OITD (Ogre Internal Texture Dump) format.
Definition: OgreOITDCodec.h:57
Aabb(const Vector3 ¢er, const Vector3 &halfSize)
Definition: C/OgreAabb.h:93
virtual void _autogenerateMipmaps(void)
Tells the API to let the HW autogenerate mipmaps.
Camera * getCullCamera() const
Definition: OgreCompositorPassScene.h:103
virtual const Ray & getRay(void) const
Gets the ray which is to be used for this query.
@ VET_HALF4
Definition: OgreVertexElements.h:111
virtual ~SimpleRenderable()
static bool isLuminance(PixelFormat format)
Shortcut method to determine if the format is a luminance format.
AnimationStateIterator getAnimationStateIterator(void)
Get an iterator over all the animation states in this set.
void doSet(void *target, const String &val)
void _queueOverlaysForRendering(RenderQueue *pQueue, Viewport *vp)
Internal method for queueing the visible overlays for rendering.
T iterator
typedef to fulfill container interface
Definition: OgreIteratorRange.h:109
void setAmbientLight(const ColourValue &upperHemisphere, const ColourValue &lowerHemisphere, const Vector3 &hemisphereDir, Real envmapScale=1.0f, uint32 envFeatures=0xffffffff)
Sets the ambient light level to be used for the scene.
@ PFG_RGB8_UNORM
24bpp storage formats, CPU only.
Definition: OgrePixelFormatGpu.h:186
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:235
virtual void destroyAllLights(void)
Removes and destroys all lights in the scene.
virtual void _changeRenderSystem(RenderSystem *newRs)
void setVolumes(const PlaneBoundedVolumeList &volumes)
Sets the volume which is to be used for this query.
virtual_l2 Vector3 convertWorldToLocalDirection(const Vector3 &worldDir, bool useScale)
Gets the local direction, relative to this node, of the given world-space direction.
Edge(Vertex *destination)
Real width
Definition: OgreBillboardChain.h:99
Node * getChild(size_t index)
Gets a pointer to a child node.
Definition: OgreNode.h:553
uint32 x
Definition: OgreTextureBox.h:44
static String toString(const Vector4 &val)
Converts a Vector4 to a String.
@ HLMS_PBS
Proxy that redirects to a regular Material.
Definition: OgreHlmsCommon.h:179
void addBufferDefinition(IdString name, size_t numElements, uint32 bytesPerElement, uint32 bindFlags, float widthFactor, float heightFactor)
Creates an UAV buffer.
@ PBSM_BLEND_GRAIN_EXTRACT
Definition: OgreHlmsPbsPrerequisites.h:91
bool operator!=(const SampleDescription &rhs) const
Definition: OgreCommon.h:961
static CommandBufferExecuteFunc execute_setTextures
Definition: OgreCommandBuffer.h:90
static Matrix4 getScale(const Vector3 &v)
Gets a scale matrix.
Definition: OgreMatrix4.h:486
virtual void swapBuffers()
Override needed to deal with multisample buffers.
int x
Definition: OgreX11EGLSupport.h:89
PixelFormatGpu formatFamily
Definition: OgreTextureGpuManager.h:235
FastArray< const TextureGpu * > mTextures
Render-System specific data.
Definition: OgreDescriptorSetTexture.h:74
void setNumOutputBufferChannels(size_t numOuts)
Reserves enough memory for all output channel mappings (efficient allocation, better than using linke...
Definition: OgreCompositorNodeDef.h:205
@ Uav
Waits until writes from shaders to resource are finished.
Definition: OgreResourceTransition.h:69
void optimise(bool discardIdentityNodeTracks=true)
Optimise an animation by removing unnecessary tracks and keyframes.
@ ANT_ATOM
Definition: OgreScriptCompiler.h:82
AnyNumeric()
Definition: OgreAny.h:223
bool _compile(AbstractNodeListPtr nodes, const String &group, bool doImports=true, bool doObjects=true, bool doVariables=true)
Compiles the given abstract syntax tree.
virtual OctreeNode * createInstance(const Vector3 &from, const Vector3 &to)
Factory method to create octree nodes.
bool updateMaterialUsingTextureAliases(void)
The current material used by the submesh is copied into a new material and the submesh's texture alia...
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:253
virtual OldBone * createBone(const String &name)
Creates a brand new OldBone owned by this Skeleton.
Page * getParentPage() const
Definition: OgrePageContentCollection.h:68
GpuProgramParameters::AutoConstantType paramType
The type of parameter.
Definition: OgreGpuProgramParams.h:2483
Vector3 mC1
Definition: OgreVolumeDualGridGenerator.h:46
TransitionToLoaded(TextureGpu *_texture, void *_sysRamCopy, GpuResidency::GpuResidency _targetResidency)
void setIsInstanceData(const bool val)
Set if this vertex buffer is an "instance data" buffer (per instance)
virtual void start()=0
Start anything special.
PageContentCollection * createInstance()
Definition: OgreSimplePageContentCollection.h:121
uint32 getWidth()
Accessors.
SM2Profile(TerrainMaterialGenerator *parent, const String &name, const String &desc)
void tiledAnimation(Ogre::uint16 numFramesHorizontal, Ogre::uint16 numFramesVertical)
tiledAnimation.
void clearEventTimes(void)
Clears the history of all event times.
static const IdString AlphaTest
Definition: OgreHlms.h:908
virtual void performCleanup(uint16 level, const MemoryPoolVec &basePtrs, size_t const *elementsMemSizes, size_t startInstance, size_t diffInstances)=0
Called when too many nodes were destroyed in a non-LIFO fashion.
@ WORLD_SPACE_CORNERS
Left-handed.
Definition: OgreCompositorPassQuadDef.h:77
InternalErrorException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
@ PFG_UNKNOWN
Definition: OgrePixelFormatGpu.h:46
uint8 getNumMipmaps() const
Returns the number of mipmaps contained in the image.
size_t size(void) const
Returns the total size of the data to be read from the stream, or 0 if this is indeterminate for this...
Definition: OgreDataStream.h:299
void _setTexture(size_t unit, bool enabled, Texture *tex)
See RenderSystem.
Forward3D.
Definition: OgreForward3D.h:46
TextureGpu * getNormalTexture(void) const
void reserve(size_t t)
Definition: OgreCommon.h:535
void setNumKeyFrame(size_t numKeyFrames)
void setLightMask(uint32 mask)
Sets the light mask which can be matched to specific light flags to be handled by this pass.
@ ID_SAMPLES_SINGLE_ITERATION_FALLBACK
Definition: OgreScriptCompiler.h:998
StringVectorPtr list(bool recursive=true, bool dirs=false)
List all file names in the archive.
void setDirty(void)
Call this whenever you've updated a parameter in mParams.
Definition: OgreShaderParams.h:152
@ LBX_ADD
add source1 and source2 together
Definition: OgreBlendMode.h:87
static T & getSingleton(void)
Definition: OgreSingleton.h:90
static PropertyType getTypeForValue(const Real &val)
Definition: OgreProperty.h:161
static const int SubRqIdShift
Definition: OgreRenderQueue.h:301
const LightList & getLights(void) const
const HlmsMacroblock * getMacroblock(const HlmsMacroblock &baseParams)
Creates a macroblock that matches the same parameter as the input.
@ ID_RESOLVE_SLICE
Definition: OgreScriptCompiler.h:838
UavDependencyVec mUavDependencies
Definition: OgreCompositorPassDef.h:205
map< uint32, Region * >::type RegionMap
Indexed region map based on packed x/y/z region index, 10 bits for each axis.
Definition: OgreStaticGeometry.h:433
GLSLShader * getGeometryShader() const
Definition: OgreGLSLProgram.h:139
static void shutdown(void)
Static method to shutdown FreeImage and unregister the FreeImage codecs.
@ ID_BLEND_DIFFUSE_COLOUR
Definition: OgreScriptCompiler.h:766
ArrayVector3 center
Definition: OgrePlanarReflectionActor.h:70
static const IdString Glsl
Definition: OgreHlms.h:919
AnimationState * getAnimationState(const String &name) const
For entities based on animated meshes, gets the AnimationState object for a single animation.
@ FFP_TEXTURING
Definition: OgreShaderFFPRenderState.h:74
size_t getNumDepths() const
Retrieves the number of depth levels that have been created.
TextureGpu * getDepthVarianceTex(void) const
Definition: OgreIrradianceField.h:300
BudgetEntry(PixelFormatGpu _formatFamily, uint32 _minResolution, uint32 _minNumSlices)
Definition: OgreTextureGpuManager.h:239
@ PROP_UNSIGNED_LONG
Definition: OgreProperty.h:111
virtual_l1 void index(uint32 idx)
Add a vertex index to construct faces / lines / points.
virtual void _makeRsProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest, Real nearPlane, Real farPlane, ProjectionType projectionType)
Takes a regular source projection matrix in range [-1; 1] and converts it to a projection matrix in '...
D3D11StagingTexture(VaoManager *vaoManager, PixelFormatGpu formatFamily, uint32 width, uint32 height, uint32 depthOrSlices, D3D11Device &device)
void setAsBGRA(const BGRA val)
Sets colour as BGRA.
Real w
Definition: OgreVector4.h:48
Vector3 normal
Definition: OgreLodData.h:106
bool requiresTextureFlipping() const
static const IdString Glsles
Definition: OgreHlms.h:920
RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
Definition: OgreCbDrawCall.h:43
bool buffersCheckedOut(bool positions=true, bool normals=true) const
Detect currently have buffer copies checked out and touch it.
virtual void setDefaultNumMipmaps(size_t num)
Sets the default number of mipmaps to be used for loaded textures, for when textures are loaded autom...
size_t _getSysRamCopyBytesPerRow(uint8 mipLevel)
Note: Returns non-zero even if there is no system ram copy.
@ ID_ONCE
Definition: OgreScriptCompiler.h:711
virtual void destroyDecal(Decal *decal)
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:1544
unsigned int getSubroutineSlot(const String &subroutineSlotName) const
@ True
Definition: OgreX11EGLSupport.h:73
void setListener(ScriptCompilerListener *listener)
Sets the listener used by the compiler.
virtual void setDirPositionReference(const Vector3 &position, bool enable)
Sets the direction of the emitter.
@ IT_16BIT
Definition: OgreIndexBufferPacked.h:41
@ PF_ATC_RGB
ATC (AMD_compressed_ATC_texture)
Definition: OgrePixelFormat.h:254
virtual_l1 void specular(Real r, Real g, Real b, Real a=1.0f)
Add a vertex specular colour to a vertex.
void _notifyConterBufferDestroyed(HardwareCounterBuffer *buf)
Definition: OgreHardwareBufferManager.h:552
virtual Real getAspectRatio(void) const
Retrieves the current aspect ratio.
void migrateTo(Transform &inOutTransform, size_t depth, NodeMemoryManager *dstNodeMemoryManager)
Releases memory belonging to us, not before copying it into another manager.
void _setRenderSystemData(const Any &data) const
Internal method that the RenderSystem might use to store optional data.
Definition: OgreGpuProgramParams.h:859
void _updateFromShadow(void)
See HardwareBuffer.
void setPixelShader(GpuProgramPtr &shader)
Calls to this function can be skipped if it's valid to not have a shader set at this stage,...
virtual bool requiresTextureFlipping() const
Definition: OgreMetalRenderTexture.h:54
size_t getNumSubItems(void) const
Retrieves the number of SubItem objects making up this Item.
Definition: OgreCompositorPassIblSpecularDef.h:48
void setBindingType(BindingType bt)
Sets the type of unit these texture settings should be bound to.
void _notifyParent(Pass *parent)
Notify this object that its parent has changed.
GridSource(bool trilinearValue, bool trilinearGradient, bool sobelGradient)
GLenum polygonMode
Definition: OgreGLES2HlmsPso.h:51
int mcEdges[256]
Marching Cubes tables from the public domain code found on http://local.wasp.uwa.edu....
Definition: OgreVolumeIsoSurfaceTablesMC.h:43
virtual void _renderEmulatedNoBaseInstance(const CbDrawCallStrip *cmd)
D3D11DepthPixelBuffer(D3D11DepthTexture *parentTexture, const String &baseName, uint32 width, uint32 height, uint32 depth, PixelFormat format)
void _keyFrameListChanged(void)
Internal method used to tell the animation that keyframe list has been changed, which may cause it to...
Definition: OgreAnimation.h:483
Real getBoundingSphereRadius(void) const
Gets the radius of the bounding sphere surrounding this mesh.
static Real ColapseMin(ArrayReal a)
Returns the minimum value of all elements in a.
Definition: OgreMathlibC.h:308
IdString bufferName
Definition: OgreCompositorPassUavDef.h:79
@ ID_VERTEXCOLOUR
Definition: OgreScriptCompiler.h:652
static HlmsTextureManager::TextureMapType suggestMapTypeBasedOnTextureType(PbsMobileTextureTypes type)
Suggests the TextureMapType (aka texture category) for each type of texture (i.e.
virtual void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Overridden from MovableObject.
#define ACCUM2(x, y, z, factor)
size_t offset
Definition: OgreGL3PlusVaoManager.h:53
DataStreamPtr encode(MemoryDataStreamPtr &input, CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
void parseScript(DataStreamPtr &stream, const String &groupName)
Parse a script file.
virtual unsigned short numChildren(void) const
Reports the number of child OldNodes under this one.
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
uint32 getSrcDepth(void) const
Returns the original depth of the input texture (only applicable for 3D textures).
Definition: OgreTexture.h:241
A class that represents function invocation code from shader based program function.
Definition: OgreShaderFunctionAtom.h:177
Entity * getOctreeGrid(SceneManager *sceneManager)
Getter for the octree debug visualization of the octree starting with this node.
char * name
Definition: OgreSearchOps.h:43
@ ID_TESSELLATION_DOMAIN_PROGRAM_REF
Definition: OgreScriptCompiler.h:1030
virtual bool getFindVisibleObjects(void)
Gets whether the SceneManager should search for visible objects, or whether they are being manually h...
Definition: OgreSceneManager.h:2571
void unload(void)
Unloads the resource; this is not permanent, the resource can be reloaded later if required.
void setAlignment(Alignment a)
Definition: OgreTextAreaOverlayElement.h:116
void reserve(unsigned N)
Definition: OgreMain/include/OgreSmallVector.h:379
static const String & getPointLightExtruderVs_4_0Finite(void)
Get FINITE extruder program source for point lights, compatible with vs_4_0.
Definition: OgreShadowVolumeExtrudeProgram.h:285
@ WFT_NONE
Return no world geometry hits at all.
Definition: OgreSceneQuery.h:83
static OverlayManager & getSingleton(void)
Override standard Singleton retrieval.
bool hasColour(void) const
If this returns false, the values of mR, mG, mB & mA will be ignored.
Definition: OgreHlmsUnlitMobileDatablock.h:170
static const AutoConstantDefinition * getAutoConstantDefinition(const size_t idx)
gets the auto constant definition using an index into the auto constant definition array.
void start(void)
Start anything special.
BorderPanelOverlayElement(const String &name)
Constructor.
@ PFG_RGBA16_SNORM
Definition: OgrePixelFormatGpu.h:62
HlmsPbsDatablock(IdString name, HlmsPbs *creator, const HlmsMacroblock *macroblock, const HlmsBlendblock *blendblock, const HlmsParamVec ¶ms)
Valid parameters in params:
virtual void setFSAA(uint fsaa, const String &fsaaHint)
Set the level of multisample AA to be used if hardware support it.
Definition: OgreD3D11RenderWindow.h:120
virtual void bindBufferHS(uint16 slot)=0
Definition: OgreAndroidEGLContext.h:37
@ PF_SHORT_RGBA
64-bit pixel format, 16 bits for red, green, blue and alpha
Definition: OgrePixelFormat.h:140
virtual void bindBufferDS(uint16 slot)
float mVpScissorWidth
Definition: OgreCompositorPassDef.h:105
A pose is a linked set of vertex offsets applying to one set of vertex data.
Definition: OgrePose.h:56
RenderTargetViewDef()
Definition: OgreTextureDefinition.h:533
@ UAV_BUFFER
Definition: OgreScriptCompiler.h:519
void writeComment(unsigned short level, const String &comment, const bool useMainBuffer=true)
Definition: OgreMaterialSerializer.h:351
LwString & a(int64 a0)
Definition: OgreLwString.h:250
void setListener(ParallaxCorrectedCubemapAutoListener *listener)
Definition: OgreParallaxCorrectedCubemapAuto.h:100
vector< MetalDiscardBuffer * >::type MetalDiscardBufferVec
Definition: OgreMetalDiscardBufferManager.h:37
virtual uint32 fillBuffersFor(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, uint32 lastTextureHash)
Fills the constant buffers.
GLenum destBlendAlpha
Definition: OgreGL3PlusHlmsPso.h:58
void removeNodeAlias(IdString alias)
Removes a particular Node.
Implementation of CompositorPass This implementation will perform main rendering, selecting several p...
Definition: OgreCompositorPassScene.h:62
SubMesh * getSubMesh(void) const
Accessor method to read mesh data.
FreeImageCodec(const String &type, unsigned int fiType)
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
static const Vector2 UNIT_SCALE
Definition: OgreVector2.h:589
virtual void upload(const PixelBox &data, const Box &dest)
Upload a box of pixels to this buffer on the card.
@ MESH_VERSION_2_1
OGRE version v2.1+.
Definition: OgreMeshSerializer.h:48
T * release()
Definition: OgreThreadDefinesSTD.h:51
Base class interface for shader program writers.
Definition: OgreShaderProgramWriter.h:61
int attrib
Definition: OgreSearchOps.h:44
virtual ~APKFileSystemArchiveFactory()
Definition: OgreAPKFileSystemArchive.h:87
void ToAngleAxis(Radian &rfAngle, Vector3 &rkAxis) const
virtual void _update(void)
static const IdString FastShaderBuildHack
Definition: OgreHlms.h:928
SkeletonAnimation * getAnimation(IdString name)
Returns the requested animations. Throws if not found. O(N) Linear search.
void doSet(void *target, const String &val)
virtual void postInitializePassDef(CompositorPassDef *passDef)
Called right after we create a pass definition.
@ ID_USES_UAV
Definition: OgreScriptCompiler.h:897
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...
const HlmsSamplerblock * getSamplerblock(PbsMobileTextureTypes texType) const
@ SPC_LIGHTPOSITION_OBJECT_SPACE2
Definition: OgreShaderParameter.h:209
Real calculate(Real source)
Overridden function.
@ PFG_NV11
Definition: OgrePixelFormatGpu.h:173
IndexData * clone(bool copyData=true, HardwareBufferManagerBase *mgr=0) const
Clones this index data, potentially including replicating the index buffer.
virtual bool _isDataReadyImpl(void) const
For internal use.
@ ACT_INVERSE_VIEWPORT_WIDTH
This variable represents 1.0/ViewportWidth.
Definition: OgreGpuProgramParams.h:1250
map< GpuSharedParametersPtr, v1::HardwareUniformBufferSharedPtr >::type SharedParamsBufferMap
Definition: OgreGLSLProgram.h:77
GLint getMaxVertexAttribs(void) const
Definition: OgreGL3PlusVaoManager.h:266
void setMaterialName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Sets the material to use for the whole of this Item.
void ogreGlObjectLabel(GLenum identifier, GLuint name, GLsizei length, const GLchar *label)
bool getUseIrradianceVolume(void) const
Definition: OgreInstantRadiosity.h:343
virtual void _autogenerateMipmaps(void)=0
Tells the API to let the HW autogenerate mipmaps.
MeshSerializerImpl_v1_4()
void updateTriangleLightFacing(const Vector4 &lightPos)
Calculate the light facing state of the triangles in this edge list.
void setElapsedTime(Real elapsedTime)
Set the elapsed time.
Cache-friendly array of Aabb represented as a SoA array.
Definition: C/OgreArrayAabb.h:70
static const IdString UvDiffuse9
Definition: OgreUnlitProperty.h:86
@ SPC_POSITION_LIGHT_SPACE5
Definition: OgreShaderParameter.h:98
@ ID_ENABLE_FORWARDPLUS
Definition: OgreScriptCompiler.h:918
virtual_l2 void rotate(const Vector3 &axis, const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around an arbitrary axis.
void setQueryFlags(uint32 flags)
Set the query flags for this terrain.
Definition: OgreTerrain.h:1366
bool mAlphaToCoverageEnabled
Definition: OgreHlmsDatablock.h:158
Default implementation of RaySceneQuery.
Definition: OgreSceneManager.h:2773
@ 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:190
Resource holding data about a dynamic library.
Definition: OgreDynLib.h:85
unsigned short getNumAnimations(void) const
Gets the number of animations on this skeleton.
const HlmsSamplerblock * getIrradSamplerblock(void) const
Definition: OgreIrradianceVolume.h:125
void setNamedConstant(const String &name, const ColourValue &colour)
Sets a ColourValue parameter to the program.
UINT Width
Definition: OgreD3D11LegacySDKEmulation.h:54
Factory for GL ES 2 Frame Buffer Objects, and related things.
Definition: OgreGLES2FBORenderTexture.h:70
virtual ~D3D11TextureGpuManager()
void saveMaterial(const HlmsDatablock *datablock, const String &filename, HlmsJsonListener *listener, const String &additionalTextureExtension)
Saves a specific Hlms material at the given file location.
@ Resident
VRAM and other GPU resources have been allocated for this resource.
Definition: OgreGpuResource.h:65
static const String CustomAttributeString_FBO
Definition: OgreGL3PlusRenderTexture.h:62
virtual bool addRenderWindow(D3D9RenderWindow *renderWindow)
int getPassNumber(void) const
@ PF_SHORT_L
Definition: OgrePixelFormat.h:52
virtual void upload(const TextureBox &srcBox, TextureGpu *dstTexture, uint8 mipLevel, const TextureBox *cpuSrcBox=0, const TextureBox *dstBox=0, bool skipSysRamCopy=false)
Uploads a region of data in srcBox (which must have been created with mapRegion) into dstTexture.
Specialisation of the Archive class to allow reading of files from a zip format source archive.
Definition: OgreZip.h:58
void loadFrom(DataStreamPtr &dataStream)
const GpuLogicalBufferStructPtr & getDoubleLogicalBufferStruct() const
Get the current list of mappings from low-level logical param indexes to physical buffer locations in...
Definition: OgreGpuProgramParams.h:1841
Direct3D implementation of low-level fragment programs.
Definition: OgreD3D9GpuProgram.h:142
bool getColumnMajorMatrices(void) const
Gets whether matrix packed in column-major order.
Definition: OgreD3D9GpuProgram.h:68
uint16 xIdx
Definition: OgreHlmsTextureManager.h:281
bool isBlendWeightsGpuRedundant() const
Returns whether blend weights information needs to be passed to the GPU see setBlendWeightsGpuRedunda...
Definition: OgreRoot.h:1035
Real getPowerScale(void) const
Set the scaling factor which indicates the relative power of a light.
Definition: OgreLight.h:371
TextureAddressingMode mV
Definition: OgreHlmsSamplerblock.h:71
virtual ~Archive()
Default destructor.
Definition: OgreArchive.h:105
SharedPtr< PatchMesh > PatchMeshPtr
Definition: OgrePrerequisites.h:449
size_t find(const String &value) const
Definition: OgreHlmsCommon.h:90
struct DXGI_SWAP_CHAIN_DESC1 DXGI_SWAP_CHAIN_DESC1
void cloneTo(HlmsComputeJob *dstJob)
virtual void removeElement(unsigned short elem_index)
Remove the element at the given index from this declaration.
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:200
static void toQuotedStr(SceneBlendOperation value, String &outString)
void _setLogicalIndexes(const GpuLogicalBufferStructPtr &floatIndexMap, const GpuLogicalBufferStructPtr &doubleIndexMap, const GpuLogicalBufferStructPtr &intIndexMap, const GpuLogicalBufferStructPtr &uintIndexMap, const GpuLogicalBufferStructPtr &boolIndexMap)
Internal method for providing a link to a logical index->physical index map for parameters.
void setBlendMaskEntry(size_t boneHandle, float weight)
Set the weight for the bone identified by the given handle.
Definition: OgreSharedPtr.h:66
size_t logicalIndex
Logical index - used to communicate this constant to the rendersystem.
Definition: OgreGpuProgramParams.h:159
String doGet(const void *target) const
bool isCaseSensitive(void) const
Returns whether this archive is case sensitive in the way it matches files.
virtual void setDepthBufferPool(uint16 poolId)
Sets the pool ID this RenderTarget should query from.
Class that encapsulates an GL context.
Definition: OgreGLES2Context.h:42
Quaternion convertWorldToLocalOrientationUpdated(const Quaternion &worldOrientation)
Definition: OgreNode.h:738
static const size_t MS_CORNERS_LEFT[4]
To call Marching Squares with a cube on its left.
Definition: OgreVolumeIsoSurface.h:66
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.
virtual Real getLoadRadius() const
Get the loading radius.
Definition: OgreGrid3DPageStrategy.h:142
virtual void initGPUProfiling(void)
size_t getSize(void) const
Definition: OgreHlmsCommon.h:137
void *RESTRICT_ALIAS_RETURN map(size_t start, size_t count, size_t &outTicket)
Assumes mVboName is already bound to GL_COPY_WRITE_BUFFER!!!
void uninstallPlugin(Plugin *plugin)
Uninstall an existing plugin.
@ ACDT_INT
the auto constant requires data of type int
Definition: OgreGpuProgramParams.h:1404
void copy(const ObjectData &inCopy)
Copies all the scalar data from the parameter into this.
Definition: OgreObjectData.h:119
virtual void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
void resize(unsigned N)
Definition: OgreMain/include/OgreSmallVector.h:355
@ PF_A4R4G4B4
16-bit pixel format, 4 bits for alpha, red, green and blue.
Definition: OgrePixelFormat.h:67
static const ArrayReal fDeg2Rad
Definition: OgreMathlibC.h:55
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:780
PixelFormatGpu pixelFormat
When left as PFG_UNKNOWN, we'll automatically use the TextureGpu's native format.
Definition: OgreDescriptorSetUav.h:113
void load(const DataStreamPtr &stream)
Load world data from a stream.
TerrainMaterialGeneratorA()
HLSL target language writer implementation.
Definition: OgreShaderHLSLProgramWriter.h:53
@ RSC_TEXTURE_GATHER
Hardware/API supports texture gather operation.
Definition: OgreRenderSystemCapabilities.h:209
MapIterator< ResourceHandleMap > ResourceMapIterator
Definition: OgreResourceManager.h:591
void bindSurface(size_t attachment, const GL3PlusSurfaceDesc &target)
Bind a surface to a certain attachment point.
virtual void initialise(void)
Initialise gui element.
void setEnd(size_t newEnd)
Definition: OgreHlmsCommon.h:134
virtual GLES2FBORenderTexture * createRenderTexture(const String &name, const GLES2SurfaceDesc &target, bool writeGamma, uint fsaa)
Create a texture rendertarget object.
virtual MovableObjectIterator getMovableObjectIterator(const String &typeName)
Get an iterator over all MovableObect instances of a given type.
void _removeWireAabb(WireAabb *wireAabb)
virtual const String & getTypeName(void) const =0
Gets the type name of the element.
virtual bool hasAnimation(const String &name) const =0
Returns whether this object contains the named animation.
void _setHlmsBlendblock(const HlmsBlendblock *blendblock, const GLES2HlmsPso *pso)
#define ARRAY_REAL_ZERO
Definition: OgreArrayConfig.h:180
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:132
void convertFromV2(const VertexElement2VecVec &v2Decl)
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
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:266
A class that represents a shader based program.
Definition: OgreShaderProgram.h:49
String doGet(const void *target) const
size_t getNumDepths() const
Retrieves the number of depth levels that have been created.
void _setTexturePtr(TextureGpu *texptr, size_t frame)
Set the texture pointer for a given frame (internal use only!).
@ FFP_FOG
Definition: OgreShaderFFPRenderState.h:75
void setPointSize(Real ps)
Sets the point size of this pass.
void _setPointParameters(Real size, bool attenuationEnabled, Real constant, Real linear, Real quadratic, Real minSize, Real maxSize)
Sets the size of points and how they are attenuated with distance.
@ RSC_TESSELLATION_HULL_PROGRAM
Supports hardware tessellation hull programs.
Definition: OgreRenderSystemCapabilities.h:188
virtual void releaseVertexBufferCopy(const HardwareVertexBufferSharedPtr &bufferCopy)
Manually release a vertex buffer copy for others to subsequently use.
void setHidden(bool hidden)
Hide (or show) the window.
virtual void normal(Real x, Real y, Real z)
Add a vertex normal to the current vertex.
void start()
Start anything special.
vector< BufferSource >::type BufferSourceVec
Definition: OgreCompositorPassUavDef.h:90
SubRenderStateList::iterator SubRenderStateListIterator
Definition: OgreShaderSubRenderState.h:158
vector< ushort >::type BoneHandleMap
Map to translate bone handle from one skeleton to another skeleton.
Definition: OgreSkeleton.h:363
virtual void textureCoord(const Vector4 &xyzw)
Add a texture coordinate to the current vertex.
@ D3D_FUSAGE_MAG
mag filter
Definition: OgreD3D9Mappings.h:63
GpuProgramPtr getGpuVertexProgram()
Get the vertex shader GPU program.
virtual bool checkExtension(const String &ext) const
Checks for the presense of an API-specific extension (eg. Vulkan, GL)
Definition: OgreRenderSystem.h:1372
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)
@ RSC_VBO
Supports hardware vertex and index buffers.
Definition: OgreRenderSystemCapabilities.h:94
vector< SubMesh * >::type SubMeshVec
Definition: OgreMesh2.h:95
~AllocatedObject()
Definition: OgreMemoryAllocatedObject.h:64
LodProfile profile
If the algorithm makes errors, you can fix it, by adding the edge to the profile.
Definition: OgreLodConfig.h:164
static Real Abs(Real fValue)
Absolute value function.
Definition: OgreMath.h:250
void fromQuaternion(const ArrayQuaternion &q)
Converts the given quaternion to a 3x3 matrix representation and fill our values.
void unloadingComplete(Resource *prog)
Called whenever the resource has been unloaded.
virtual GLint getAttributeIndex(VertexElementSemantic semantic, uint index)
Get the index of a non-standard attribute bound in the linked code.
vector< TextureSource >::type TextureSources
Definition: OgreCompositorPassUavDef.h:74
virtual void destroyEmitter(ParticleEmitter *e)
Destroys the emitter pointed to by the parameter (for early clean up if required).
@ MESH_VERSION_1_10
OGRE version v1.10+.
Definition: OgreMeshSerializer.h:51
uint16 mDiffuseIdx
Definition: OgreDecal.h:87
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
void copyDetailsTo(MaterialPtr &mat) const
Copies the details of this material into another, preserving the target's handle and name (unlike ope...
Static class containing source for vertex programs for extruding shadow volumes.
Definition: OgreShadowVolumeExtrudeProgram.h:137
static String Type
Definition: OgreShaderExNormalMapLighting.h:106
virtual ~RenderQueueListener()
Definition: OgreRenderQueueListener.h:59
virtual void _placeBarriersAndEmulateUavExecution(BoundUav boundUavs[64], ResourceAccessMap &uavsAccess, ResourceLayoutMap &resourcesLayout)
Emulates the execution of a UAV to understand memory dependencies, and adds a memory barrier / resour...
virtual Real getLoadingOrder(void) const
Gets the relative loading order of scripts of this type.
bool hasFragmentProgram(void) const
Returns true if this pass uses a programmable fragment pipeline.
Definition: OgrePass.h:188
virtual KeyFrame * getKeyFrame(unsigned short index) const
Returns the KeyFrame at the specified index.
TextureUnitState(Pass *parent)
Default constructor.
@ RSC_SHADER_SUBROUTINE
Supports dynamic linkage/shader subroutine.
Definition: OgreRenderSystemCapabilities.h:182
@ PF_R32G32_UINT
64-bit pixel format, 32 bits red (unsigned int), 32 bits blue (unsigned int).
Definition: OgrePixelFormat.h:178
virtual void _convertProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest)
Converts a uniform projection matrix to suitable for this render system.
Definition: OgreNULLRenderSystem.h:136
static IDirect3DDevice9 * getActiveD3D9DeviceIfExists()
@ TU_STATIC
same as HardwareBuffer::HBU_STATIC
Definition: OgreTexture.h:51
HardwareSkinningFactory()
vector< VertexElement2 >::type VertexElement2Vec
Definition: OgreVertexBufferPacked.h:84
void _writeRawConstant(size_t physicalIndex, const Vector4 &vec, size_t count=4)
Write a 4-element floating-point parameter to the program directly to the underlying constants buffer...
void setLayerParallaxMappingEnabled(bool enabled)
Whether to support parallax mapping per layer in the shader (default true).
void setRenderQueueGroup(uint8 queueID)
static uint32 QUERY_FX_DEFAULT_MASK
Default query mask for effects like billboardsets / particle systems.
Definition: OgreSceneManager.h:229
FileInfoListPtr findFileInfo(const String &pattern, bool recursive=true, bool dirs=false)
Find all files or directories matching a given pattern in this archive and get some detailed informat...
_OgreExport const uint32 LAYER_VISIBILITY
Object casts shadows (is rendered to shadow camera)
virtual void destroyAllProbes(void)
SceneBlendOperation mBlendOperationAlpha
Definition: OgreHlmsDatablock.h:183
int * getIntPointer(size_t pos)
Get a pointer to the 'nth' item in the int buffer.
Definition: OgreGpuProgramParams.h:1908
virtual const String & getFSAAHint() const
Get the multisample AA hint if this texture is a rendertarget.
Definition: OgreTexture.h:217
@ UnusedIdx
Definition: OgreLod0Stripifier.h:95
float getTransparency(void) const
Definition: OgreHlmsPbsDatablock.h:597
virtual HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")=0
Create uniform buffer.
Viewport(Real left, Real top, Real width, Real height)
The usual constructor.
FItemy object for creating Item instances.
Definition: OgreItem.h:261
SceneManager * getSceneManager() const
Definition: OgreTerrain.h:513
@ PFG_RGBA8_UINT
Definition: OgrePixelFormatGpu.h:77
virtual_l1 void begin(const String &datablockName, OperationType opType=OT_TRIANGLE_LIST)
Start defining a part of the object.
virtual Real getBaseValue() const =0
Get the value of the first (highest) level of detail.
LightListInfo()
Definition: OgreCommon.h:690
size_t size
Definition: OgreD3D11VaoManager.h:50
static void unbindAll(void)
virtual bool getOctreeVisible(void) const
Gets whether the debug visualization entity of the octree is visible.
virtual ~DefaultShadowCameraSetup()
Destructor.
void _notifyRenderingFrameStarted(void)
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:524
virtual void calculateHashFor(Renderable *renderable, uint32 &outHash, uint32 &outCasterHash)
Called by the renderable when either it changes the material, or its properties change (e....
virtual ~HardwareBuffer()
virtual ~Viewport()
Default destructor.
virtual Real getFocalLength() const
Returns focal length of frustum.
Real mWeight
Definition: OgreSkeletonAnimation.h:62
void setLength(Real len)
Sets the total length of this animation (may be shorter than whole animation)
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 update(SceneManager *sceneMgr)
Update the contents of this vertex buffer by rendering.
static float snorm16ToFloat(int16 v)
Definition: OgreBitwise.h:434
vector< Element >::type ElementList
Definition: OgreBillboardChain.h:107
virtual void resourceCreated(const ResourcePtr &resource)
This event is fired when a resource was just created.
Definition: OgreResourceGroupManager.h:184
virtual void initCollapseCosts(LodData *data)
This is called after the LodInputProvider has initialized LodData.
BaseConstantType
Definition: OgreGpuProgramParams.h:55
void setInitialized()
Definition: OgreGL3PlusContext.h:59
void loadPlugin(const String &pluginName)
Manually load a Plugin contained in a DLL / DSO.
@ FB_FRONT
Definition: OgreRenderTarget.h:86
virtual void removeAllAnimations(void)
Removes all morph Animations from this mesh.
bool isHidden() const
Indicates whether the window was set to hidden (not displayed)
Definition: OgreD3D9RenderWindow.h:55
bool getUploadOnly(void) const
When true, this buffer can only be used for uploading to GPU.
Definition: OgreStagingBuffer.h:185
int getFPS() const
Gets currently set frames per second.
Definition: OgreExternalTextureSource.h:121
virtual bool isGpuProgramBound(GpuProgramType gptype)
Returns whether or not a Gpu program of the given type is currently bound.
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
bool getDebugFrustum(void) const
virtual T getValue(void) const =0
bool hasValidShadowMappingVaos(void) const
Returns true if the mesh is ready for rendering with valid shadow mapping Vaos Otherwise prepareForSh...
virtual void read(Vector2 *vec, size_t count=1)
read a Vector3
bool getEnabled(void) const
Definition: OgreSkeletonAnimation.h:170
ConstMapRange(const MapRange< T > &rhs)
Constructor.
Definition: OgreIteratorRange.h:319
virtual void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
void setSpecular(const ColourValue &specular)
Sets the specular colour reflectance properties of this pass.
#define INVALID_IDX
Definition: OgreD3D11HLSLProgram.h:164
virtual void textureUnitStateEventRaised(MaterialSerializer *ser, SerializeEvent event, bool &skip, const TextureUnitState *textureUnit)
Called when texture unit state section event raised.
Definition: OgreMaterialSerializer.h:148
Pso(const Hlms::RenderableCache &srcRenderableCache, const Hlms::PassCache &srcPassCache, const HlmsCache *srcPsoCache)
uint16 mRefCount
Definition: OgreDescriptorSetSampler.h:55
@ PFG_ETC2_RGBA8_UNORM_SRGB
Definition: OgrePixelFormatGpu.h:219
D3D9HardwareBufferManagerBase as a Singleton.
Definition: OgreD3D9HardwareBufferManager.h:67
unsigned short getHandle(void) const
Get the handle associated with this track.
Definition: OgreAnimationTrack.h:149
void setPosition(const Vector3 &pos)
Set the position of the terrain centre in world coordinates.
@ RSC_FRAGMENT_PROGRAM
Supports fragment programs (pixel shaders)
Definition: OgreRenderSystemCapabilities.h:100
GLES2Context * getGLContext() const
Definition: OgreGLES2DepthBuffer.h:67
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
void save(DataStreamPtr &dataStream, const IdString &hashedString)
GLES2Support * getGLES2Support()
Definition: OgreGLES2RenderSystem.h:463
const GpuConstantDefinition & getConstantDefinition(const String &name) const
Get a specific GpuConstantDefinition for a named parameter.
const Bone * getChild(size_t index) const
Definition: OgreBone.h:149
virtual ushort getPreferredIntegerBitDepth(void) const
Gets preferred bit depth for integer pixel format textures.
virtual void getRenderOperation(v1::RenderOperation &op, bool casterPass)
Gets the render operation required to send this object to the frame buffer.
ImageBlur2D separableBlur_Signed_X8
Definition: OgreImageDownsampler.h:136
@ PBSM_BLEND_DARKEN
Definition: OgreHlmsPbsPrerequisites.h:90
void destroyAsyncTextureTicket(AsyncTextureTicket *ticket)
@ ID_CONNECT_BUFFER
Definition: OgreScriptCompiler.h:820
@ ID_SRC_SPECULAR
Definition: OgreScriptCompiler.h:775
TextureLocation createOrRetrieveTexture(const String &texName, TextureMapType mapType)
Create a texture based on its name.
void setDiffuse(const ColourValue &diffuse)
Sets the diffuse colour reflectance properties of this pass.
uint8 clipDistances
Definition: OgreHlmsPso.h:188
uint32 getConstBufferAlignment(void) const
Definition: OgreVaoManager.h:410
uint32 line
This holds the line number of the input stream where the token was found.
Definition: OgreScriptLexer.h:76
Vector3 getViewDirection() const
virtual void setDirection(Real x, Real y, Real z, TransformSpace relativeTo=TS_LOCAL, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z)
Sets the node's direction vector ie it's local -z.
@ PFG_RGBA32_SINT
Definition: OgrePixelFormatGpu.h:53
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:202
String doGet(const void *target) const
MaterialPtr getSkyMaterial(void)
Definition: OgreSceneManager.h:1158
static void convertForNormalMapping(const PixelBox &src, const PixelBox &dst)
Converts the input source to either PF_R8G8_SNORM or PF_BYTE_LA.
virtual void resetStatistics(void)
Resets saved frame-rate statistices.
@ CAPS_CATEGORY_COMMON_2
Definition: OgreRenderSystemCapabilities.h:67
@ UNLIT_BLEND_MULTIPLY
Definition: OgreHlmsUnlitPrerequisites.h:68
Real weight
Definition: OgreVertexBoneAssignment.h:57
@ PFG_R8_SINT
Definition: OgrePixelFormatGpu.h:110
@ ID_FILTERING
Definition: OgreScriptCompiler.h:746
uint8 mipLevel
Definition: OgreTextureDefinition.h:58
virtual TextureGpu * findTmpRtt(const TextureGpu *baseParams)
See mTmpRtt.
virtual void textureCoord(Real u, Real v)
Add a texture coordinate to the current vertex.
const_iterator begin() const
Definition: OgreStackVector.h:290
static void recreateResizableBuffers(const BufferDefinitionVec &bufferDefs, CompositorNamedBufferVec &inOutBufContainer, const TextureGpu *finalTarget, RenderSystem *renderSys, const CompositorNodeVec &connectedNodes, const CompositorPassVec *passes)
Destroys & recreates only the buffers that depend on the main RT (i.e.
virtual bool prepare(StreamSerialiser &ser)=0
Prepare data - may be called in the background.
Factory for creating BorderPanelOverlayElement instances.
Definition: OgreOverlayElementFactory.h:87
virtual uint8 waitForTailFrameToFinish(void)
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.
XVisualInfo * getVisualFromFBConfig(GLXFBConfig fbConfig)
Portable replacement for glXGetVisualFromFBConfig.
Real getMaximumDepthInputValue()
Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
iterator erase(iterator S, iterator E)
Definition: OgreMain/include/OgreSmallVector.h:453
id< MTLTexture > getTextureForSampling(MetalRenderSystem *renderSystem)
D3D9StereoDriverBridge(StereoModeType stereoMode)
void transform(const Matrix4 &matrix)
Transforms the box according to the matrix supplied.
Definition: OgreAxisAlignedBox.h:419
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:219
Vector3 convertPosition(Space inSpace, const Vector3 &inPos, Space outSpace) const
Convert a position from one space to another with respect to this terrain.
void _setHlmsBlendblock(const HlmsBlendblock *blendblock, const GL3PlusHlmsPso *pso)
virtual void setFullscreen(bool fullscreen, uint width, uint height)
Alter fullscreen mode options.
String getErrorDescription(long errorNumber) const
See RenderSystem.
virtual T * createInstance(const String &name)=0
Creates a new object.
BillboardType getBillboardType(void) const
Returns the billboard type in use.
void setNumMipmaps(uint8 numMipmaps)
virtual void updateParamsForCompositeMap(const MaterialPtr &mat, const Terrain *terrain)=0
Update params for a terrain.
void cullLights(Camera *camera, Light::LightTypes startType, Light::LightTypes endType, LightArray &outLights)
static const IdString AmbientHemisphere
Definition: OgreHlmsPbs.h:539
ImageDownsampler2D downscale2x_Signed_A8
Definition: OgreImageDownsampler.h:115
bool isVisible(void) const
Returns whether or not the element is visible.
bool OrderCacheByHash(const HlmsCache *_left, const HlmsCache *_right)
Definition: OgreHlmsCommon.h:210
Definition: OgreException.h:239
type4()
Definition: OgreShaderPrimitives.h:45
@ SPC_LIGHTPOSITION_OBJECT_SPACE7
Definition: OgreShaderParameter.h:214
HardwareIndexBufferSharedPtr indexBuffer
Pointer to the HardwareIndexBuffer to use, must be specified if useIndexes = true.
Definition: OgreVertexIndexData.h:299
virtual const VertexElement & addElement(unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0)
Adds a new VertexElement to this declaration.
double * getDoublePointer(size_t pos)
Get a pointer to the 'nth' item in the double buffer.
Definition: OgreGpuProgramParams.h:774
void removeElement(unsigned short elem_index)
See VertexDeclaration.
void nodeDestroyed(BoneTransform &outTransform, size_t depth)
Releases current memory.
@ VES_NORMAL
Normal, 3 reals per vertex.
Definition: OgreVertexElements.h:47
static const String & getDirectionalLightExtruderArbvp1(void)
Get extruder program source for directional lights, compatible with arbvp1.
Definition: OgreShadowVolumeExtrudeProgram.h:243
bool isClosed(void) const
Overridden - see RenderWindow.
virtual bool hasNonZeroKeyFrames(void) const
Method to determine if this track has any KeyFrames which are doing anything useful - can be used to ...
static const IdString UvSpecular
Definition: OgreHlmsPbs.h:509
NumericAnimationTrack(Animation *parent, unsigned short handle)
Constructor.
void setColourAt(const ColourValue &cv, size_t _x, size_t _y, size_t _z, PixelFormatGpu pixelFormat)
Set colour value at a certain location in the image.
TagPoint(unsigned short handle, Skeleton *creator)
void doSet(void *target, const String &val)
void * getProcAddress(const char *procname) const
Get the address of a function.
NumericAnimationTrack * createNumericTrack(unsigned short handle)
Creates a NumericAnimationTrack for animating any numeric value.
uint16 getLodCount() const
Get the number of LOD levels this node can represent itself (only > 1 for leaf nodes)
vector< Bone >::type BoneVec
Definition: OgreSkeletonInstance.h:74
void _setTextureMatrix(size_t stage, const Matrix4 &xform)
See RenderSystem.
Definition: OgreGL3PlusRenderSystem.h:360
Definition: OgreGL3PlusMultiSourceVertexBufferPool.h:40
virtual void _notifyBillboardResized(void)
Internal callback used by Billboards to notify their parent that they have been resized.
String writeString(const RenderSystemCapabilities *caps, const String &name)
Writes a RenderSystemCapabilities object to a string.
ConstMapIterator< NormalsMap > ConstNormalsIterator
An iterator over the vertex offsets.
Definition: OgrePose.h:80
void resetDimensions(void)
Utility method to reset this particle.
Abstract factory interface for creating SubRenderState implementation instances.
Definition: OgreShaderSubRenderState.h:228
GpuLogicalBufferStruct()
Definition: OgreGpuProgramParams.h:589
Subclasses of this class are responsible for performing a function on an input value for a Controller...
Definition: OgreController.h:56
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.
Class representing a general-purpose node an articulated scene graph.
Definition: OgreNode.h:59
void reorganiseBuffers(VertexDeclaration *newDeclaration, HardwareBufferManagerBase *mgr=0)
Reorganises the data in the vertex buffers according to the new vertex declaration passed in.
_OgreExport friend std::ostream & operator<<(std::ostream &o, const Matrix3 &mat)
Function for writing to a stream.
const FloatConstantList & getFloatConstantList() const
Get a reference to the list of float constants.
Definition: OgreGpuProgramParams.h:791
StdUnorderedSet< BufferPacked * > BufferPackedSet
Definition: OgreBufferPacked.h:331
virtual void setVSyncEnabled(bool vsync)
Enable or disable vertical sync for the RenderWindow.
Definition: OgreRenderWindow.h:162
virtual bool getSortingEnabled(void) const
Returns true if sorting of billboards is enabled based on their distance from the camera.
static String DEFAULT_SCHEME_NAME
Default material scheme.
Definition: OgreMaterialManager.h:147
bool checkFormat(PixelFormat format)
Check if a certain format is usable as FBO rendertarget format.
Definition: OgreGLES2FBORenderTexture.h:111
void setPlayMode(eTexturePlayMode eMode)
Sets a play mode.
Definition: OgreExternalTextureSource.h:123
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, TextureUnitState *texState, SGScriptTranslator *translator)
Create an instance of the SubRenderState based on script properties.
Definition: OgreShaderSubRenderState.h:263
GpuProgramParameters_AutoConstantEntry * getAutoConstantEntry(const size_t index)
Gets a specific Auto Constant entry if index is in valid range otherwise returns a NULL.
void addRequest(const ChunkRequest &req)
Adds a new ChunkRequest to be loaded to the WorkQueue.
static const String & getDirectionalLightExtruderVs_glsl(void)
Get extruder program source for directional lights, compatible with glsl.
Definition: OgreShadowVolumeExtrudeProgram.h:249
virtual void processSkeletonName(Mesh *mesh, String *name)=0
Called to override the reference to a skeleton.
static const IdString BlendModeIdx5
Definition: OgreHlmsUnlitMobile.h:130
bool allowWriteAfterWrite
Definition: OgreCompositorPassComputeDef.h:67
@ ID_BOTH
Definition: OgreScriptCompiler.h:960
static Real Ceil(Real fValue)
Ceiling function Returns the smallest following integer.
Definition: OgreMath.h:296
Common subclass of DataStream for handling data from C-style file handles.
Definition: OgreDataStream.h:614
void _setSkeletonDef(const SkeletonDef *skeletonDef)
Definition: OgreSkeletonAnimationDef.h:95
void QDUDecomposition(Matrix3 &rkQ, Vector3 &rkD, Vector3 &rkU) const
Orthogonal Q, diagonal D, upper triangular U stored as (u01,u02,u12)
virtual long getLine() const
Gets line number.
Definition: OgreException.h:165
static const IdString DetailMapsDiffuse
Definition: OgreHlmsPbsMobile.h:153
In Ogre 2.0 data structures, reading data from GPU back to CPU is asynchronous.
Definition: OgreAsyncTicket.h:51
void setWorkerThreadMinimumBudget(const BudgetEntryVec &budget, size_t maxSplitResolution=0)
Background streaming works by having a bunch of preallocated StagingTextures so we're ready to start ...
virtual void getWorldTransforms(Matrix4 *xform) const OGRE_OVERRIDE
static CodecIterator getCodecIterator(void)
Gets the iterator for the registered codecs.
Definition: OgreCodec.h:109
void releasePrograms(Pass *pass, TargetRenderState *renderState)
Release CPU/GPU programs set associated with the given render state and pass.
GpuProgramParametersSharedPtr getFragmentProgramParameters(void) const
Gets the fragment program parameters used by this pass.
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:214
Real d
Definition: OgrePlane.h:65
virtual bool _isDataReadyImpl(void) const
For internal use.
AnimationStateSet()
Create a blank animation state set.
static GLenum getGLType(unsigned int type)
Utility function to get the correct GL type based on VET's.
Definition: OgreGLES2HardwareBufferManager.h:89
EmbeddedZipArchiveFactory()
void updateLightCustomGpuParameter(const GpuProgramParameters_AutoConstantEntry &constantEntry, GpuProgramParameters *params) const
static const IdString BlendModeIndex0
Definition: OgreUnlitProperty.h:111
Real calculate(Real source)
Overridden function.
void setNamedAutoConstant(const String &name, AutoConstantType acType, uint16 extraInfo1, uint16 extraInfo2)
Sets up a constant which will automatically be updated by the system.
String doGet(const void *target) const
map< String, MaterialBucket * >::type MaterialBucketMap
Lookup of Material Buckets in this region.
Definition: OgreStaticGeometry.h:313
virtual RenderContext * _pauseRendering()
Pause rendering of the frame.
UavBufferPacked(size_t internalBufferStartBytes, size_t numElements, uint32 bytesPerElement, uint32 bindFlags, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface)
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.
virtual DataStreamPtr resourceLoading(const String &name, const String &group, Resource *resource)=0
This event is called when a resource beings loading.
@ IM_VTFBESTFIT
The num.
Definition: OgreCommon.h:362
Billboard()
Default constructor.
virtual void getSubsampleLocations(vector< Vector2 >::type locations)
Get the MSAA subsample locations.
Image & flipAroundX()
Flips (mirrors) the image around the X-axis.
Represents a Direct3D rendering resource.
Definition: OgreD3D9Resource.h:41
VectorIterator< CameraList > CameraIterator
Definition: OgreSceneManager.h:2270
@ FLAG_FULL_LEGACY
Definition: OgreHlmsPbsDatablock.h:62
GLES2DefaultHardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage)
virtual void textureCoord(const Vector3 &uvw)
Add a texture coordinate to the current vertex.
virtual bool requiresTextureFlipping(void) const
Definition: OgreGLES2DepthTexture.h:105
void setAsABGR(const ABGR val)
Sets colour as ABGR.
ArrayMaskR intersects(const ArraySphere &s) const
Returns whether or not this sphere intersects another sphere.
HlmsPbsMobile(Archive *dataFolder, ArchiveVec *libraryFolders)
@ NUM_SCENE_MEMORY_MANAGER_TYPES
Definition: OgreCommon.h:428
Vector4(Real *const r)
Definition: OgreVector4.h:80
void shrinkToFit(void)
Defragments memory, then reallocates a smaller pool that tightly fits the current number of objects.
Data representing the output of the Mesh reduction. Used by LodOutputProviderBuffer.
Definition: OgreLodBuffer.h:74
size_t getVertexSize(void) const
Gets the size in bytes of a single vertex in this buffer.
Definition: OgreHardwareVertexBuffer.h:74
MapIterator< ElementMap > TemplateIterator
Definition: OgreOverlayManager.h:209
map< SubMesh *, SubMeshLodGeometryLinkList * >::type SubMeshGeometryLookup
Definition: OgreStaticGeometry.h:159
std::reverse_iterator< iterator > reverse_iterator
Definition: OgreMain/include/OgreSmallVector.h:176
uint8 mFirstRq
Definition: OgreSceneQuery.h:127
uint32 _getCombinedVisibilityMask(void) const
Internal method for getting the combination between the global visibility mask and the per-viewport v...
static const IdString DetailOffsetsD3
Definition: OgreHlmsPbsMobile.h:130
UserObjectBindings()
Class constructor.
virtual Real getMinDuration(void) const
Gets the minimum duration of this emitter in seconds (see setDuration for more details)
SubStringRef(const String *original, String::const_iterator _start)
Definition: OgreHlmsCommon.h:72
void _updateRenderQueue(RenderQueue *, Camera *camera, const Camera *lodCamera)
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
bool operator==(const AnimationState &rhs) const
Equality operator.
vector< String >::type StringVector
Definition: OgreStringVector.h:46
virtual void destroy(void)
size_t getFirstNode(Transform &outTransform, size_t depth)
Retrieves a Transform pointing to the first Node in the given depth.
virtual_l1 void beginUpdate(size_t sectionIndex)
Start the definition of an update to a part of the object.
@ HBL_DISCARD
Discards the entire buffer while locking; this allows optimisation to be performed because synchronis...
Definition: OgreHardwareBuffer.h:130
IntersectionSceneQuery(SceneManager *mgr)
Real getBoundingSphereRadius(void) const
Gets the radius of the bounding sphere surrounding this mesh.
GL3PlusTextureGpu(GpuPageOutStrategy::GpuPageOutStrategy pageOutStrategy, VaoManager *vaoManager, IdString name, uint32 textureFlags, TextureTypes::TextureTypes initialType, TextureGpuManager *textureManager)
size_t numAttachedObjects(void) const
Reports the number of objects attached to this node.
Definition: OgreSceneNode.h:111
void setDiffuse(const Vector3 &diffuseColour)
Sets the diffuse colour (final multiplier). The colour will be divided by PI for energy conservation.
Particle * createParticle(void)
Manually add a particle to the system.
virtual void preCopyRenderTargetToCubemap(TextureGpu *renderTarget, uint32 cubemapArrayIdx)
Called when the probe is done rendering to the temporary cubemap, and is now about to be copied to th...
virtual bool removeRenderWindow(const String &renderWindowName)=0
CSGDifferenceSource(void)
Constructor, sets the sources to null.
FastArray< SkeletonInstance * > skeletons
MUST be sorted by location in its BoneMemoryManager's slot (in order to update in parallel without ca...
Definition: OgreSkeletonAnimManager.h:59
A blend block contains settings that rarely change, and thus are common to many materials.
Definition: OgreHlmsDatablock.h:147
SceneManager * getSceneManager() const
CbDrawCallIndexed(bool supportsBaseInstance)
boost::function< void(T) > setter_func
Definition: OgreProperty.h:220
void deallocateScratch(void *ptr)
StencilOperation stencilPassOp
Definition: OgreCommon.h:122
virtual ~GLES2DepthTextureTarget()
@ SBT_TRANSPARENT_ALPHA
Make the object transparent based on the final alpha values in the texture.
Definition: OgreBlendMode.h:218
void _load(void)
Internal load method, derived from call to Material::load.
void addFrameTextureName(const String &name)
Add a Texture name to the end of the frame container.
bool operator!=(const ColourValue &rhs) const
@ ThreadGroupsBasedOnNothing
Disabled. (obey setNumThreadGroups)
Definition: OgreHlmsComputeJob.h:58
uint * getUnsignedIntPointer(size_t pos)
Get a pointer to the 'nth' item in the uint buffer.
Definition: OgreGpuProgramParams.h:1914
virtual void copyFrom(const SubRenderState &rhs)
Definition: OgreNULLTexBufferPacked.h:40
@ ACT_TRANSPOSE_WORLDVIEW_MATRIX
Provides transpose of concatenated world and view matrices.
Definition: OgreGpuProgramParams.h:979
Real getTime(void) const
Gets the time of this keyframe in the animation sequence.
Definition: OgreKeyFrame.h:68
uint8 mipmapLevel
Definition: OgreDescriptorSetTexture.h:182
@ MATERIAL
Definition: OgreScriptCompiler.h:516
const String & getType(void) const
Get the type of the object to be created.
virtual void setDefaultWidth(Real width)
See setDefaultDimensions - this sets 1 component individually.
unsigned short getLodIndex(void) const
Gets the level-of-detail index assigned to this Technique.
Definition: OgreTechnique.h:392
Definition: OgreScriptTranslator.h:244
static const uint8 DERIVED_DATA_NORMALS
Definition: OgreTerrain.h:1193
HlmsPso * getPso(void)
Returns an HlmsPso you can set via renderSystem->_setPipelineStateObject based on all past calls to s...
int getScissorActualLeft(void) const
Definition: OgreViewport.h:147
Usage
Enums describing buffer usage; not mutually exclusive.
Definition: OgreHardwareBuffer.h:81
bool getStartEnabled(void) const
Definition: OgreCompositorNodeDef.h:116
size_t size() const
Definition: OgreFastArray.h:179
static String toString(const Matrix4 &val)
Converts a Matrix4 to a String.
virtual void setShadowFarDistance(Real distance)
Sets the default maximum distance away from the camera that shadows will be visible.
void updateAllBounds(const ObjectMemoryManagerVec &objectMemManager)
Updates the world aabbs from all entities in the scene.
void prepareForShadowMapping(bool forceSameBuffers)
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...
float mSamplesSingleIterationFallback
Value to use when we can't spread IBL generation over multiple frames (mNumInitialPasses !...
Definition: OgreCompositorPassIblSpecularDef.h:57
ImportData & operator=(const ImportData &rhs)
Definition: OgreTerrain.h:437
@ 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:922
Image & loadDynamicImage(uchar *data, uint32 width, uint32 height, PixelFormat format)
Stores a pointer to raw data in memory.
Definition: OgreImage.h:204
virtual ~D3D11RenderPassDescriptor()
static const uint16 TERRAINDERIVEDDATA_CHUNK_VERSION
Definition: OgreTerrain.h:291
BorderRenderable(BorderPanelOverlayElement *parent)
Constructed with pointers to parent.
Definition: OgreBorderPanelOverlayElement.h:329
@ ACT_LIGHT_DIFFUSE_COLOUR_ARRAY
Array of light diffuse colours (count set by extra param)
Definition: OgreGpuProgramParams.h:1074
GLES2TextureManager(GLES2Support &support)
void _setPointParameters(Real size, bool attenuationEnabled, Real constant, Real linear, Real quadratic, Real minSize, Real maxSize)
See RenderSystem.
WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
WorkQueue::RequestHandler override.
AtomicScalar()
Definition: OgreAtomicScalar.h:416
int override_redirect
Definition: OgreX11EGLSupport.h:90
void setSphere(const Sphere &sphere)
Sets the sphere which is to be used for this query.
const ColourValue & getSpecularColour(void) const
Returns the colour of specular light given off by this light source.
Definition: OgreLight.h:174
Real calculate(Real source)
Overridden method.
MeshPtr getByName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Get a resource by name.
void setTexturePoolId(uint32 poolId)
2D Texture with automatic batching will be merged with other textures into the same pool as one big 2...
Ogre::SharedPtr< unsigned char > indexBuffer
size of the index buffer in bytes
Definition: OgreLodBuffer.h:46
@ GPU_APPLE
Definition: OgreRenderSystemCapabilities.h:316
ObjectData & _getObjectData()
Returns a direct access to the ObjectData state.
Definition: OgreMovableObject.h:410
bool isSupported(void) const
Overridden from GpuProgram.
void saveMaterial(const HlmsDatablock *datablock, String &outString)
virtual void _createInternalResources(EGLDisplay eglDisplay, ::EGLConfig glconfig, ::EGLSurface drawable, ::EGLContext shareContext)
multimap< String, String >::type SettingsMultiMap
Definition: OgreConfigFile.h:90
T operator+=(const T &add)
Definition: OgreAtomicScalar.h:469
Specialisation of HighLevelGpuProgram which just delegates its implementation to one other high level...
Definition: OgreUnifiedHighLevelGpuProgram.h:61
ComPtr(const ComPtr &other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:134
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:306
virtual void loadMicrocodeCache(DataStreamPtr stream)
Loads the microcode cache from disk.
LodValueIterator getUserLodValueIterator(void) const
Gets an iterator over the user-defined list of values which are internally transfomed by the LodStrat...
static const IdString UvAtlas15
Definition: OgreHlmsUnlitMobile.h:158
IDXGIAdapterN * getDeviceAdapter() const
void reposition(int leftPt, int topPt)
Overridden - see RenderWindow.
RenderOperation()
Definition: OgreRenderOperation.h:89
void enableClipPlane(ushort index, bool enable)
RGBA getAsRGBA(void) const
Retrieves colour as RGBA.
void close(void)
Close the stream; this makes further operations invalid.
GLint convertStencilOp(StencilOperation op) const
virtual ProgramWriter * create(void)
Definition: OgreShaderCGProgramWriter.h:137
AbstractNode * clone() const
Returns a new AbstractNode which is a replica of this one.
GeneralAllocatedObject ControllerAlloc
Definition: OgreMemoryAllocatorConfig.h:305
VertexDeclaration(HardwareBufferManagerBase *creator)
Standard constructor, not you should use HardwareBufferManager::createVertexDeclaration.
static LodWorkQueueWorker * getSingletonPtr()
String validateConfigOptions(void)
See RenderSystem.
Animation * createAnimation(const String &name, Real length)
Creates a new Animation object for animating this skeleton.
static const IdString HasPlanarReflections
Definition: OgreHlmsPbs.h:457
const IntConstantList & getIntConstantList() const
Get a reference to the list of int constants.
Definition: OgreGpuProgramParams.h:795
Controller< Real > * createTextureUVScroller(TextureUnitState *layer, Real speed)
Creates a basic time-based texture uv coordinate modifier designed for creating scrolling textures.
Real totalTimePercent
The total percentage of frame time this profile has taken.
Definition: OgreProfiler.h:288
void setCenterValue(Vector4 value)
Raw setter for the center value.
Definition: OgreVolumeOctreeNode.h:508
@ ID_CAMERA_FAR_CORNERS_VIEW_SPACE_NORMALIZED
Definition: OgreScriptCompiler.h:933
@ ID_SAWTOOTH
Definition: OgreScriptCompiler.h:797
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
Definition: OgreNULLTexture.h:82
ImageBlur2D separableBlur_sRGB_XXX888
Definition: OgreImageDownsampler.h:207
EdgeData * build(void)
Builds the edge information based on the information built up so far.
void streamToAoS(Matrix4 *RESTRICT_ALIAS dst) const
Converts these matrices contained in this ArrayMatrix to AoS form and stores them in dst.
bool ArrayMaskI
Definition: OgreArrayConfig.h:166
RayResult rayIntersects(const Ray &ray, Real distanceLimit=0) const
Test for intersection of a given ray with any terrain in the group.
StackVector(const StackVector< T, C > ©)
Definition: OgreStackVector.h:64
void getKeyFrameRigAt(KeyFrameRigVec::const_iterator &inOutPrevFrame, KeyFrameRigVec::const_iterator &outNextFrame, Real frame) const
@ PF_A4L4
8-bit pixel format, 4 bits alpha, 4 bits luminance.
Definition: OgrePixelFormat.h:57
virtual const Radian & getAngle(void) const
Returns the maximum angle which the initial particle direction can deviate from the emitters base dir...
virtual void _notifyTextureSlotChanged(const TexturePool *newPool, uint16 slice)
VertexAnimationTrack * createVertexTrack(unsigned short handle, VertexAnimationType animType)
Creates a VertexAnimationTrack for animating vertex position data.
void destroyComputeJob(IdString name)
Destroys a specific Compute Job.
uint16 variability
The variability of this parameter (see GpuParamVariability)
Definition: OgreGpuProgramParams.h:2497
Definition: OgreD3D11LegacySDKEmulation.h:33
virtual void _forceReleaseBufferCopies(HardwareVertexBuffer *sourceBuffer)
Internal method that forces the release of copies of a given buffer.
virtual void position(const Vector3 &pos)
Add a vertex position, starting a new vertex at the same time.
D3D9RenderWindow * getRenderWindow(uint index)
@ IM_FORCEONEWEIGHT
All techniques are forced to one weight per vertex.
Definition: OgreCommon.h:374
vector< TerrainLayerBlendMap * >::type TerrainLayerBlendMapList
Definition: OgreTerrainLayerBlendMap.h:188
SubMesh * createSubMesh(void)
Creates a new SubMesh.
static const int PassShift
Definition: OgreHlms.h:958
unsigned int getVertexID(const Vertex *v) const
Implementation of GL ES 2.x as a rendering system.
Definition: OgreGLES2RenderSystem.h:56
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
Definition: OgreD3D9Resource.h:50
String doGet(const void *target) const
set< Entity * >::type EntitySet
Definition: OgreEntity.h:89
void _createSurfaceList(void)
internal method, create D3D11HardwarePixelBuffers for every face and mipmap level.
virtual void setUniformBlockBinding(const char *blockName, uint32 bindingSlot)
For GL only. Program must be bound when calling.
Definition: OgreGpuProgram.h:485
virtual void upload(const PixelBox &data, const Box &dest)
Upload a box of pixels to this buffer on the card.
Definition: OgreRenderToVertexBuffer.h:52
Definition: OgreSharedPtr.h:55
static const uint16 CHUNK_VERSION
Definition: OgrePageContentCollection.h:62
Definition: OgreLwString.h:273
void setAdapterOrdinalIndex(D3D9RenderWindow *renderWindow, uint adapterOrdinalInGroupIndex)
void addSubRenderStateInstance(SubRenderState *subRenderState) const
Add SubRenderState instance to this accessor.
Definition: OgreShaderSubRenderState.h:177
AutoConstantType acType
Definition: OgreGpuProgramParams.h:1428
@ TAM_MIRROR
Texture mirrors (flips) at joins over 1.0.
Definition: OgreHlmsSamplerblock.h:50
Definition: OgreHlmsDiskCache.h:161
bool _createRenderWindows(const RenderWindowDescriptionList &renderWindowDescriptions, RenderWindowList &createdWindows)
Creates multiple rendering windows.
float g
Definition: OgreD3D11LegacySDKEmulation.h:35
void makeFloor(const Vector2 &cmp)
Sets this vector's components to the minimum of its own and the ones of the passed in vector.
Definition: OgreVector2.h:460
SharedPtr< Resource > ResourcePtr
Definition: OgrePrerequisites.h:397
void destroyDescriptorSetUav(const DescriptorSetUav *descSet)
@ FET_PROJ_PLANE_POS
Represent extents as positions on the near clip plane.
Definition: OgreFrustum.h:85
virtual bool _isDataReadyImpl(void) const
For internal use.
virtual void addClipPlane(const Plane &p)
Add a user clipping plane.
ConstMapRange(typename T::iterator b, typename T::iterator e)
Constructor.
Definition: OgreIteratorRange.h:303
@ ACT_DERIVED_AMBIENT_LIGHT_COLOUR
The derived ambient light colour, with 'r', 'g', 'b' components filled with product of surface ambien...
Definition: OgreGpuProgramParams.h:1116
virtual BackgroundProcessTicket unloadResourceGroup(const String &name, Listener *listener=0)
Unloads a resource group in the background.
void loadMaterial(const rapidjson::Value &json, const HlmsJson::NamedBlocks &blocks, HlmsDatablock *datablock, const String &resourceGroup)
uint32 mNumInitialPasses
Number of times to perform the pass before stopping. -1 to never stop.
Definition: OgreCompositorPassDef.h:122
Definition: OgreSkeletonAnimationDef.h:45
void flushGpuProgramsCache()
Flush the local GPU programs cache.
uint8 mIsTransparent
This value calculated by HlmsManager::getBlendblock mIsTransparent = 0 -> Not transparent mIsTranspar...
Definition: OgreHlmsDatablock.h:172
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.
TerrainLayerSampler()
Definition: OgreTerrainMaterialGenerator.h:115
BufferSlot & getBuffer(void)
Definition: OgreDescriptorSetTexture.h:255
ObjectMemoryManager & _getLightMemoryManager(void)
Definition: OgreSceneManager.h:1334
CocoaContext(NSOpenGLContext *context, NSOpenGLPixelFormat *pixelFormat)
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
virtual void _hlmsMacroblockCreated(HlmsMacroblock *newBlock)
#define CAPS_CATEGORY_MASK
Definition: OgreRenderSystemCapabilities.h:51
virtual void releaseIbl(const TextureGpu *tmpRtt)
bool isBuildEdgesEnabled(void) const
Returns true(by default) if the submesh should be included in the mesh EdgeList, otherwise returns fa...
Definition: OgreSubMesh.h:260
Element(const Vector3 &position, Real width, Real texCoord, const ColourValue &colour, const Quaternion &orientation)
Real getFogEnd(void) const
Returns the fog end distance for this pass.
void setNamedConstant(const String &name, const int *val, size_t count)
IDirect3DCubeTexture9 * getCubeTexture()
retrieves a pointer to the cube texture
Concrete IteratorWrapper for nonconst access to the underlying key-value container.
Definition: OgreIteratorWrapper.h:319
virtual void write(const Sphere *sphere, size_t count=1)
PageManager * getManager() const
bool getUseEmissiveAsLightmap(void) const
const AxisAlignedBox & getBoundingBox(void) const
static const uint8 R_MASK
Definition: OgreHlmsUnlitDatablock.h:62
static const char * DetailMapN
Definition: OgreHlmsPbs.h:469
static const ArrayQuaternion ZERO
Definition: C/OgreArrayQuaternion.h:248
virtual void handleResponse(const Response *res, const WorkQueue *srcQ)=0
The handler method every subclass must implement.
static PixelFormatGpu getDestinationFormat(PixelFormatGpu srcFormat)
@ RenderToTexture
Texture can be used as an RTT (FBO in GL terms)
Definition: OgreTextureGpu.h:86
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
A bone in a skeleton.
Definition: OgreOldBone.h:55
void moveRelative(const Vector3 &vec)
Moves the camera's position by the vector offset provided along it's own axes (relative to orientatio...
Vector2 xy() const
Definition: OgreVector4.h:109
void updateGeometry()
Performs an update on the terrain geometry based on the dirty region.
@ CAPS_CATEGORY_METAL
Definition: OgreRenderSystemCapabilities.h:71
CompositorPassIblSpecular(const CompositorPassIblSpecularDef *definition, const RenderTargetViewDef *rtv, CompositorNode *parentNode)
String getDisplayName(void)
virtual void setPageProvider(PageProvider *provider)
Set the PageProvider which can provide streams Pages in this section.
Definition: OgrePagedWorldSection.h:268
virtual void applyRebase(uint16 level, const MemoryPoolVec &newBasePtrs, const ArrayMemoryManager::PtrdiffVec &diffsList)
Called when the manager already grew it's memory pool to honour more node requests.
@ CB_DRAW_CALL_INDEXED_EMULATED
Definition: OgreCbCommon.h:41
static const String & getDirectionalLightExtruderVs_glsles(void)
Get extruder program source for directional lights, compatible with glsles.
Definition: OgreShadowVolumeExtrudeProgram.h:251
virtual bool checkFormat(PixelFormat format)=0
Check if a certain format is usable as rendertexture format.
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.
Command object for setting the maximum output vertices (geometry shader only)
Definition: OgreGLSLShader.h:95
virtual ~FileNotFoundException()
uint32 PageID
Identifier for a page.
Definition: OgrePagingPrerequisites.h:58
void freeTemporaryResources()
Free as many resources as possible for optimal run-time memory use.
static ArrayReal ACos4(ArrayReal x)
Returns the arccos of x.
@ OT_PATCH_32_CONTROL_POINT
Definition: OgreHlmsPso.h:91
bool requiresTextureFlipping() const
Definition: OgreOSXCocoaWindow.h:119
void copyFrom(Hlms *hlms)
Contains information needed by the UI (2D) for OpenGL ES 2.0.
Definition: OgreHlmsLowLevelDatablock.h:46
GpuProgramParameters::AutoConstantType acType
Definition: OgreShaderParams.h:66
void setDimensions(Real width, Real height)
Sets the dimensions of this element in relation to the screen (1.0 = screen width/height).
void removeAllLinkedSkeletonAnimationSources(void)
Remove all links to other skeletons for the purposes of sharing animation.
@ BLOCK_SAMPLER
Definition: OgreHlmsDatablock.h:48
@ GHA_RIGHT
Definition: OgreOverlayElement.h:74
unsigned usedCount
Definition: OgreLod0Stripifier.h:97
RenderWindow * createWindow(bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle)
bool getUseIdentityView(void) const
Returns whether or not to use an 'identity' view.
Definition: OgreManualObject.h:377
void unregisterHlms(HlmsTypes type)
Unregisters an HLMS provider of the given type.
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware vertex buffer.
SettingsIterator getSettingsIterator(const String §ion=BLANKSTRING)
Get an iterator over all the available settings in a section.
@ M_ANIMATION
Definition: OgreMeshFileFormat.h:158
static const String MOVABLE_TYPE_NAME
The type name.
Definition: OgreVolumeChunk.h:314
void clear()
Clear the pool.
void set(size_t position)
Sets bit at 'position' to 1.
Definition: OgreBitset.h:76
list< SceneQueryMovableObjectWorldFragmentPair >::type SceneQueryMovableWorldFragmentIntersectionList
Definition: OgreSceneQuery.h:486
virtual OldNode * getChild(const String &name) const
Gets a pointer to a named child OldNode.
virtual void rotate(const Vector3 &axis, const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the OldNode around an arbitrary axis.
void createShaderParams(IdString key)
Creates a set of shader paramters with a given key, e.g.
@ ACT_LIGHT_SPECULAR_COLOUR_POWER_SCALED
Light specular colour pre-scaled by Light::setPowerScale (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:1072
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)
void getTextureSource(size_t outputChannel, size_t &index, TextureSource &textureSource) const
Retrieves in which container to look for when wanting to know the output texture using the mappings f...
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:479
virtual void setEmittedEmitter(const String &emittedEmitter)
Sets the name of the emitter to be emitted.
void setPosition(const Vector3 &vec)
Sets the camera's position.
virtual void frameEnd(Real timeElapsed)
Called when the frame ends.
@ PFG_ETC2_RGB8A1_UNORM_SRGB
Definition: OgrePixelFormatGpu.h:221
static size_t calculateNumTargets(const AbstractNodePtr &node)
void unlock(void)
Override HardwareBuffer to turn off all shadowing.
TextureGpu * getIrradianceVolumeTexture(void) const
Definition: OgreIrradianceVolume.h:124
LodStrategy * getDefaultStrategy()
Get the current default strategy.
static const IdString LightsAreaTexMask
Definition: OgreHlms.h:850
void _setTextureAddressingMode(size_t stage, const TextureUnitState::UVWAddressingMode &uvw)
virtual void _initParticle(Particle *pParticle)
Initialises a particle based on the emitter's approach and parameters.
Definition: OgreParticleEmitter.h:419
unordered_map< unsigned int, String >::type SubroutineMap
Definition: OgreGpuProgramParams.h:1452
virtual ~D3D11DepthTextureTarget()
SubMesh * clone(Mesh *parentMesh=0, int vertexBufferType=-1, int indexBufferType=-1)
Makes a copy of this submesh object and gives it a new name.
Define the interface to a factory class that will create subclasses of PageContent.
Definition: OgrePageContentFactory.h:51
Real getOverlayWidth() const
virtual void _destroyInternalResources()
Definition: OgreD3D11Window.h:81
DebugVisualizationMode
Definition: OgreIrradianceField.h:146
virtual void execute(const Camera *lodCamera)
@ M_ANIMATION_MORPH_KEYFRAME
Definition: OgreMeshFileFormat.h:170
FontType
Enumerates the types of Font usable in the engine.
Definition: OgreFont.h:45
void remove(const String &filename)
Delete a named file.
void bind(RenderTarget *target)
Bind a certain render target if it is a FBO.
TerrainMaterialGeneratorPtr getDefaultMaterialGenerator()
Get the default material generator.
ComPtr< ID3D11ShaderResourceView > createSrv(const DescriptorSetTexture2::BufferSlot &bufferSlot) const
IdString operator+(IdString idString) const
Definition: OgreIdString.h:218
NamePair(const String &_aliasName, const String &_resourceName)
Definition: OgreHlmsTextureManager.h:161
virtual HardwareVertexBufferSharedPtr allocateVertexBufferCopy(const HardwareVertexBufferSharedPtr &sourceBuffer, BufferLicenseType licenseType, HardwareBufferLicensee *licensee, bool copyData=false)
Allocates a copy of a given vertex buffer.
Definition: OgreHardwareBufferManager.h:493
map< String, ConfigOption >::type ConfigOptionMap
Definition: OgreConfigOptionMap.h:57
void shrinkToFit(void)
Defragments memory, then reallocates a smaller pool that tightly fits the current number of objects.
static GLenum getGLOriginFormat(PixelFormat format)
Takes the OGRE pixel format and returns the appropriate GL one.
void _unload(void)
Unload this usage.
void destroyInstance(Archive *ptr)
Destroys an object which was created by this factory.
Definition: OgreZip.h:127
@ PFG_RG16_UNORM
Definition: OgrePixelFormatGpu.h:82
static void destroyBuffers(const BufferDefinitionVec &bufferDefs, CompositorNamedBufferVec &inOutBufContainer, RenderSystem *renderSys)
virtual void start()=0
Start anything special.
virtual StagingBuffer * createStagingBuffer(size_t sizeBytes, bool forUpload)
Creates a new staging buffer and adds it to the pool.
virtual String getErrorDescription(long errorNumber) const
Returns a description of an error code.
@ SPC_LIGHTDIRECTION_TANGENT_SPACE4
Definition: OgreShaderParameter.h:201
@ TEXTURE_TYPE_ENV_MAP
Definition: OgreHlmsTextureManager.h:137
TextureGpu * getTexture(void) const
WARNING: Attempting to change the TextureGpu (e.g.
CompositorPass(const CompositorPassDef *definition, CompositorNode *parentNode)
@ SPC_LIGHTDIRECTION_WORLD_SPACE4
Definition: OgreShaderParameter.h:181
void addBoneAssignment(const VertexBoneAssignment &vertBoneAssign)
Assigns a vertex to a bone with a given weight, for skeletal animation.
static const IdString CubemapsUseDpm
Definition: OgreHlmsPbs.h:550
const vector< TextureGpuListener * >::type & getListeners(void) const
A MaterialBucket is a collection of smaller buckets with the same Material (and implicitly the same L...
Definition: OgreStaticGeometry.h:258
void setAmbient(const ColourValue &ambient)
Sets the ambient colour reflectance properties for every Pass in every Technique.
void _placeBarriersAndEmulateUavExecution(BoundUav boundUavs[64], ResourceAccessMap &uavsAccess, ResourceLayoutMap &resourcesLayout)
bool isDepthCheckEnabled(void) const
Is depth checking going to occur on this technique?
Definition: OgreX11EGLSupport.h:89
virtual void _executeStreaming(Image2 &image, TextureGpu *texture)
Gets executed from worker thread, right after the Image was loaded from file and we're done setting t...
virtual uint8 getRenderQueueGroup(void) const
Gets the queue group for this entity, see setRenderQueueGroup for full details.
void setSamplerblock(const HlmsSamplerblock &samplerblock)
Set samplerblock for every texture unit in every Technique and Pass.
unsigned short getNumPoses(void) const
void addTagPoint(TagPoint *tagPoint)
Makes the TagPoint child of this Bone.
BillboardParticleRendererFactory()
virtual_l1 size_t getCurrentIndexCount() const
Get the number of indices in the section currently being defined (returns 0 if no section is in progr...
GLES2StagingBuffer(size_t internalBufferStart, size_t sizeBytes, VaoManager *vaoManager, bool uploadOnly, GLuint vboName)
ComPtr< ID3D11UnorderedAccessView > createUav(const DescriptorSetUav::BufferSlot &bufferSlot) const
void doSet(void *target, const String &val)
::GLXDrawable mDrawable
Definition: OgreGLXContext.h:54
Command object for setting matrix packing in column-major order.
Definition: OgreGLSLShader.h:102
virtual void setFsaaResolved()
Definition: OgreD3D11NullTexture.h:118
void XStringListToTextProperty(char **prop, int num, XTextProperty *textProp)
@ GPU_VENDOR_COUNT
placeholder
Definition: OgreRenderSystemCapabilities.h:325
void setParallaxCorrectedCubemap(ParallaxCorrectedCubemapBase *pcc, float pccVctMinDistance=1.0f, float pccVctMaxDistance=2.0f)
Sets PCC.
@ WFT_SINE
Standard sine wave which smoothly changes from low to high and back again.
Definition: OgreCommon.h:276
virtual void _notifyStaticDirty(void) const
Called by SceneManager when it is telling we're a static MovableObject being dirty Don't call this di...
Definition: OgreMovableObject.h:236
virtual ~OctreeNode(void)
Destructor.
uint32 getNumRaysPerIrradiancePixel(void) const
uint32 getTotalNumProbes(void) const
Viewport * source
The source of the event being raised.
Definition: OgreRenderTargetListener.h:55
virtual uint32 fillBuffersForV2(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)
Interface to abstract all types of pass definitions (.
Definition: OgreCompositorPassDef.h:91
const NameToChannelMap & getNameToChannelMap(void) const
Definition: OgreTextureDefinition.h:318
bool operator>(const Radian &r) const
Definition: OgreMath.h:85
const String & getBorderMaterialName(void) const
Gets the name of the material to use for the borders.
void Cmov4(ArrayMaskR mask, const ArrayQuaternion &replacement)
Conditional move update.
Description of a sampler that will be used with each layer.
Definition: OgreTerrainMaterialGenerator.h:104
@ PROP_MATRIX3
Definition: OgreProperty.h:120
@ PFG_BC2_UNORM
BC2, aka DXT3 & DXT4.
Definition: OgrePixelFormatGpu.h:127
GpuResource(GpuPageOutStrategy::GpuPageOutStrategy pageOutStrategy, VaoManager *vaoManager, IdString name)
Real cost
Definition: OgreLodConfig.h:42
bool hasStrongMacroblock(void) const
Definition: OgreHlmsPso.h:154
bool isSkeletalAnimationIncluded(void) const
Returns whether the linked program includes the required instructions to perform skeletal animation.
Definition: OgreGLSLESProgramCommon.h:99
virtual void fillConstBufferData(Viewport *viewport, TextureGpu *renderTarget, IdString shaderSyntax, bool instancedStereo, float *RESTRICT_ALIAS passBufferPtr) const
Fills 'passBufferPtr' with the necessary data for Forward3D rendering.
@ PF_DEPTH_DEPRECATED
Depth texture format.
Definition: OgrePixelFormat.h:138
void saveTo(DataStreamPtr &dataStream)
@ ID_CULL_CAMERA
Definition: OgreScriptCompiler.h:909
virtual void _setPointParameters(Real size, bool attenuationEnabled, Real constant, Real linear, Real quadratic, Real minSize, Real maxSize)=0
Sets the size of points and how they are attenuated with distance.
Command object for local space (see ParamCommand).
Definition: OgreParticleSystem.h:127
static const IdString PoseHalfPrecision
Definition: OgreHlms.h:819
uint16 mRefCount
Definition: OgreDescriptorSetTexture.h:315
void load(int lodLevel=0, bool synchronous=true)
Load the terrain based on the data already populated via prepare methods.
static ScreenRatioPixelCountLodStrategy * getSingletonPtr(void)
Override standard Singleton retrieval.
OldNodeAnimationTrack(Animation *parent, unsigned short handle, OldNode *targetNode)
Constructor, associates with a OldNode.
virtual uint32 fillBuffersForV1(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)
void _setFinalTargetAsRenderTarget(ResourceLayoutMap::iterator finalTargetCurrentLayout)
Places a resource transition in our last pass to the given RenderTarget.
unsigned int getTexCoordIndex() const
Return the index of the input vertex shader texture coordinate set.
Definition: OgreShaderExNormalMapLighting.h:103
AnimationStateSet * getParent(void) const
Get the parent animation state set.
Definition: OgreAnimationState.h:134
void addListener(TextureGpuListener *listener)
RealStorageFormat
The storage format of Real values.
Definition: OgreStreamSerialiser.h:86
Matrix3()
Default constructor.
Definition: OgreMatrix3.h:75
@ ACT_INVERSE_WORLD_MATRIX
The current world matrix, inverted.
Definition: OgreGpuProgramParams.h:909
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create uniform buffer.
Definition: OgreGLES2DefaultHardwareBufferManager.h:173
GL3PlusTexBufferEmulatedPacked(size_t internalBufStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, GL3PlusBufferInterface *bufferInterface, PixelFormatGpu pf)
LwString & a(const M &a0, const N &a1, const O &a2, const P &a3, const Q &a4, const R &a5, const S &a6)
Definition: OgreLwString.h:396
bool getUseAlphaFromTextures(void) const
Definition: OgreHlmsPbsDatablock.h:599
static bool vertexElementLess(const VertexElement &e1, const VertexElement &e2)
Sort routine for vertex elements.
ConstVectorIterator< PoseRefList > ConstPoseRefIterator
Definition: OgreKeyFrame.h:236
Ogre::vector< ProfileInstance * >::type ProfileChildrenVec
Definition: OgreProfiler.h:310
void insertVertex(const Vector3 &vdata)
Inserts a vertex at the end of the polygon.
virtual void rotate(const Quaternion &q, TransformSpace relativeTo=TS_LOCAL)
Rotate the OldNode around an aritrary axis using a Quarternion.
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
Shared pointer implementation used to share counter buffers.
Definition: OgreHardwareCounterBuffer.h:68
static bool parseBool(const String &val, bool defaultValue=0, bool *error=NULL)
Converts a String to a boolean.
virtual ~ShaderProgramWriterCGFactory()
Definition: OgreShaderCGProgramWriter.h:124
virtual void bindGpuProgramParameters(GpuProgramType gptype, GpuProgramParametersSharedPtr params, uint16 variabilityMask)
Bind Gpu program parameters.
void reposition(int left, int top)
Reposition the window.
void getMinMaxDepthRange(const Frustum *shadowMapCamera, Real &outMin, Real &outMax) const
Outputs the min & max depth range for the given camera.
Mesh * mParent
Reference to parent Mesh (not a smart pointer so child does not keep parent alive).
Definition: OgreSubMesh2.h:100
SkeletonChunkID
Definition of the OGRE .skeleton file format.
Definition: OgreSkeletonFileFormat.h:55
virtual void upload(const void *data, size_t elementStart, size_t elementCount)
Sends the provided data to the GPU.
@ Position
Definition: OgreBoneArrayMemoryManager.h:58
MeshBuilderCallback * lodCallback
Callback for a specific LOD level.
Definition: OgreVolumeChunk.h:74
virtual bool isFrameFinished(uint32 frameCount)
If this returns true, then waitForSpecificFrameToFinish is guaranteed to return immediately.
virtual void finalTargetResized01(const TextureGpu *finalTarget)
Called by CompositorManager2 when (i.e.) the RenderWindow was resized, thus our RTs that depend on th...
bool removeRenderWindow(const String &renderWindowName) const
void getWorldTransforms(Matrix4 *xform) const
@ SlotTypeBuffer
Definition: OgreDescriptorSetTexture.h:136
Timer * getTimer(void)
Definition: OgreVaoManager.h:424
bool _getSwitchingFullscreen() const
Are we in the middle of switching between fullscreen and windowed.
static const IdString NumTextures
Definition: OgreHlmsPbs.h:459
Specialisation of HardwareVertexBuffer for emulation.
Definition: OgreGL3PlusDefaultHardwareBufferManager.h:43
void getWorldTransforms(Matrix4 *) const
Gets the world transform matrix / matrices for this renderable object.
RenderTargetViewEntry()
Definition: OgreTextureDefinition.h:67
virtual void addSceneNode(const SceneNode *node)
Adds all the Entity objects attached to a SceneNode and all it's children to the static geometry.
void baseVertexPointerToElement(void *pBase, unsigned char **pElem) const
Adjusts a pointer to the base of a vertex to point at this element.
Definition: OgreHardwareVertexBuffer.h:244
virtual void setCurrentStateAsBaseValue(void)=0
Sets the current state as the 'base' value; used for delta animation.
@ LML_CRITICAL
Definition: OgreLog.h:74
Vector3 primaryAxis() const
Extract the primary (dominant) axis from this direction vector.
Definition: OgreVector3.h:794
@ LML_TRIVIAL
Definition: OgreLog.h:72
Real getInverseViewportWidth() const
size_t mNumRays
Number of rays to trace.
Definition: OgreInstantRadiosity.h:141
@ CE_NUMBEREXPECTED
Definition: OgreScriptCompiler.h:210
void setSky(bool bEnabled, SkyMethod skyMethod, const String &texName, const String &resourceGroup)
void waitForDerivedProcesses()
virtual void triangle(uint32 i1, uint32 i2, uint32 i3)
Add a set of 3 vertex indices to construct a triangle; this is a shortcut to calling index() 3 times.
void doSet(void *target, const String &val)
static const uint16 TERRAINLAYERSAMPLERELEMENT_CHUNK_VERSION
Definition: OgreTerrain.h:287
virtual Real getMaxDuration(void) const
Gets the maximum duration of this emitter in seconds (see setDuration for more details)
virtual void initialise(void)=0
Initialise gui element.
virtual void addListener(Listener *l, const Ogre::String &schemeName=BLANKSTRING)
Add a listener to handle material events.
uint8 getBorderedIrradResolution() const
Returns mIrradianceResolution + 2u, since we need to reserverve 1 pixel border around the probe for p...
virtual const SharedParametersMap & getAvailableSharedParameters() const
Get (const) access to the available shared parameter sets.
virtual ~Texture()
Definition: OgreTexture.h:129
virtual void _renderEmulated(const CbDrawCallIndexed *cmd)=0
void _endFrame(void)
See RenderSystem.
static bool getIgnoreHidden()
Get whether hidden files are ignored during filesystem enumeration.
Definition: OgreFileSystem.h:118
virtual void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Overridden - see RenderTarget.
void setCompressedPixelFormat(PixelFormatGpu pixelFormat)
Definition: OgreTextureBox.h:83
@ ID_FLAT
Definition: OgreScriptCompiler.h:693
ushort positionOffset
Definition: OgreShaderExTextureAtlasSampler.h:229
static String FACTORY_TYPE_NAME
Definition: OgreRibbonTrail.h:237
void setGeometryProgramConstantBoolCount(ushort c)
The number of boolean constants geometry programs support.
Definition: OgreRenderSystemCapabilities.h:739
virtual ~GL3PlusRenderPassDescriptor()
void doSet(void *target, const String &val)
static void updateAllTransformsTagOnTag(const size_t numNodes, Transform t)
@See Node::updateAllTransforms.
RenderState * getRenderState(const String &schemeName)
Return a global render state associated with the given scheme name.
virtual String dataType() const
Returns the type of the data.
Definition: OgreImageCodec2.h:80
FrameStats(void)
Definition: OgreFrameStats.h:56
@ ACT_WORLD_SCALE_SHEAR_MATRIX_ARRAY_3x4
The scale and shear components of the current array of world matrices.
Definition: OgreGpuProgramParams.h:924
Real w
Definition: OgreQuaternion.h:320
@ ID_TARGET_HEIGHT_SCALED
Definition: OgreScriptCompiler.h:852
virtual void _applySceneAnimations(void)
Internal method for applying animations to scene nodes.
ResourcePtr getResourceByName(const String &name, bool preferHighLevelPrograms=true)
Overrides the standard ResourceManager getResourceByName method.
void setTimeFactor(Real tf)
Set the relative speed to update frame time based controllers.
ArrayReal distance(const ArrayVector3 &rhs) const
Returns the distance to another vector.
Definition: OgreScriptTranslator.h:280
SourceCodeVec sourceCode
See HlmsTypes.
Definition: OgreHlmsDiskCache.h:164
virtual ~EmscriptenEGLContext()
void setShadowCasterFragmentProgram(const String &name)
Sets the details of the fragment program to use when rendering as a shadow caster.
@ IT_32BIT
Definition: OgreHardwareIndexBuffer.h:53
void _setGeometryTexture(size_t unit, TextureGpu *tex)
virtual void bindToFramebuffer(uint32 attachment, size_t zoffset)
float getLightCount() const
PixelComponentType
Pixel component format.
Definition: OgrePixelFormat.h:393
bool isStillOutstanding(void)
Lets you know when query is done, or still be processed by the Hardware.
ID3D11Texture1D * GetTex1D()
Definition: OgreD3D11Texture.h:80
bool createDualGridVisualization
Whether to create the dualgrid debug visualization entity with false as default.
Definition: OgreVolumeChunk.h:68
void start()
Start anything special.
static const IdString NumThreadGroupsY
Definition: OgreHlmsCompute.h:200
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: OgrePixelBox.h:121
virtual void buildDiffList(uint16 level, const MemoryPoolVec &basePtrs, ArrayMemoryManager::PtrdiffVec &outDiffsList)
Called when the manager needs to grow it's memory pool to honour more node requests.
size_t getNumCompositorTextures(void) const
Gets the number of currently active compositor textures.
Definition: OgreSceneManager.h:1495
bool hasMinGLVersion(int major, int minor) const
@ CMPF_ALWAYS_PASS
Definition: OgreCommon.h:88
void setStoreParityInW(bool enabled)
Sets whether to store tangent space parity in the W of a 4-component tangent or not.
Definition: OgreTangentSpaceCalc.h:113
@ ANIMBLEND_AVERAGE
Animations are applied by calculating a weighted average of all animations.
Definition: OgreSkeleton.h:51
virtual size_t getMemoryUsage(void) const
Gets the current memory usage, in bytes.
Definition: OgreResourceManager.h:186
@ RSC_TEXTURE_COMPRESSION_BC4_BC5
Supports compressed textures in BC4 and BC5 format (DirectX feature level 10_0)
Definition: OgreRenderSystemCapabilities.h:154
StrideChanger()
Definition: OgreD3D11VaoManager.h:59
@ BLOCK_BLEND
Definition: OgreHlmsDatablock.h:47
void _clearShaderCache(void)
void clearAutoConstant(size_t index)
Unbind an auto constant so that the constant is manually controlled again.
void setShadowSettings(bool useExponentialShadowMaps)
virtual void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
virtual void unbind(RenderTarget *target)=0
Unbind a certain render target.
String filename
The file's fully qualified name.
Definition: OgreArchive.h:56
virtual void addBufferInput(size_t inputChannel, IdString name)
Buffers.
bool isAutoTransparent(void) const
Definition: OgreHlmsDatablock.h:205
void removeAllElements(void)
See VertexDeclaration.
Vector3 scale
Definition: OgreStaticGeometry.h:169
const PoseList & getPoseList(void) const
Get pose list.
Real getNumFrames(void) const
Definition: OgreSkeletonAnimationDef.h:97
SceneQueryResultWorldFragmentList worldFragments
List of world fragments.
Definition: OgreSceneQuery.h:209
Real lodValue
LOD value as determined by LOD strategy.
Definition: OgreLodListener.h:82
@ DerivedPosition
Definition: OgreArrayMemoryManager.h:310
MovableObjectFactoryIterator getMovableObjectFactoryIterator(void) const
Return an iterator over all the MovableObjectFactory instances currently registered.
Real reductionValue
The value, which depends on reductionMethod.
Definition: OgreLodConfig.h:100
ImageDownsamplerCube downscale2x_sRGB_X8_cube
Definition: OgreImageDownsampler.h:196
Real scale
The scale of the volume with 1.0 as default.
Definition: OgreVolumeChunk.h:77
float4()
Definition: OgreShaderPrimitives.h:75
@ ForceDisableDepthWrites
Definition: OgreHlmsPso.h:158
virtual bool hasCustomShadowMacroblock(void) const
virtual String getType() const
Returns the type of the codec as a String.
bool isExternal
Definition: OgreCompositorPassUavDef.h:60
TextureTypes::TextureTypes textureType
Definition: OgreTextureDefinition.h:100
virtual OGRE_DEPRECATED const Any & getUserAny(void) const
Definition: OgreNode.h:768
MeshSerializerImpl_v1_41()
virtual ~OverlayContainer()
Real y
Y coordinate of the position.
Definition: OgreVolumeMeshBuilder.h:48
static MeshManager * getSingletonPtr(void)
Override standard Singleton retrieval.
virtual void bakeManualLodLevel(LodData *data, String &manualMeshName, int lodIndex)
This class responsible for translating core features of the RT Shader System for Ogre material script...
Definition: OgreShaderMaterialSerializerListener.h:48
static ArrayQuaternion Cmov4(const ArrayQuaternion &arg1, const ArrayQuaternion &arg2, ArrayMaskR mask)
Conditional move.
static const IdString ThreadsPerGroupZ
Definition: OgreHlmsCompute.h:198
static PixelFormat _getPF(D3DFORMAT d3dPF)
utility method, convert D3D9 pixel format to Ogre pixel format
void dump(std::ofstream &of) const
Dump contents for diagnostics.
Real frequency
Definition: OgreTextureUnitState.h:144
void preFindVisibleObjects(SceneManager *source, SceneManager::IlluminationRenderStage irs, Viewport *v)
Overridden from SceneManager::Listener.
void _notifyViewport(Viewport *viewport)
Notifies this camera that a viewport is using it.
Definition: OgreCamera.h:598
~DefaultIntersectionSceneQuery()
@ RSC_SEPARATE_SHADER_OBJECTS
Support for Separate Shader Objects.
Definition: OgreRenderSystemCapabilities.h:267
virtual void setDefaultWidth(Real width)
See setDefaultDimensions - this sets 1 component individually.
@ BlinnPhong
Implements Normalized Blinn Phong using a normalization factor of (n + 8) / (8 * pi) The main reason ...
Definition: OgreHlmsPbsDatablock.h:89
static DWORD get(StencilOperation op, bool invert=false)
return a D3D9 equivalent for a Ogre StencilOperation value
void save(StreamSerialiser &stream)
Save this data to a stream.
Definition: OgreGLES2DepthTexture.h:37
virtual ~D3D11TextureGpuWindow()
@ TEXTURE_TYPE_DETAIL
Definition: OgreHlmsTextureManager.h:138
void setCurrentPass(const Pass *pass)
Sets the current pass.
size_t light
Definition: OgreCompositorShadowNodeDef.h:63
NodeAnimationTrack(Animation *parent, unsigned short handle)
Constructor.
PixelFormat suggestPixelFormat() const
Irrelevant implementation since cannot copy.
Definition: OgreRenderTexture.h:118
virtual const Quaternion & _getDerivedOrientation(void) const
Gets the orientation of the OldNode as derived from all parents.
AllocatedObject< GeneralAllocPolicy > GeneralAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:278
GL3PlusHardwareBufferManagerBase()
void destroyResourceGroup(const String &name)
Destroys a resource group, clearing it first, destroying the resources which are part of it,...
ushort getFragmentProgramConstantBoolCount(void) const
The number of boolean constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:696
virtual void _notifyParticleExpired(Particle *particle)
Optional callback notified when particle expired.
Definition: OgreParticleSystemRenderer.h:90
uint16 mTextureLightMaskIdx
Definition: OgreLight.h:624
HardwareBufferManagerBase * getManager() const
Return the manager of this buffer, if any.
Definition: OgreHardwareVertexBuffer.h:72
GL3PlusFBOMultiRenderTarget(GL3PlusFBOManager *manager, const String &name)
MovablePlane(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, const Vector3 &rkNormal, Real fConstant)
Construct a plane through a normal, and a distance to move the plane along the normal.
static NeighbourIndex getNeighbourIndex(long offsetx, long offsety)
Get the neighbour enum for a given offset in a grid (signed).
@ PFG_PVRTC_RGBA4_SRGB
Definition: OgrePixelFormatGpu.h:205
virtual void _setRenderOperation(const v1::CbRenderOp *cmd)
static CmdEnableIncludeHeader msEnableIncludeHeaderCmd
Definition: OgreHighLevelGpuProgram.h:74
CompositorShadowNodeDef(const String &name, CompositorManager2 *compositorManager)
Definition: OgreCompositorShadowNodeDef.h:144
size_t _getInternalBufferStart(void) const
Definition: OgreBufferPacked.h:314
NumericTrackIterator getNumericTrackIterator(void) const
Get non-updateable iterator over node tracks.
Definition: OgreAnimation.h:426
HighLevelGpuProgramPtr getByName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Get a resource by name.
uint32 mThreadsPerGroup[3]
XYZ.
Definition: OgreHlmsPso.h:303
bool hasTextureAliases(void) const
returns true if the sub mesh has texture aliases
Definition: OgreSubMesh.h:227
@ ID_TESSELLATION_HULL
Definition: OgreScriptCompiler.h:1034
ImageBlur2D separableBlur_sRGB_XA88
Definition: OgreImageDownsampler.h:211
virtual void lodUpdateImpl(const size_t numNodes, ObjectData t, const Camera *camera, Real bias) const
virtual const Vector3 & getPositionForViewUpdate(void) const
Get the derived position of this frustum.
vector< HardwareBuffer::Usage >::type BufferUsageList
Define a list of usage flags.
Definition: OgreVertexIndexData.h:46
@ VET_COLOUR_ARGB
D3D style compact colour.
Definition: OgreVertexElements.h:84
GLXWindow(const String &title, uint32 width, uint32 height, bool fullscreenMode, PixelFormatGpu depthStencilFormat, const NameValuePairList *miscParams, GLXGLSupport *glsupport)
Vector3 normal
Definition: OgreLodData.h:121
@ PASS_RESOLVE
Definition: OgreCompositorPassDef.h:58
virtual void setBillboardRotationType(BillboardRotationType rotationType)
Sets billboard rotation type.
Terrain automatic LOD loading.
Definition: OgreTerrainAutoUpdateLod.h:54
void setTextureAtlasTable(const String &textureName, const TextureAtlasTablePtr &atlasData, bool autoBorderAdjust=true)
Set the texture atlas information for a given texture.
void unlock(void)
Releases the lock on this buffer.
@ TEX_TYPE_3D
3D volume texture, used in combination with 3D texture coordinates
Definition: OgreTexture.h:95
bool isPaused(void) const
Returns true if sampling is paused.
FileStreamDataStream(std::fstream *s, bool freeOnClose=true)
Construct a read-write stream from an STL stream.
Definition: OgreX11EGLContext.h:39
void setFresnel(const Vector3 &fresnel, bool separateFresnel)
Sets the fresnel (F0) directly, instead of using the IOR.
CodePoint codePoint
Definition: OgreFont.h:143
void load(bool backgroundThread=false)
Loads the resource, if it is not already.
virtual void _bindBufferDirectly(size_t offset, size_t sizeBytes)
To be overriden only by GL3+.
unsigned char uint8
Definition: OgrePlatform.h:456
uint32 getUnfencedTimeThreshold(void) const
Returns the time in milliseconds in which a StagingBuffer should hazards unfenced while with a refere...
Definition: OgreStagingBuffer.h:299
void yaw(const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around the Y-axis.
virtual void _hlmsSamplerblockCreated(HlmsSamplerblock *newBlock)
ConstBufferPacked * getConstBufferForManualProbes(void)
Definition: OgreCubemapProbe.h:240
Real getSquaredDepth(const MovableObject *movableObject, const Ogre::Camera *camera) const
Definition: OgreTextureDefinition.h:508
static const uint16 SUBCLASS_CHUNK_VERSION
Definition: OgreSimplePageContentCollection.h:71
virtual uint32 fillBuffersFor(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, uint32 lastTextureHash)
Fills the constant buffers.
void _setProjectionMatrix(const Matrix4 &m)
See RenderSystem.
float getAvgTime(void) const
Definition: OgreFrameStats.h:72
A StagingTexture is an intermediate texture that can be read and be written from both CPU & GPU.
Definition: OgreStagingTexture.h:83
TextureGpu * getDecalsDiffuse(void) const
Definition: OgreSceneManager.h:1299
const AxisAlignedBox & getBoundingBox(void) const
Overridden from MovableObject.
Definition: OgreMovablePlane.h:77
ushort getFragmentProgramConstantIntCount(void) const
The number of integer constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:691
LodOutputProviderMesh(v1::MeshPtr mesh)
Definition: OgreLodOutputProviderMesh.h:44
const MicroCode & getMicroCode(void) const
Controller< Real > * createTextureVScroller(TextureUnitState *layer, Real vSpeed)
Creates a basic time-based texture v coordinate modifier designed for creating scrolling textures.
CSGNegateSource(const Source *src)
Constructor.
String doGet(const void *target) const
virtual const Vector3 & getCommonUpVector(void) const
Gets the common up-vector for all billboards (BBT_PERPENDICULAR_SELF and BBT_PERPENDICULAR_COMMON)
bool isSubdivided(void) const
Gets whether this cell has any children.
Definition: OgreVolumeOctreeNode.h:175
StringVectorPtr listResourceNames(const String &groupName, bool dirs=false)
List all file or directory names in a resource group.
Definition: OgreMetalStagingTexture.h:42
unsigned int vertexID[3]
ID of the submesh. Usable with mMesh.getSubMesh() function.
Definition: OgreLodData.h:124
bool operator!=(const Degree &d) const
Definition: OgreMath.h:129
virtual void setAdjacencyInfoRequired(bool r)
Sets whether this geometry program requires adjacency information from the input primitives.
Definition: OgreGpuProgram.h:381
static void _populateIndexBuffer(uint16 *pIndexes, uint16 batchSize, uint16 vdatasize, size_t vertexIncrement, uint16 xoffset, uint16 yoffset, uint16 numSkirtRowsCols, uint16 skirtRowColSkip)
Utility method to populate a (locked) index buffer.
static String eventType
Definition: OgreScriptCompiler.h:504
@ BBT_POINT
Standard point billboard (default), always faces the camera completely and is always upright.
Definition: OgreBillboardSet.h:80
bool getUseIdentityView(void) const
Returns whether or not to use an 'identity' view.
Definition: OgreRenderable.h:227
StdMultiMap< Vector3, Vector3 > EdgeMap
Definition: OgrePolygon.h:60
virtual void _restoreManualHardwareResources()
Notifies that hardware resources should be restored.
Definition: OgreOverlayElement.h:206
virtual ~ScriptLexer()
Definition: OgreScriptLexer.h:85
Real lastCFactor
The cFactor value used to calculate transitionDist.
Definition: OgreTerrainQuadTreeNode.h:146
bool isBool() const
Definition: OgreGpuProgramParams.h:268
@ MEMCATEGORY_SCENE_CONTROL
Nodes, control data.
Definition: OgreMemoryAllocatorConfig.h:168
uint16 mNumIterations
Number of iterations.
Definition: OgreCubemapProbe.h:91
virtual void setUseShortestRotationPath(bool useShortestPath)
Sets the method of rotation calculation.
static const IdString OutUvCount
Definition: OgreUnlitProperty.h:128
@ PF_R16_SINT
16-bit pixel format, 16 bits red (signed int).
Definition: OgrePixelFormat.h:192
void setIrradianceField(IrradianceField *irradianceField)
Definition: OgreHlmsPbs.h:397
unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
virtual void _setVisible(bool visible)
Internal method to notify the window it has been obscured or minimized.
static const IdString UvDetail3
Definition: OgreHlmsPbs.h:516
D3D11Driver * item(const String &name)
bool cas(const T &old, const T &nu)
Definition: OgreAtomicObject.h:75
String fsaa
"1" = Disable.
Definition: OgreTextureDefinition.h:112
void doSet(void *target, const String &val)
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...
Singleton Class which handles the registering and control of texture plugins.
Definition: OgreExternalTextureSourceManager.h:56
@ ID_SET_TEXTURE_ALIAS
Definition: OgreScriptCompiler.h:631
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:152
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:360
@ M_GEOMETRY_COLOURS
Definition: OgreMeshFileFormat.h:367
@ NumVertexPass
Definition: OgreCommon.h:69
virtual void bindBufferVS(uint16 slot)
Binds the constant buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
Definition: OgreNULLConstBufferPacked.h:47
IndexBufferPointer buf
Definition: OgreLodData.h:142
void _deinitialize(bool debugCheckLifoOrder=true)
~MeshSerializerImpl_v1_3()
map< unsigned short, VertexAnimationTrack * >::type VertexTrackList
Definition: OgreAnimation.h:406
const TexturePtr & getCompositeMap() const
Get access to the composite map, if enabled (as requested by the material generator)
Definition: OgreTerrain.h:1098
@ SHADOW_NODE_RECALCULATE
Forces recalculation of the shadow node for this pass.
Definition: OgreCompositorPassSceneDef.h:54
void _createInternalResources(NativeWindowType window, AConfiguration *config)
float getWorldRadius() const
Gets the bounding Radius scaled by max( scale.x, scale.y, scale.z ).
size_t offsetAfterPadding
Definition: OgreGLES2VaoManager.h:59
virtual void preExtraThreadsStarted()
Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might...
virtual RenderTexture * getRenderTarget(size_t zoffset)
Get rendertarget for z slice.
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)
void setPreprocessorDefines(const String &defines)
Sets the preprocessor defines use to compile the program.
Definition: OgreD3D11HLSLProgram.h:319
const GpuLogicalBufferStructPtr & getUnsignedIntLogicalBufferStruct() const
Get the current list of mappings from low-level logical param indexes to physical buffer locations in...
Definition: OgreGpuProgramParams.h:1853
GpuLogicalIndexUse()
Definition: OgreGpuProgramParams.h:574
virtual void stopMapRegion(void)
Must be called from main thread when the StagingBuffer is released.
unsigned int getHits()
Definition: OgreVertexIndexData.h:348
Definition: OgreMesh2Serializer.h:202
static Real DegreesToRadians(Real degrees)
Definition: OgreMath.h:483
bool operator==(STLAllocator< T, P > const &, STLAllocator< T2, P > const &)
determine equality, can memory from another allocator be released by this allocator,...
Definition: OgreMemorySTLAllocator.h:189
static const String & getDirectionalLightExtruderVs_glslFiniteDebug(void)
Get FINITE extruder program source for debug directional lights, compatible with glsl.
Definition: OgreShadowVolumeExtrudeProgram.h:318
void installPlugin(Plugin *plugin)
Install a new plugin.
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
void addRenderSystem(RenderSystem *newRend)
Adds a new rendering subsystem to the list of available renderers.
@ Type3D
Definition: OgreTextureGpu.h:62
const GpuProgramPtr & getFragmentProgram(void) const
Gets the fragment program used by this pass, only available after _load().
static LodStrategyManager & getSingleton(void)
Override standard Singleton retrieval.
TexturePtr reservePoolId(uint32 uniqueSpecialId, TextureMapType mapType, uint32 width, uint32 height, uint16 numSlices, uint8 numMipmaps, PixelFormat pixelFormat, bool isNormalMap, bool hwGammaCorrection)
Reserves a specific pool ID with the given parameters and immediately creates that texture.
virtual ResourcePtr create(const String &name, const String &group, GpuProgramType gptype, const String &syntaxCode, bool isManual=false, ManualResourceLoader *loader=0)
General create method, using specific create parameters instead of name / value pairs.
const DescriptorSetTexture * descSet
Definition: OgreCbTexture.h:49
Real nY
Y component of the normal.
Definition: OgreVolumeMeshBuilder.h:57
const KeyFrameRigVec & getKeyFrames(void) const
Definition: OgreSkeletonTrack.h:98
DelayedDownload()
Definition: OgreAsyncTextureTicket.h:70
vector< ParameterPtr >::type ShaderParameterList
Definition: OgreShaderPrerequisites.h:76
@ GPT_FRAGMENT_PROGRAM
Definition: OgreGpuProgram.h:51
Definition: OgreCompositorPassUavDef.h:54
void exportMesh(const Mesh *pMesh, DataStreamPtr stream, Endian endianMode=ENDIAN_NATIVE)
Exports a mesh to the file specified.
#define OGRE_EXCEPT(code, desc, src)
Definition: OgreException.h:302
SmallVector - This is a 'vector' (really, a variable-sized array), optimized for the case when the ar...
Definition: OgreMain/include/OgreSmallVector.h:717
uint4()
Definition: OgreShaderPrimitives.h:81
static ParameterPtr GetSamplerWrapperParam(UniformParameterPtr sampler, Function *function)
@ ID_POLYGON_MODE
Definition: OgreScriptCompiler.h:696
static const Vector3 UNIT_X
Definition: OgreVector3.h:815
void notifyAllListenersTextureChanged(uint32 reason, void *extraData=0)
void addLayer(Real worldSize=0, const StringVector *textureNames=0)
Add a new layer to this terrain.
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.
void unlockMultipleElements(ReadRequestsArray &requests)
void unload(uint16 depthStart, uint16 depthEnd)
Unload node and children in a depth range (perform GPU tasks, will be render thread)
Real volume(void) const
Calculate the volume of this box.
void _setMsaaBackbuffer(id< MTLTexture > msaaTex)
uint32 height
Definition: OgreImageCodec.h:61
virtual void createInternalResourcesImpl(void)
uint32 height
Definition: OgreTextureDefinition.h:102
void setFogProperties(FogMode fogMode, const ColourValue &fogColour, float fogStart, float fogEnd, float fogDensity)
Set the fog properties this fog sub render state should emulate.
static const IdString HwGammaWrite
Definition: OgreHlmsPbsMobile.h:103
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 read(AxisAlignedBox *aabb, size_t count=1)
virtual MovableObject * createMovableObject(const String &typeName, ObjectMemoryManager *objectMemMgr, const NameValuePairList *params=0)
Create a movable object of the type specified without a name.
size_t mVertexCount
Definition: OgreRenderSystem.h:120
virtual void initConfigOptions()
bool destroyRequested
Definition: OgreTextureGpuManager.h:270
bool isCsaaQuality(void) const
Returns true if this is CSAA in quality mode.
const String & getName() const
Get the name of the work queue.
ArrayMatrix4(const ArrayMatrix4 ©)
Definition: C/OgreArrayMatrix4.h:75
void setEnabled(bool enabled)
Sets whether this profiler is enabled.
ArrayReal intersects(const ArraySphere &s) const
Returns whether or not this sphere intersects another sphere.
Real getMaxClampedAbsoluteDensity(void) const
Gets the maximum absolute density value to be written into the data when combining,...
virtual void resetClipPlanes()
Clears the user clipping region.
virtual_l1 void setOrientation(Quaternion q)
Sets the orientation of this node via a quaternion.
@ WFT_PWM
Pulse Width Modulation.
Definition: OgreCommon.h:287
VertexElementSemantic semantic
Definition: OgreVertexBufferDownloadHelper.h:45
ResourceBackgroundQueue()
virtual void _update(bool updateChildren, bool parentHasChanged)
Internal method to update the OldNode.
Resource holding data about 3D mesh.
Definition: OgreMesh2.h:89
HardwareCounterBufferSharedPtr()
Definition: OgreHardwareCounterBuffer.h:70
Real getSplitPadding() const
Get the padding factor to apply to the near & far distances when matching up splits to one another,...
Definition: OgreShadowCameraSetupPSSM.h:116
void setTessellationHullProgramParameters(GpuProgramParametersSharedPtr params)
Sets the Tessellation Hull program parameters.
void _setPrePassMode(PrePassMode mode, const TextureGpuVec &prepassTextures, TextureGpu *prepassDepthTexture, TextureGpu *ssrTexture)
For internal use.
Struct containing information about a RenderTarget event.
Definition: OgreRenderTargetListener.h:45
unsigned short getLightCountPerIteration(void) const
If light iteration is enabled, determine the number of lights per iteration.
virtual void concatenateAffineMatrices(const Matrix4 &baseMatrix, const Matrix4 *srcMatrices, Matrix4 *dstMatrices, size_t numMatrices)=0
Concatenate an affine matrix to an array of affine matrices.
size_t getBytesPerRow(void) const
Specialisation of DataStream to handle streaming data from zip archives.
Definition: OgreZip.h:167
RadixSort()
Definition: OgreRadixSort.h:237
@ PFG_ASTC_RGBA_UNORM_10X10_sRGB
Definition: OgrePixelFormatGpu.h:263
static uint32 getDefaultVisibilityFlags()
Get the default visibility flags for all future MovableObject instances.
Definition: OgreMovableObject.h:526
const String & getMovableType(void) const
Returns the type name of this object.
@ PBSM_DETAIL3
Definition: OgreHlmsPbsPrerequisites.h:66
@ ACT_PROJECTION_MATRIX
The current projection matrix.
Definition: OgreGpuProgramParams.h:941
DualQuaternion(Real *valptr)
Construct a dual quaternion from 8 manual w/x/y/z/dw/dx/dy/dz values.
Definition: OgreDualQuaternion.h:76
vector< CompositorPassDef * >::type CompositorPassDefVec
Definition: OgreCompositorPassDef.h:249
bool has_value() const
Definition: OgreAny.h:105
AnimableValue(ValueType t)
Definition: OgreAnimable.h:141
virtual void enableReflection(const Plane &p)
Modifies this frustum so it always renders from the reflection of itself through the plane specified.
When thrown, provides information about an error that has occurred inside the engine.
Definition: OgreException.h:91
@ SOP_INVERT
Invert the bits of the stencil buffer.
Definition: OgreCommon.h:116
virtual ~SharedPtrInfoDeleteT()
Definition: OgreSharedPtr.h:90
void scale(const Vector3 &s)
Scales the AABB by the vector given.
Definition: OgreAxisAlignedBox.h:629
bool mDeleteDclBinding
Whether this class should delete the declaration and binding.
Definition: OgreVertexIndexData.h:87
virtual void _makeRsProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest, Real nearPlane, Real farPlane, ProjectionType projectionType)
Takes a regular source projection matrix in range [-1; 1] and converts it to a projection matrix in '...
Vector4 getTextureSize(size_t index) const
virtual void preCommandBufferExecution(CommandBuffer *commandBuffer)
This gets called right before executing the command buffer.
FileInfoListPtr listFileInfo(bool recursive=true, bool dirs=false)
List all files in the archive with accompanying information.
String skeletonName
Definition: OgreSkeleton.h:468
NameValuePairList miscParams
Definition: OgreRenderSystem.h:83
virtual void prepareResource(Resource *resource)
Called when a resource wishes to load.
Definition: OgreResource.h:529
virtual ~OITDCodec()
Definition: OgreOITDCodec.h:70
CameraIterator getCameraIterator(void)
Returns a specialised MapIterator over all cameras in the scene.
Definition: OgreSceneManager.h:2275
virtual void _positionsOutOfDate(void)
Tell the object to recalculate.
static const IdString BlendModeIndex0
Definition: OgreHlmsPbsMobile.h:156
virtual const String & getType()
Get the type name of this section.
std::ptrdiff_t difference_type
Definition: OgreMemorySTLAllocator.h:92
virtual unsigned short _getActiveSchemeIndex(void) const
Internal method - returns the active scheme index.
static UINT getResourceCreationDeviceCount()
@ PFG_BC4_SNORM
Two channels compressed 8bpp. Ideal for normal maps or greyscale + alpha.
Definition: OgrePixelFormatGpu.h:137
EGLBoolean getGLConfigAttrib(EGLConfig fbConfig, EGLint attribute, EGLint *value)
static const uint32 CHUNK_CONTENTCOLLECTION_DECLARATION_ID
Definition: OgrePage.h:101
LightTypes getType(void) const
Returns the light type.
Definition: OgreLight.h:122
BufferSlot & getBuffer(void)
Definition: OgreDescriptorSetUav.h:181
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.
virtual bool removeRenderWindow(const String &renderWindowName)
const String & getName(void) const
Return the instance name of this SceneManager.
Definition: OgreSceneManager.h:991
void ToAxes(Vector3 &xAxis, Vector3 &yAxis, Vector3 &zAxis) const
void removeTechnique(unsigned short index)
Removes the technique at the given index.
Definition: OgreGL3PlusMappings.h:41
virtual ~D3D9StereoDriverBridge()
void fromQuaternion(const ArrayQuaternion &q)
Converts the given quaternion to a 3x3 matrix representation and fill our values.
void dirtyLightmapRect(const Rect &rect)
Mark a region of the lightmap as dirty.
map< FrameBufferDescKey, D3D11FrameBufferDescValue >::type D3D11FrameBufferDescMap
Definition: OgreD3D11RenderPassDescriptor.h:54
ShadowMapTechniques
Definition: OgreCompositorShadowNodeDef.h:48
void migrateToAndAttach(Transform &inOutTransform, size_t depth, NodeMemoryManager *dstNodeMemoryManager)
It's the same as calling: this->nodeAttached( transform, depth ); this->migrateTo( transform,...
void destroyVertexBuffers(VertexBufferPackedVec &inOutVertexBuffers)
Destroys all the buffers returned from a call to createVertexBuffers.
static void cullLights(const size_t numNodes, ObjectData t, uint32 sceneLightMask, LightListInfo &outGlobalLightList, const FrustumVec &frustums, const FrustumVec &cubemapFrustums)
@See SceneManager::cullLights &
@ ID_POINT_SPRITES
Definition: OgreScriptCompiler.h:720
virtual void detachDepthBuffer()
Terrain(SceneManager *sm)
Constructor.
virtual void saveTextures(const String &folderPath, set< String >::type &savedTextures, bool saveOitd, bool saveOriginal, HlmsTextureExportListener *listener)
Entity * clone(void) const
Clones this entity and returns a pointer to the clone.
ManualObject(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager)
@ ID_RESOLVE
Definition: OgreScriptCompiler.h:832
uint8 getNumColourEntries(void) const
Definition: OgreRenderPassDescriptor.h:226
virtual ~GLES2DefaultHardwareVertexBuffer()
Real worldSize
The world size of the texture to be applied in this layer.
Definition: OgreTerrain.h:304
virtual ~HLSLProgramProcessor()
Class destructor.
virtual void getMetrics(unsigned int &width, unsigned int &height, unsigned int &colourDepth)
Retrieve information about the render target.
SceneNode * _getRootSceneNode() const
Get the root scene node for the terrain (internal use only)
void removePass(unsigned short index)
Removes the Pass with the given index.
@ PFF_HASALPHA
This format has an alpha channel.
Definition: OgrePixelFormat.h:371
virtual TextureGpu * findTmpRtt(const TextureGpu *baseParams)
See mTmpRtt.
void swapBuffers()
Swaps the frame buffers to display the next frame.
VertexElementType
Vertex element type, used to identify the base types of the vertex contents Note that all attributes ...
Definition: OgreVertexElements.h:71
virtual 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 ...
virtual bool frameEnded(const FrameEvent &evt)
Called just after a frame has been rendered.
Definition: OgreFrameListener.h:127
void setBlendblock(const HlmsBlendblock &blendblock)
Sets the blendblock every pass has with the existing contents of the scene.
Class for providing backwards-compatibility for loading version 1.8 of the .mesh format.
Definition: OgreMeshSerializerImpl.h:215
virtual void setFsaaResolveDirty(void)
Null buffers never resolve; only colour buffers do.
Definition: OgreMetalNullTexture.h:114
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
FrameBufferType
Defines the frame buffer types.
Definition: OgreCommon.h:321
void doSet(void *target, const String &val)
Real getHollowRectRadius(void) const
Definition: OgreRectangle2D2.h:97
DataStreamPtr encode(MemoryDataStreamPtr &input, CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
void checkWarnIfRtvWasFlushed(uint32 entriesToFlush)
uint32 sampleMask
Definition: OgreHlmsPso.h:202
virtual ~CompositorPassDef()
InstanceManagerFlags
Flags for the Instance Manager when calculating ideal number of instances per batch.
Definition: OgreCommon.h:354
@ CMPF_GREATER
Definition: OgreCommon.h:94
void split(const OctreeNodeSplitPolicy *splitPolicy, const Source *src, const Real geometricError)
Splits this cell if the split policy says so.
uint32 getNumBlocksZ(void) const
Definition: OgreIrradianceVolume.h:122
virtual void execute(RaySceneQueryListener *listener)
See RayScenQuery.
virtual void useCustomRenderSystemCapabilities(RenderSystemCapabilities *capabilities)
Force the render system to use the special capabilities.
@ MEMCATEGORY_SCRIPTING
Scripting.
Definition: OgreMemoryAllocatorConfig.h:174
bool get32BitIndices() const
Get whether we need 32-bit indices.
Definition: OgreManualObject.h:441
@ ACT_SHADOW_SCENE_DEPTH_RANGE
Provides information about the depth range of the scene as viewed from a given shadow camera.
Definition: OgreGpuProgramParams.h:1321
uint32 getNumSlices(void) const
Definition: OgreForwardClustered.h:130
Implementation of CompositorPass This implementation will generate mipmaps for the specified texture.
Definition: OgreCompositorPassMipmap.h:54
void setTrackingVoxel(TextureGpu *opacityTex, TextureGpu *texture, bool anyColour)
MapRange(T &c)
Constructor.
Definition: OgreIteratorRange.h:252
bool operator==(IdString idString) const
Definition: OgreIdString.h:236
static const IdString UvAtlas
Definition: OgreHlmsPbsMobile.h:115
ushort getGeometryProgramConstantBoolCount(void) const
The number of boolean constants geometry programs support.
Definition: OgreRenderSystemCapabilities.h:681
ColourValue clearColour
Definition: OgreRenderPassDescriptor.h:138
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
SkeletonAnimation(const SkeletonAnimationDef *definition, const FastArray< size_t > *slotStarts, SkeletonInstance *owner)
void setColourOpMultipassFallback(const SceneBlendFactor sourceFactor, const SceneBlendFactor destFactor)
Sets the multipass fallback operation for this layer, if you used TextureUnitState::setColourOperatio...
virtual void getShadowCamera(const SceneManager *sm, const Camera *cam, const Light *light, Camera *texCam, size_t iteration, const Vector2 &viewportRealSize) const
Returns a uniform shadow camera with a focused view.
void removeCustomParameter(size_t index)
Removes a custom value which is associated with this Renderable at the given index.
Definition: OgreRenderable.h:267
@ M_GEOMETRY_VERTEX_BUFFER
Definition: OgreMeshFileFormat.h:221
void _setSubMeshLodFaceList(unsigned short subIdx, unsigned short level, IndexData *facedata, bool casterPass)
Internal methods for loading LOD, do not use.
void bind(void)
Bind a VAO.
virtual void bindBufferVS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Binds the texture buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
Create a multi render target.
@ RSC_USER_CLIP_PLANES
Supports user clipping planes.
Definition: OgreRenderSystemCapabilities.h:113
virtual void _autogenerateMipmaps(void)
Tells the API to let the HW autogenerate mipmaps.
Definition: OgreD3D11DepthTexture.h:70
uint32 code
Definition: OgreScriptCompiler.h:202
virtual void destroyItem(Item *item)
Removes & destroys an Item from the SceneManager.
virtual void _setProjectionMatrix(const Matrix4 &m)
Sets the projection transform matrix.
void setMaximumResolutions(ushort res2d, ushort res3d, ushort resCube)
Maximum resolution (width or height)
Definition: OgreRenderSystemCapabilities.h:759
@ ID_BLEND_MANUAL
Definition: OgreScriptCompiler.h:770
size_t getFloatLogicalIndexForPhysicalIndex(size_t physicalIndex)
Retrieves the logical index relating to a physical index in the float buffer, for programs which supp...
bool isAutomatic
Definition: OgreShaderParams.h:80
~ChunkTreeSharedData(void)
Destructor.
Definition: OgreVolumeChunk.h:132
static Root * getSingletonPtr(void)
Override standard Singleton retrieval.
ResourceLoadingListener * getLoadingListener()
Returns the current loading listener.
Specialisation of HardwareCounterBuffer for emulation.
Definition: OgreDefaultHardwareBufferManager.h:127
virtual bool setDrawBuffer(ColourBufferType colourBuffer)
virtual void setUseShortestRotationPath(bool useShortestPath)
Sets the method of rotation calculation.
void bind()
Bind FrameBufferObject.
T & operator[](size_t idx)
Definition: OgreFastArray.h:330
void swapBuffers()
Swaps the frame buffers to display the next frame.
void addKeyFrame(Real timestamp, Real frameRate)
virtual Real getBaseValue() const
Get the value of the first (highest) level of detail.
void endBillboards(void)
Finish defining billboards.
APKZipArchiveFactory(AAssetManager *assetMgr)
Definition: OgreAPKZipArchive.h:43
Vector2 reflect(const Vector2 &normal) const
Calculates a reflection vector to the plane with the given normal .
Definition: OgreVector2.h:540
Definition: OgreScriptTranslator.h:264
virtual void postRender(SceneManager *sm, RenderSystem *rsys)
Called immediately after the Renderable has been rendered.
Definition: OgreRenderable.h:118
virtual void scale(Real x, Real y, Real z)
Scales the OldNode, combining it's current scale with the passed in scaling factor.
unsigned short getHandle(void) const
Gets the numeric handle for this bone (unique within the skeleton).
void lock(HardwareBuffer *p, size_t offset, size_t length, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:392
~AnimationStateControllerValue()
Destructor (parent already virtual)
Definition: OgreAnimationState.h:288
virtual ~D3D11AmdExtension()
virtual const PixelFormatToShaderType * getPixelFormatToShaderType(void) const
const String & getTextureNameAlias(void) const
Gets the Texture Name Alias of the Texture Unit.
Definition: OgreTextureUnitState.h:1041
virtual void notifyRenderSingleObject(Renderable *rend, const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList, bool suppressRenderStateChanges)=0
Event raised when render single object started.
virtual void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera, list< Particle * >::type ¤tParticles, bool cullIndividually, RenderableArray &outRenderables)=0
Delegated to by ParticleSystem::_updateRenderQueue.
ArrayRay(const ArrayVector3 &origin, const ArrayVector3 &direction)
Definition: OgreArrayRay.h:43
bool canHandleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
virtual_l1 void _detachBone(SkeletonInstance *skeletonInstance, Bone *bone)
Detaches a bone from this SceneNode.
static const Vector2 ZERO
Definition: OgreVector2.h:584
uint8 mLastRq
Definition: OgreSceneQuery.h:128
IndexType getIndexType(void) const
Definition: OgreIndexBufferPacked.h:56
ImageDownsamplerCube downscale2x_sRGB_XX88_cube
Definition: OgreImageDownsampler.h:195
void _setUavTexture(uint8 slotIdx, const DescriptorSetUav::TextureSlot &texSlot)
Sets an UAV texture.
A class that represents a function operand (its the combination of a parameter the in/out semantic an...
Definition: OgreShaderFunctionAtom.h:79
@ RSC_PERSTAGECONSTANT
Is DirectX feature "per stage constants" supported.
Definition: OgreRenderSystemCapabilities.h:234
MapIterator< OverlayMap > OverlayMapIterator
Definition: OgreOverlayManager.h:135
void setBoundsPaddingFactor(Real paddingFactor)
Sets the factor by which the bounding box of an entity is padded.
virtual void _hlmsComputePipelineStateObjectDestroyed(HlmsComputePso *newPso)
virtual VertexElementType getColourVertexElementType(void) const =0
Get the native VertexElementType for a compact 32-bit colour value for this rendersystem.
bool startWith(const String &stringCompare) const
Definition: OgreHlmsCommon.h:127
Specialisation of VertexDeclaration for D3D9.
Definition: OgreD3D9VertexDeclaration.h:39
void createPasses(void)
Creates all passes based on our definition.
void _destroyOldNodeTracks(const TrackHandleList &tracks)
Internal method for destroy given node tracks.
bool requiresTextureFlipping() const
Definition: OgreD3D11RenderWindow.h:70
const ColourValue & getFogColour(void) const
virtual void _notifyAttached(PageContentCollection *parent)
Internal method to notify a page that it is attached.
Animation * clone(const String &newName) const
Clone this animation.
OctreeNodeSplitPolicy(const Source *src, const Real maxCellSize)
Constructur.
ImageDownsampler2D downscale2x_XA88
Definition: OgreImageDownsampler.h:62
size_t getNumOutputChannels(void) const
Returns the number of output channels.
Definition: OgreCompositorNodeDef.h:176
@ RADIAN
Definition: OgreAnimable.h:88
@ All
Full write barrier.
Definition: OgreResourceTransition.h:76
HardwareBufferManagerBase * getManager() const
Return the manager of this buffer, if any.
Definition: OgreHardwareCounterBuffer.h:60
FailBehavior(* Handler)(const char *condition, const char *msg, const char *file, int line)
Definition: OgreAssert.h:49
const String & getName()
Get the name of this shared parameter set.
Definition: OgreGpuProgramParams.h:671
Real phase
Definition: OgreTextureUnitState.h:145
const Vector3 * _getCachedWorldSpaceCorners(void) const
Definition: OgreFrustum.h:467
void setTexture(PbsTextureTypes texUnit, const String &name, const HlmsSamplerblock *refParams=0)
Vector3 getSpecular(void) const
GLXFBConfig getFBConfigFromVisualID(VisualID visualid)
Gets a GLXFBConfig compatible with a VisualID.
void connectBufferTo(size_t outChannelA, CompositorNode *nodeB, size_t inChannelB)
Connects this node (let's call it node 'A') to node 'B', mapping the output channel from A into the i...
bool getKeepDeclarationOrder() const
Gets whether or not the declaration order is to be kept or not.
Definition: OgreManualObject.h:401
void unbindSurface(size_t attachment)
Unbind attachment.
void _markBuffersUnusedForAnimation(void)
Mark all vertex data as so far unanimated.
TexCoordModifierControllerValue(TextureUnitState *t, bool translateU=false, bool translateV=false, bool scaleU=false, bool scaleV=false, bool rotate=false)
Constructor.
Injects the output of a request to the mesh in a thread safe way.
Definition: OgreLodWorkQueueInjector.h:45
const Real * ptr() const
Pointer accessor for direct copying.
Definition: OgreVector4.h:144
bool autoBorderAdjust
Definition: OgreShaderExTextureAtlasSampler.h:230
void define(const AxisAlignedBox &aab)
Build a new polygon representation from an AAB.
bool isRenderedRq(size_t rqId) const
Returns true if the asked render queue has been rendered. False otherwise.
Definition: OgreCamera.h:743
void * getProcAddress(const char *procname) const
Get the address of a function.
StencilStateOp stencilFront
Definition: OgreCommon.h:160
static void setDefaultStringLocale(const String &loc)
Definition: OgreStringConverter.h:290
LodOutputProviderPtr output
Definition: OgreLodWorkQueueRequest.h:47
XRRScreenConfiguration * XRRGetScreenInfo(Display *nativeDisplayType, Window window)
void advanceFrustumPack()
Advances all pointers needed by MovableObject::cullFrustum to the next pack, i.e.
Definition: OgreObjectData.h:194
static bool isUseLocale()
Definition: OgreStringConverter.h:300
static ArrayInt CmovRobust(ArrayInt arg1, ArrayInt arg2, ArrayMaskI mask)
Definition: OgreMathlibC.h:138
void bindGpuProgram(GpuProgram *prg)
See RenderSystem.
String doGet(const void *target) const
Radian(Real r=0)
Definition: OgreMath.h:54
virtual Animation * getAnimation(const String &name) const
Returns the named Animation object.
virtual void _setUavCS(uint32 slotStart, const DescriptorSetUav *set)=0
void setInitialized()
Definition: OgreGLES2Context.h:59
void update(Viewport *viewports)
Definition: OgreAsyncTextureTicket.h:63
@ CE_INVALIDPARAMETERS
Definition: OgreScriptCompiler.h:216
void addRenderable(const TrackedRenderable &trackedRenderable)
Once you add a Renderable, we will automatically update its PBS material to use reflection if it's cl...
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
String mProfilingId
Definition: OgreCompositorPassDef.h:207
uint32 getDefaultStagingBufferLifetime(void) const
Definition: OgreVaoManager.h:477
PagedWorldSection * createSection(SceneManager *sceneMgr, const String &typeName, const String §ionName=BLANKSTRING)
Create a new section of the world based on a specialised type.
Radian & operator/=(Real f)
Definition: OgreMath.h:78
@ PROP_LONG
Definition: OgreProperty.h:110
@ BB_FLAG_TEX
Definition: OgreBufferPacked.h:98
Specialised KeyFrame which stores any numeric value.
Definition: OgreKeyFrame.h:83
@ PCT_FLOAT16
Short per component (16 bit fixed 0.0..1.0))
Definition: OgrePixelFormat.h:396
Definition: OgreGL3PlusHardwareIndexBuffer.h:38
void mergeAdjacentTexcoords(unsigned short finalTexCoordSet, unsigned short texCoordSetToDestroy)
This method collapses two texcoords into one for all submeshes where this is possible.
void doSet(void *target, const String &val)
void SingularValueDecomposition(Matrix3 &rkL, Vector3 &rkS, Matrix3 &rkR) const
Singular value decomposition.
void setUseIdentityProjection(bool useIdentityProjection)
Sets whether or not to use an 'identity' projection.
unsigned long long int getNext() const
Get the internal counter.
Definition: OgreNameGenerator.h:92
void ToAngleAxis(Vector3 &rkAxis, Degree &rfAngle) const
Definition: OgreMatrix3.h:203
LODFaceList mLodFaceList[NumVertexPass]
Definition: OgreSubMesh.h:119
void waitForMetadata(void)
Blocks main thread until metadata is ready.
virtual bool addFunctionInvocations(ProgramSet *programSet)=0
static const IdString LightsAreaTexColour
Definition: OgreHlms.h:853
GLuint getMsaaFramebufferName(void) const
If MSAA > 1u and TextureFlags::MsaaExplicitResolve is not set, this returns the handle to the tempora...
Definition: OgreGL3PlusTextureGpu.h:127
~D3D9HardwarePixelBuffer()
const Real * ptr() const
Pointer accessor for direct copying.
Definition: OgreVector2.h:119
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:63
virtual bool hasCompileError(void) const
Did this program encounter a compile error when loading?
Definition: OgreGpuProgram.h:444
virtual void _bindBufferDirectly(size_t offset, size_t sizeBytes)
To be overriden only by GL3+.
void setSource(const String &source)
Sets the source of the font.
virtual void fillConstBufferData(const Matrix4 &viewMatrix, float *RESTRICT_ALIAS passBufferPtr) const
virtual void clear(void)
Completely clear the contents of the object.
void setAddressingMode(TextureAddressingMode addressingMode)
virtual ~RenderSystemCapabilitiesSerializer()
default destructor
Definition: OgreRenderSystemCapabilitiesSerializer.h:56
void _setSharesSetupWithIdx(size_t idx)
Definition: OgreCompositorShadowNodeDef.h:106
vector< ShadowParam >::type ShadowParamVec
Definition: OgreCompositorShadowNode.h:377
void _setCompositeMapRequired(bool compositeMap)
Request internal implementation options for the terrain material to use, in this case a terrain-wide ...
Vector2 getProjectionParamsAB(void) const
Returns the terms projectionA and projectionB in .x and .y respectively, which can be used to reconst...
uint32 id
Definition: OgreScriptCompiler.h:116
void destroyAllActors(void)
void doSet(void *target, const String &val)
static const IdString BlendModeIdx0
Definition: OgreHlmsUnlitMobile.h:125
static const IdString HwGammaRead
Definition: OgreHlmsPbsMobile.h:102
bool isResourceGroupLoaded(const String &name)
Checks the status of a resource group.
size_t vertexCount
The number of vertices used in this operation.
Definition: OgreVertexIndexData.h:91
void setLinked(GLint flag)
Set the shader link status.
Definition: OgreGLSLShader.h:204
void set_size(unsigned N)
set_size - Set the array size to
Definition: OgreMain/include/OgreSmallVector.h:608
@ SPC_NORMAL_WORLD_SPACE
Normal in world space.
Definition: OgreShaderParameter.h:106
const GpuProgramPtr & getProgram() const
Gets the program being used.
Definition: OgreGpuProgramUsage.h:122
#define _OgreD3D9Export
Definition: OgreD3D9Prerequisites.h:122
void notifyResourceCreated(D3D11DeviceResource *deviceResource)
static CommandBufferExecuteFunc execute_setTextureBufferGS
Definition: OgreCommandBuffer.h:83
GuiHorizontalAlignment
Enum describing where '0' is in relation to the parent in the horizontal dimension.
Definition: OgreOverlayElement.h:71
void copyParametersFrom(TextureGpu *src)
const GpuProgramPtr & getTessellationDomainProgram(void) const
Gets the Tessellation Domain program used by this pass, only available after _load().
void _destroyAffector(ParticleAffector *affector)
Internal method for destroying an affector.
static const String CustomAttributeString_TARGET
Definition: OgreGL3PlusRenderTexture.h:63
virtual void _placeBarriersAndEmulateUavExecution(BoundUav boundUavs[64], ResourceAccessMap &uavsAccess, ResourceLayoutMap &resourcesLayout)
Emulates the execution of a UAV to understand memory dependencies, and adds a memory barrier / resour...
static void mergeContiguousBlocks(BlockVec::iterator blockToMerge, BlockVec &blocks)
vector< char >::type TriangleLightFacingList
Working vector used when calculating the silhouette.
Definition: OgreEdgeListBuilder.h:97
const float & min(const float &a, const float &b)
Definition: OgreCommon.h:1112
PixelCountLodStrategyBase(const String &name)
Default constructor.
@ CB_DRAW_V1_STRIP_NO_BASE_INSTANCE
Definition: OgreCbCommon.h:68
virtual Real getMinimumDepthInputValue(void)=0
Gets the minimum (closest) depth value to be used when rendering using identity transforms.
unsigned int getVSyncInterval() const
Returns the vertical sync interval.
size_t getOffsetFromChunkStart() const
Get the current byte position relative to the start of the data section of the last chunk that was re...
void setAllStoreActions(StoreAction::StoreAction storeAction)
@ ID_END_BUILTIN_IDS
Definition: OgreScriptCompiler.h:1041
virtual bool isEmitted(void) const
Return true if the emitter is emitted by another emitter.
virtual const String & getFile() const
Gets source file name.
Definition: OgreException.h:161
Vector4 getTime_0_2Pi_packed(Real x) const
virtual ~MeshBuilderCallback()
Definition: OgreVolumeMeshBuilder.h:110
static TextureManager & getSingleton(void)
Override standard Singleton retrieval.
uint32 minNumSlices
Definition: OgreTextureGpuManager.h:237
void setDiffuse(Real red, Real green, Real blue, Real alpha)
Sets the diffuse colour reflectance properties of every Pass in every Technique.
Image(const Image &img)
Copy-constructor - copies all the data from the target image.
Class implementing dispatch methods in order to construct by-value exceptions of a derived type based...
Definition: OgreException.h:270
void setDirection(const Vector3 &dir)
Sets the direction of the ray.
Definition: OgreRay.h:61
GpuProgramType getType(void) const
Gets the type of program we're trying to link to.
Definition: OgreGpuProgramUsage.h:101
D3D9HLSLProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
@ PF_BC7_UNORM
DDS (DirectDraw Surface) BC7 format (unsigned normalised)
Definition: OgrePixelFormat.h:222
StrideChanger()
Definition: OgreNULLVaoManager.h:62
Matrix4 inverseAffine(void) const
Returns the inverse of the affine matrix.
void unlock(void)
Override HardwareBuffer to turn off all shadowing.
@ ID_EXCLUDE
Definition: OgreScriptCompiler.h:646
void initialise(void)
Initialise gui element.
@ HLMS_UNLIT
Toon shading / Cel shading.
Definition: OgreHlmsCommon.h:181
bool eof(void) const
Returns true if the stream has reached the end.
virtual const String & getMovableType(void) const
Overridden from MovableObject.
void createProxyItems(void)
Bridge interface from the render system to the stereo driver.
Definition: OgreD3D9StereoDriverBridge.h:45
@ ShadowUpperDistance
Definition: OgreArrayMemoryManager.h:387
static String toString(long val, unsigned short width=0, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
Converts a long to a String.
static TextureAtlasSamplerFactory & getSingleton(void)
RibbonTrailFactory()
Definition: OgreRibbonTrail.h:234
MultiheadUseType getMultiheadUse() const
Returns how multihead should be activated.
Definition: OgreD3D9RenderSystem.h:398
void unload()
Unload the library.
Definition: OgreHlmsJson.h:43
GL3PlusDefaultHardwareBufferManagerBase()
void setPreprocessorDefines(const String &defines)
Sets the preprocessor defines use to compile the program.
Definition: OgreD3D9HLSLProgram.h:184
void unlock(void)
Override HardwareBuffer to turn off all shadowing.
float y
Definition: OgreShaderPrimitives.h:69
virtual void setFsaaResolved()
Definition: OgreRenderTarget.h:184
virtual void unprepareImpl(void)
@ FBT_STENCIL
Definition: OgreCommon.h:324
bool hasKeyIndex(void) const
Definition: OgreAnimationTrack.h:90
Factory object for creating Entity instances.
Definition: OgreRectangle2D2.h:115
Source * src
The volume source.
Definition: OgreVolumeChunk.h:56
void setFreezeDebugFrustum(bool freezeDebugFrustum)
virtual void notifyDestroyed(const UavBufferPacked *buffer)
void assign(unsigned NumElts, const T &Elt)
Definition: OgreMain/include/OgreSmallVector.h:436
Program * getCpuFragmentProgram()
Get the fragment shader CPU program.
@ SPC_POSTOLIGHT_TANGENT_SPACE3
Definition: OgreShaderParameter.h:160
virtual void renderQueueEnded(uint8 queueGroupId, const String &invocation, bool &repeatThisInvocation)
Event raised after a queue group is rendered.
Definition: OgreRenderQueueListener.h:89
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware vertex buffer.
uint32 getFrameCount(void)
Definition: OgreVaoManager.h:426
virtual void write(const Vector4 *vec, size_t count=1)
@ GCT_DOUBLE4
Definition: OgreGpuProgramParams.h:102
void _setPoolId(uint16 poolId)
Sets the pool id in which this DepthBuffer lives.
@ AmbientHemisphere
Force hemisphere ambient light.
Definition: OgreHlmsPbs.h:100
void loadMaterials(const String &filename, const String &resourceGroup, const char *jsonString, const String &additionalTextureExtension)
Loads all Hlms datablocks from a JSON formatted string.
static const uint16 VOLUME_CHUNK_VERSION
The version of volume files.
Definition: OgreVolumeSource.h:71
static PropertyType getTypeForValue(const unsigned long &val)
Definition: OgreProperty.h:160
static String getFileExtFromMagic(DataStreamPtr stream)
Static function to get an image type string from a stream via magic numbers.
static Real DegreesToAngleUnits(Real degrees)
Convert from degrees to the current AngleUnit.
GpuConstantDefinitionIterator getConstantDefinitionIterator(void) const
Gets an iterator over the named GpuConstantDefinition instances as defined by the program for which t...
const DXGI_ADAPTER_DESC1 & getAdapterIdentifier() const
Parameter(GpuConstantType type, const String &name, const Semantic &semantic, int index, const Content &content, size_t size=0)
Class constructor.
virtual bool isClosed(void) const
RenderWindow::isClosed
virtual void updateUniforms(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)=0
Updates program object uniforms using data from GpuProgramParameters.
ShadowMapTechniques shadowMapTechnique
Definition: OgreCompositorShadowNodeDef.h:66
virtual void endProfileEvent(void)
Ends the currently active GPU profiling event.
virtual ~RuntimeAssertionException()
int customNum
Definition: OgreShaderExLayeredBlending.h:102
virtual void close(void)=0
Close the stream; this makes further operations invalid.
Definition: OgreD3D11VaoManager.h:55
virtual const Ogre::String & getType() const
virtual void resetToInitialState(void)
Resets the position / orientation / scale of this OldNode to it's initial state, see setInitialState ...
virtual void getRenderOperation(RenderOperation &op)
Get the render operation for this buffer.
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: OgreMain/include/OgreSmallVector.h:317
virtual ~NULLRenderSystem(void)
virtual void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Overridden from MovableObject.
const RenderTargetViewDef * getRenderTargetViewDef(IdString name) const
ParallaxCorrectedCubemapBase * getParallaxCorrectedCubemap(void) const
Definition: OgreHlmsPbs.h:387
float getRoughness(void) const
virtual bool getVolumeVisible(void) const
Gets whether the volume mesh is visible.
const String & getType(void) const
Returns the factory type.
void writeContentsToFile(const String &filename, PixelFormat format=PF_UNKNOWN)
Writes the current contents of the render target to the named file.
PixelBox()
Parameter constructor for setting the members manually.
Definition: OgrePixelBox.h:47
@ OT_PATCH_27_CONTROL_POINT
Definition: OgreHlmsPso.h:86
void doSet(void *target, const String &val)
virtual void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
void blitFromTexture(GLES2TextureBuffer *src, const Box &srcBox, const Box &dstBox)
bool mCameraCubemapReorient
When true, the camera will be rotated 90°, -90° or 180° depending on the value of mRtIndex and then r...
Definition: OgreCompositorPassQuadDef.h:98
@ OGREPROF_ALL
All in-built Ogre profiling will match this mask.
Definition: OgreProfiler.h:212
Abstract definition of a 2D element to be displayed in an Overlay.
Definition: OgreOverlayElement.h:108
void _update(void)
Called once per frame, regardless of how many active workspaces there are.
StageFlags
Definition: OgreShaderFFPColour.h:53
void unsetCapability(const Capabilities c)
Remove a capability flag.
Definition: OgreRenderSystemCapabilities.h:601
bool HasAutoMipMapGenerationEnabled() const
Definition: OgreD3D11Texture.h:87
uint16 getLODLevelWhenVertexEliminated(long x, long y) const
Utility method, get the first LOD Level at which this vertex is no longer included.
void _setSamplerblock(const HlmsSamplerblock *samplerblock)
Changes the current samplerblock for a new one.
void arrangeEfficient(bool halfPos, bool halfTexCoords, bool qTangents)
Converts this SubMesh to an efficient arrangement.
virtual ~GLES2TexBufferEmulatedPacked()
StdMap< String, bool > UnaryOptionList
Definition: OgreCommon.h:703
Vector3 getAsVector3(size_t index) const
Prefer using.
Definition: C/OgreArrayVector3.h:88
const Vector3 getCenterRight(void) const
Gets the center of the corners 1, 2, 5, 6.
Definition: OgreVolumeOctreeNode.h:319
String basename
Base filename.
Definition: OgreArchive.h:60
@ ID_CONNECT
Definition: OgreScriptCompiler.h:819
@ FO_NONE
No filtering, used for FT_MIP to turn off mipmapping.
Definition: OgreCommon.h:218
Quaternion orientation
Definition: OgreStaticGeometry.h:179
ScreenRatioPixelCountLodStrategy()
Default constructor.
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
bool supportsArbBufferStorage(void) const
Definition: OgreGLES2VaoManager.h:249
virtual size_t calculateSize(void) const
Calculate the size of a resource; this will only be called after 'load'.
String name
Definition: OgreSkeletonDef.h:55
size_t getSliceSkipAlwaysBytes() const
bool selectPixelFormat(HDC hdc, int colourDepth, int multisample, PixelFormatGpu depthStencilFormat, bool hwGamma)
static const IdString BlendModeIndex15
Definition: OgreUnlitProperty.h:126
static CommandBufferExecuteFunc execute_setTextureBufferCS
Definition: OgreCommandBuffer.h:86
void setShadowRenderingDistance(Real dist)
Sets the distance at which the object is no longer casting shadows.
uint32 getWidth(void) const
void setParentNode(Node *parentNode)
Sets our parent node so that our bones are in World space.
virtual void execute(RaySceneQueryListener *listener)=0
Executes the query and returns each match through a listener interface.
virtual const ColourValue & getInitialColour(size_t chainIndex) const
Get the starting ribbon colour.
static const IdString UvAtlas5
Definition: OgreHlmsUnlitMobile.h:148
StencilOperation
Enum describing the various actions which can be taken on the stencil buffer.
Definition: OgreCommon.h:100
const String & getName(void) const
Returns the name of the node.
Definition: OgreBone.h:139
String lexeme(bool unquote=false) const
Definition: OgreScriptLexer.h:71
void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
@ MEMCATEGORY_SCENE_OBJECTS
Scene object instances.
Definition: OgreMemoryAllocatorConfig.h:170
bool hasShadowBuffer(void) const
Returns whether this buffer has a system memory shadow for quicker reading.
Definition: OgreHardwareBuffer.h:338
virtual bool unloadProceduralPage(Page *page, PagedWorldSection *section)
Give a provider the opportunity to unload page content procedurally.
Definition: OgrePageManager.h:84
size_t find(const char *val, size_t pos=0) const
Definition: OgreLwConstString.h:108
void resetDimensions(void)
Resets this Billboard to use the parent BillboardSet's dimensions instead of it's own.
Definition: OgreBillboard.h:144
unsigned short getNumVertexTracks(void) const
Gets the number of VertexAnimationTrack objects contained in this animation.
void dirtyRect(const Rect &rect)
Mark a region of the terrain as dirty.
Manager for LOD strategies.
Definition: OgreLodStrategyManager.h:50
#define OgreAssert(a, b)
Definition: OgreException.h:60
static void destroyFilters(FilterBaseArray &inOutFilters)
const IesLoader * getProfile(IdString profileName) const
Returns the profile associated with the name. Nullptr if not found.
void setNormalTexture(TextureGpu *normalTex)
void getPointTransform(Matrix4 *outXform) const
Get a transform which converts Vector4(xindex, yindex, height, 1) into an object-space position inclu...
Predefined type.
Definition: OgreIteratorRange.h:247
const void * _getMemoryBlock(void) const
@ BlinnPhongSeparateDiffuseFresnel
Like DefaultSeparateDiffuseFresnel, but uses BlinnPhong as base.
Definition: OgreHlmsPbsDatablock.h:125
int getHighestLodPrepared()
Definition: OgreTerrainLodManager.h:116
@ SPC_TEXTURE_COORDINATE3
Definition: OgreShaderParameter.h:291
virtual ~PageContentFactory()
Definition: OgrePageContentFactory.h:54
Class that encapsulates an GL context.
Definition: OgreGL3PlusContext.h:42
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.
GLuint getVboName(void) const
Definition: OgreGL3PlusDynamicBuffer.h:81
bool getAllowMultipleBounces(void) const
StringInterface()
Definition: OgreStringInterface.h:186
ushort getLodIndex(Real value) const
Retrieves the level of detail index for the given LOD value.
Display * getGLDisplay(void)
Get the Display connection used for rendering.
float a
Definition: OgreD3D11LegacySDKEmulation.h:37
size_t _getInternalTotalSizeBytes(void) const
Definition: OgreStagingTextureBufferImpl.h:74
bool isActive(void) const
Overridden from RenderTarget, flags invisible windows as inactive.
static BufferSlot makeEmpty(void)
Definition: OgreDescriptorSetTexture.h:171
void setUseDepthPrePass(const IdStringVec &textureName, IdString depthTextureName, IdString ssrTexture)
Definition: OgreCompositorPassSceneDef.h:229
void addResourceGroupListener(ResourceGroupListener *l)
Adds a ResourceGroupListener which will be called back during resource loading events.
virtual void setEnabled(bool b)
virtual void bindBufferGS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Definition: OgreNULLTexBufferPacked.h:51
@ NUM_UNLIT_TEXTURE_TYPES
Definition: OgreHlmsUnlitPrerequisites.h:57
@ GPV_PER_OBJECT
Varies per object (based on an auto param usually), but not per light setup.
Definition: OgreGpuProgramParams.h:137
@ GPU_WEBKIT
Definition: OgreRenderSystemCapabilities.h:323
IteratorType iterator
Typedef to fulfill container interface.
Definition: OgreIteratorWrapper.h:74
@ PROP_QUATERNION
Definition: OgreProperty.h:119
GL3PlusDynamicBuffer * _getDynamicBuffer(void)
Definition: OgreGL3PlusStagingTexture.h:71
SubRenderStateFactory()
Definition: OgreShaderSubRenderState.h:231
Command object for setting the caption.
Definition: OgreTextAreaOverlayElement.h:137
Definition: OgreSkeletonDef.h:76
void copyFromFramebuffer(size_t zoffset)
virtual ~CompositorPassIblSpecular()
void _setMetalTexture(id< MTLTexture > metalTexture)
virtual_l1 void normal(Real x, Real y, Real z)
Add a vertex normal to the current vertex.
@ CULL_NONE
Hardware never culls triangles and renders everything it receives.
Definition: OgreCommon.h:265
Vector3 position
Position at which the intersection occurred.
Definition: OgreTerrainGroup.h:385
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
bool hasStencilFormat(void) const
Returns true if either Stencil is set, or if Depth is set with depth-stencil attachment.
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:46
virtual void flushUAVs(void)
Forces to take effect all the queued UAV binding requests.
DefaultTextureGpuManagerListener()
Vector3 convertWorldToLocalPositionUpdated(const Vector3 &worldPos)
Definition: OgreNode.h:704
CategorisedAllocPolicy< Ogre::MEMCATEGORY_ANIMATION > AnimationAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:267
bool isSkeletalAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform skeletal animation.
void load()
Loads the archive.
DXGI_FORMAT getFormat() const
GL3PlusStagingTexture * createStagingTexture(PixelFormatGpu formatFamily, size_t sizeBytes)
See GL3PlusTextureGpuManager::createStagingTextureImpl.
void reset(void)
Definition: OgreSharedPtr.h:314
void setInterpolationMode(InterpolationMode im)
Tells the animation how to interpolate between keyframes.
ConstBufferPacked * constBuffer
Definition: OgreVctMaterial.h:48
void setTextureCoordSet(unsigned int set)
Sets the index of the set of texture co-ords this layer uses.
const String & getType(void) const
Get the type of the object to be created.
void getFilenameAndResourceGroup(IdString name, String const **outFilename, String const **outResourceGroup) const
Returns the filaname & resource group a datablock was created from, and is associated with its hashed...
ACDataType
Defines the type of the extra data item used by the auto constant.
Definition: OgreGpuProgramParams.h:1400
void connect(IdString outNode, IdString inNode)
Connects all outputs channels from outNode to all input channels from inNode.
virtual void _renderEmulated(const CbDrawCallStrip *cmd)=0
~GLSLESShaderFactory(void)
A OldSkeletonInstance is a single instance of a Skeleton used by a world object.
Definition: OgreOldSkeletonInstance.h:55
virtual void setOptimizationStrategy(OptimizationStrategy optimizationStrategy)
Sets the optimization strategy.
Quaternion(const Matrix3 &rot)
Construct a quaternion from a rotation matrix.
Definition: OgreQuaternion.h:72
uint16 getXOffset() const
Get the horizontal offset into the main terrain data of this node.
Definition: OgreTerrainQuadTreeNode.h:99
static const size_t c_ForwardPlusNumFloat4PerLight
Definition: OgreForwardPlusBase.h:47
size_t skipLine(const String &delim="\n")
Skip a single line from the stream.
Definition: OgreComPtr.h:189
static const IdString msFinalTextureBuffer
Definition: OgreTextureGpu.h:548
static const IdString UvAtlas14
Definition: OgreHlmsUnlitMobile.h:157
void setSkeletalAnimationIncluded(bool included)
Sets whether the linked program includes the required instructions to perform skeletal animation.
Definition: OgreGLSLESProgramCommon.h:91
virtual void notifyOnDeviceLost(IDirect3DDevice9 *d3d9Device)
Definition: OgreD3D9Resource.h:54
#define OGRE_APPEND_DEBUG_STRING(_Expression)
Definition: OgreIdString.h:43
static void toQuotedStr(SceneBlendFactor value, String &outString)
void makeAbs()
Causes negative members to become positive.
Definition: OgreVector3.h:566
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
static ArrayMaskI TestFlags4(ArrayInt a, ArrayMaskI b)
Definition: OgreMathlibC.h:181
bool supportsSkeletalAnimation
Definition: OgreMaterialSerializer.h:53
virtual void activate(void)=0
Makes a program object active by making sure it is linked and then putting it in use.
const D3D11_SIGNATURE_PARAMETER_DESC & getOutputParamDesc(unsigned int index) const
virtual void switchMode(uint &width, uint &height, short &frequency)
virtual void setBorderless(bool borderless)
ScriptCompilerListener * getListener()
Returns the currently set listener.
@ PFG_R11G11B10_FLOAT
Definition: OgrePixelFormatGpu.h:73
void setConfigPaths(const Ogre::StringVector &paths)
Definition: OgreFileSystemLayer.h:115
virtual void updateParamsForCompositeMap(const MaterialPtr &mat, const Terrain *terrain)
Update parameters for the given terrain composite map using the active profile.
Definition: OgreTerrainMaterialGenerator.h:360
@ GPV_PASS_ITERATION_NUMBER
Varies with pass iteration number.
Definition: OgreGpuProgramParams.h:141
void getCustomAttribute(const String &name, void *pData)
virtual Grid2DPageStrategyData * getGridStrategyData() const
Convenience method - this section always uses a grid strategy.
static ParameterPtr createConstParamVector4(Vector4 val)
bool getTransparencyCastsShadows(void) const
Returns whether or not objects using this material be classified as opaque to the shadow caster syste...
Definition: OgreMaterial.h:193
virtual ~GL3PlusAsyncTextureTicket()
BufferPacked * getBufferPacked(void)
Definition: OgreBufferInterface.h:62
void _setPosition(Real left, Real top)
Sets the left and top of this element in relation to the screen (where 1.0 = screen width)
uint32 bindOffset
Definition: OgreCbShaderBuffer.h:41
Real distance
Distance to swap the Lod.
Definition: OgreLodConfig.h:88
float getMinDistance(void) const
Definition: OgreForwardClustered.h:133
String getValue() const
Returns a string value depending on the type of the AbstractNode.
@ ET_ROTATE
Constant rotation.
Definition: OgreTextureUnitState.h:87
unsigned int use_count() const
Definition: OgreSharedPtr.h:289
const OctreeNode * getChild(const size_t i) const
Gets an octree child.
Definition: OgreVolumeOctreeNode.h:190
void updateThreadStarts(void)
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
virtual ~MetalNullTextureTarget()
@ GCT_SAMPLERRECT
Definition: OgreGpuProgramParams.h:81
virtual bool isCustomProjectionMatrixEnabled(void) const
Returns whether a custom projection matrix is in use.
Definition: OgreFrustum.h:456
virtual void endCurrent()
This is called before another context is made current.
virtual_l2 void scale(Real x, Real y, Real z)
Scales the node, combining it's current scale with the passed in scaling factor.
void setListener(MeshSerializerListener *listener)
Sets the listener for this serializer.
SharedPtr< Y > dynamicCast() const
Definition: OgreSharedPtr.h:256
@ VECTOR3
Definition: OgreAnimable.h:84
ManualObjectFactory()
Definition: OgreManualObject2.h:382
NormalMapSpace
Definition: OgreShaderExNormalMapLighting.h:110
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:1090
Definition: OgreVertexBufferPacked.h:88
@ PFG_ATC_RGB
ATC (AMD_compressed_ATC_texture)
Definition: OgrePixelFormatGpu.h:229
void setScale(const Vector3 &v)
Sets the scale part of the matrix.
Definition: OgreMatrix4.h:477
uint32 z
Definition: OgreTextureBox.h:44
void disableProfile(const String &profileName)
Disables a profile.
size_t capacity() const
Definition: OgreLwConstString.h:103
@ DXGI_ALPHA_MODE_IGNORE
Definition: OgreD3D11LegacySDKEmulation.h:46
uint64 currTime
The time this profile was started.
Definition: OgreProfiler.h:345
@ HBU_DYNAMIC
Indicates the application would like to modify this buffer with the CPU fairly often.
Definition: OgreHardwareBuffer.h:91
VertexDataBindChoice chooseVertexDataForBinding(bool hasVertexAnim)
Choose which vertex data to bind to the renderer.
void addNameExclusion(const String &type)
Adds a name exclusion to the map.
bool hasSrcBox
Definition: OgreAsyncTextureTicket.h:67
Vector3 operator*(Real t) const
Gets the position of a point t units along the ray.
Definition: OgreRay.h:71
VectorIterator< PoseList > PoseIterator
Definition: OgreMesh.h:1027
GLuint getFboName(void) const
Definition: OgreGL3PlusRenderPassDescriptor.h:94
void createAzdoBuffers(void)
void _setParentBone(Bone *bone)
Don't call directly.
virtual size_t getTriangleCount(void) const
Gets the number of triangles rendered in the last update() call.
virtual void _setToDisplayDummyTexture(void)
virtual ~LodCollapser()
Definition: OgreLodCollapser.h:42
virtual ~D3D11NullPixelBuffer()
T::value_type PairType
Unused, just to make it clear that map/set::value_type is not a ValueType.
Definition: OgreIteratorWrapper.h:263
SharedPtr< GpuProgram > GpuProgramPtr
Definition: OgrePrerequisites.h:388
static CommandBufferExecuteFunc execute_setV1RenderOp
Definition: OgreCommandBuffer.h:93
ID3D11Query * waitFor(ID3D11Query *fenceName)
void _scheduleTransitionTo(TextureGpu *texture, GpuResidency::GpuResidency targetResidency, Image2 *image, bool autoDeleteImage)
void destroyTexture(TextureGpu *texture)
Destroys a texture.
@ FFT_VS_MAIN
Definition: OgreShaderFunction.h:55
bool getFadeAttenuationOverDistace(void) const
Definition: OgreIrradianceVolume.h:115
void _unregisterScriptLoader(ScriptLoader *su)
Internal method for unregistering a ScriptLoader.
virtual 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:1219
virtual void setRenderQueueGroup(uint8 queueID)
Sets the render queue group this entity will be rendered through.
virtual ~BillboardChain()
Destructor.
static RotationInterpolationMode getDefaultRotationInterpolationMode(void)
Gets the default rotation interpolation mode for all animations.
virtual void _hlmsMacroblockDestroyed(HlmsMacroblock *block)
virtual void _setTexturesCS(uint32 slotStart, const DescriptorSetTexture2 *set)
virtual uint32 getStrategyId()=0
virtual bool setDrawBuffer(ColourBufferType colourBuffer)
@ SPC_LIGHTPOSITION_OBJECT_SPACE4
Definition: OgreShaderParameter.h:211
virtual void write(const Ray *ray, size_t count=1)
GLSL target language writer implementation.
Definition: OgreShaderGLSLProgramWriter.h:52
SectionIterator getSectionIterator(void)
Get an iterator over all the available sections in the config file.
TextureGpu * getBindTexture(void) const
Definition: OgreParallaxCorrectedCubemapBase.h:97
void setReceiveShadows(bool enabled)
Sets whether objects using this material will receive shadows.
Definition: OgreMaterial.h:179
@ VET_FLOAT1
Definition: OgreVertexElements.h:72
void autoCalculateRegion(void)
Does nothing if VctVoxelizer::setRegionToVoxelize( false, ... ) was called.
void setShadowSettings(ShadowFilter filter)
static const int HlmsTypeShift
Definition: OgreHlms.h:956
IDirect3DSurface9 * getSurface(IDirect3DDevice9 *d3d9Device)
Accessor for surface.
IncludeOrExclude includeOrExclude
Definition: OgreTechnique.h:107
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.
virtual bool shouldStayLoaded(TextureGpu *texture)
Return true if this TextureGpu should likely stay loaded or else graphical changes could occur.
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware vertex buffer.
Definition: OgreHardwareBufferManager.h:437
Plugin instance for D3D9 Manager.
Definition: OgreD3D9Plugin.h:39
static const IdString msMsaaTextureBuffer
Definition: OgreTextureGpu.h:549
@ SPC_POSITION_LIGHT_SPACE3
Definition: OgreShaderParameter.h:96
String mName
Definition: OgreScriptCompiler.h:523
const Camera * lodCamera
Definition: OgreSceneManager.h:183
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:48
~GL3PlusOldVertexArrayObject()
DescriptorSetSampler()
Definition: OgreDescriptorSetSampler.h:61
static const IdString ForwardClustered
Definition: OgreHlms.h:901
void _disableTextureUnit(size_t texUnit)
void pop_back()
Definition: OgreFastArray.h:189
const_reference operator[](size_type n) const
Definition: OgreCommon.h:505
virtual const ColourValue & getColour(void) const
Gets the colour of particles to be emitted.
static CommandBufferExecuteFunc execute_drawCallIndexedEmulatedNoBaseInstance
Definition: OgreCommandBuffer.h:68
void exportMesh(const Mesh *pMesh, const String &filename, Endian endianMode=ENDIAN_NATIVE)
Exports a mesh to the file specified, in the latest format.
virtual void destroyMovableObject(MovableObject *m, const String &typeName)
Destroys a MovableObject with the name specified, of the type specified.
void checkoutTempCopies(bool positions=true, bool normals=true)
Utility method, checks out temporary copies of src into dest.
void setWorldResourceGroupName(const String &groupName)
Sets the resource group that 'world' resources will use.
Definition: OgreResourceGroupManager.h:953
virtual void _hlmsSamplerblockDestroyed(HlmsSamplerblock *block)
@ SPC_POSTOLIGHT_WORLD_SPACE3
Definition: OgreShaderParameter.h:140
void updateAllTagPoints(void)
Updates all TagPoints, both TagPoints that are children of bones, and TagPoints that are children of ...
FunctionType
Definition: OgreShaderFunction.h:51
uint32 mVisibilityMask
Definition: OgreInstantRadiosity.h:135
const HlmsSamplerblock * getSamplerblock(uint8 texUnit) const
VectorImpl::const_iterator const_iterator
Definition: OgreCommon.h:464
bool getGlobalColourMapEnabled() const
Get whether a global colour map is enabled on this terrain.
Definition: OgreTerrain.h:1422
String doGet(const void *target) const
Definition: OgreParallaxCorrectedCubemap.h:47
virtual ~ProfileSessionListener()
Definition: OgreProfiler.h:372
static void unpackColour(ColourValue *colour, PixelFormat pf, const void *src)
Unpack a colour value from memory.
static D3D9ResourceManager * getResourceManager()
CompositorNamedBuffer()
Definition: OgreCompositorNamedBuffer.h:51
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.
static uint32 makeIdentifier(const String &code)
Pack a 4-character code into a 32-bit identifier.
void unload()
Unloads the archive.
TextureGpuManager * getTextureGpuManager(void) const
Definition: OgreRenderSystem.h:1119
void removeAllAffectors(void)
Removes all the affectors from this system.
void setFresnel(const Vector3 &fresnel, bool separateFresnel)
Sets the fresnel (F0) directly, instead of using the IOR.
void applyToNode(OldNode *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.
static MeshLodGenerator & getSingleton()
HardwareBufferManager(HardwareBufferManagerBase *imp)
String doGet(const void *target) const
@ SCENE_STATIC
Definition: OgreCommon.h:427
uint32 offset
Location of the chunk (header) in bytes from the start of a stream (derived)
Definition: OgreStreamSerialiser.h:104
Ogre::map< String, ProfileInstance * >::type ProfileChildrenMap
Definition: OgreProfiler.h:309
Real getSubdivisionFactor(void) const
Gets the current level of subdivision.
void addReferenceCount(void)
Adds a reference count to the StagingBuffer. @See removeReferenceCount.
virtual bool isClosed(void) const =0
Indicates whether the window has been closed by the user.
bool operator<(const Radian &r) const
Definition: OgreMath.h:80
const ConstBufferPool::BufferPool * getAssignedPool(void) const
Definition: OgreConstBufferPool.h:181
virtual MaterialPtr generate(const Terrain *terrain)=0
Generate / reuse a material for the terrain.
bool _isAnimated(void) const
Tests if any animation applied to this entity.
@ PFG_RGBA8_UNORM
Definition: OgrePixelFormatGpu.h:75
@ PF_X32_X24_S8_UINT
Depth texture format. 8 bits for stencil.
Definition: OgrePixelFormat.h:354
virtual void _restoreManualHardwareResources()
static const IdString LightsDirNonCaster
Definition: OgreHlms.h:845
@ Load
Load the contents that were stored in the texture.
Definition: OgreRenderPassDescriptor.h:81
uint32 getThreadsPerGroupY(void) const
Definition: OgreHlmsComputeJob.h:177
Controller< Real > * createTextureWaveTransformer(TextureUnitState *layer, TextureUnitState::TextureTransformType ttype, WaveformType waveType, Real base=0, Real frequency=1, Real phase=0, Real amplitude=1)
Creates a very flexible time-based texture transformation which can alter the scale,...
ColourValue colour
Definition: OgreBillboardChain.h:102
UniqueVertexSet mUniqueVertexSet
Provides position based vertex lookup. Position is the real identifier of a vertex.
Definition: OgreLodData.h:154
@ Transparent
Realistic transparency that preserves lighting reflections (particularly specular on the edges).
Definition: OgreHlmsPbsDatablock.h:181
@ PoolOwner
Created by compositor.
Definition: OgreTextureGpu.h:168
vector< LinkedSkeletonAnimationSource >::type LinkedSkeletonAnimSourceList
Definition: OgreSkeleton.h:345
void bindSharedParameters(GpuProgramParametersSharedPtr params, uint16 mask)
Execute the shared param binding functions for this shader.
@ PFG_ASTC_RGBA_UNORM_8X5_LDR
Definition: OgrePixelFormatGpu.h:241
@ TT_TRANSLATE_V
Definition: OgreTextureUnitState.h:118
@ ID_TRILINEAR
Definition: OgreScriptCompiler.h:748
GpuResidency::GpuResidency getNextResidencyStatus(void) const
When getResidencyStatus() != getNextResidencyStatus(), residency changes happen in the main thread,...
Defines a generic resource handler.
Definition: OgreResourceManager.h:124
uint32 outChannel
Definition: OgreCompositorWorkspaceDef.h:63
bool getAmalgamatedProfiling(void) const
Definition: OgreCompositorWorkspace.h:182
bool getUseAccurateFacing(void) const
Gets whether or not billboards use an 'accurate' facing model based on the vector from each billboard...
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:107
String doGet(const void *target) const
void _setLightProfileIdx(uint16 profileIdx)
Definition: OgreLight.h:246
Window * _initialise(bool autoCreateWindow, const String &windowTitle="OGRE Render Window")
Start up the renderer using the settings selected (Or the defaults if none have been selected).
TextureGpu * reflectionTexture
Definition: OgrePlanarReflections.h:52
GpuProgramParametersSharedPtr getTessellationHullProgramParameters(void) const
Gets the Tessellation Hull program parameters used by this pass.
virtual ~DecalFactory()
Definition: OgreDecal.h:169
Definition: OgreScriptCompiler.h:199
@ PFG_EAC_R11_UNORM
EAC compression (built on top of ETC2) Mandatory in GLES 3.0 for 1 channel & 2 channels.
Definition: OgrePixelFormatGpu.h:223
SceneBlendFactor mDestBlendFactor
Definition: OgreHlmsDatablock.h:177
void define(const Frustum &frustum)
Build a new polygon representation from a frustum.
ShadowMapTechniques technique
Technique to use.
Definition: OgreCompositorShadowNode.h:361
CompositorPassProvider * getCompositorPassProvider(void) const
Specialisation of PageStrategyData for Grid2DPageStrategy.
Definition: OgreGrid2DPageStrategy.h:120
ConstBoneIterator getBoneIteratorConst(void) const
Definition: OgreTextureGpuListener.h:45
ParticleSystem * getTemplate(const String &name)
Retrieves a particle system template for possible modification.
virtual ~MetalStagingTexture()
Technique * getTechnique(const String &name)
searches for the named technique.
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
SceneObjAllocatedObject SubEntityAlloc
Definition: OgreMemoryAllocatorConfig.h:336
void linkRenderWindow(D3D9RenderWindow *renderWindow)
const UserObjectBindings & getUserObjectBindings() const
Return an instance of user objects binding associated with this class.
Definition: OgrePass.h:1102
void addIndexData(const IndexData *indexData, size_t vertexSet=0, OperationType opType=OT_TRIANGLE_LIST)
Add a set of index geometry data to the edge builder.
Real getSquaredViewDepth(const Camera *cam) const
void setUpdateDisplayFrequency(uint freq)
Sets the Profiler so the display of results are updated every n frames.
void setManualValue(const Matrix3 &value)
bool isReserved
Definition: OgrePlanarReflections.h:53
const ColourValue & getDiffuseColour(void) const
Returns the colour of the diffuse light given off by this light source (see setDiffuseColour for more...
Definition: OgreLight.h:148
DualGridGenerator * dualGridGenerator
The DualGridGenerator to use.
Definition: OgreVolumeChunkHandler.h:66
virtual Real getEmissionRate(void) const
Returns the emission rate set for this emitter.
void remove3D(SceneNode *node)
Removes a 3D element from the overlay.
Radian & operator+=(const Radian &r)
Definition: OgreMath.h:67
Command object for setting macro defines.
Definition: OgreD3D11HLSLProgram.h:70
size_t getPassNumber(CompositorPass *pass) const
@ VisibilityFlags
Definition: OgreArrayMemoryManager.h:388
Specialisation of HardwareCounterBuffer for OpenGL.
Definition: OgreGL3PlusHardwareCounterBuffer.h:39
virtual void execute(const Camera *lodCamera)
String getDisplayName(void)
Get the name of the display and screen used for rendering.
String doGet(const void *target) const
static const ArrayReal MAX_POS
Definition: OgreMathlibC.h:61
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.
void _updateRenderQueueImpl(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Internal version that does not call _notifyCurrentCamera (i.e. you've already done it)
Definition: OgreSceneFormatImporter.h:40
Real mWidth
Personal width if mOwnDimensions == true.
Definition: OgreParticle.h:80
Colour sub render state implementation of the Fixed Function Pipeline.
Definition: OgreShaderFFPColour.h:48
void _handleLodEvents()
Handle LOD events.
map< String, ResourceManager * >::type ResourceManagerMap
Definition: OgreResourceGroupManager.h:303
virtual void bindBufferHS(uint16 slot)
@ DontCare
Do not care about the initial contents.
Definition: OgreRenderPassDescriptor.h:54
virtual bool getRequestsAccepted() const
Returns whether requests are being accepted right now.
@ LB_BlendPinLight
Definition: OgreShaderExLayeredBlending.h:71
virtual void setParticleVelocity(Real min, Real max)
Sets the initial velocity range of particles emitted.
virtual void setRenderQueueGroup(uint8 queueID)
Overload to avoid it. Light::setType uses the RenderQueue ID to classify lights per type.
Definition: OgreEmscriptenEGLContext.h:39
virtual void _clearSliceRTT(size_t zoffset)
Notify TextureBuffer of destruction of render target.
Definition: OgreD3D11HardwarePixelBuffer.h:99
@ SPC_LIGHTPOSITIONVIEW_SPACE2
Definition: OgreShaderParameter.h:229
void save(StreamSerialiser &stream)
Save world data to a serialiser.
virtual void setOrigin(const Vector3 &origin)
Sets the origin of the geometry.
Definition: OgreStaticGeometry.h:685
OperationType getOperationType(void) const
Definition: OgreVertexArrayObject.h:110
PixelFormatGpu getFormatFamily(void) const
Returns the format family it was requested.
Definition: OgreStagingTexture.h:127
virtual ~RenderObjectListener()
Definition: OgreRenderObjectListener.h:46
virtual size_t getMaxChainElements(void) const
Get the maximum number of chain elements per chain.
Definition: OgreBillboardChain.h:129
@ BIND_SOFTWARE_SKELETAL
Definition: OgreEntity.h:647
void removeAllRenderTextureViews(void)
const PoseRefList & getPoseReferences(void) const
Get a const reference to the list of pose references.
void setAll(const Vector3 &v)
Sets all packed vectors to the same value as the scalar input vector.
Definition: C/OgreArrayVector3.h:106
static const IdString TexMatrixCount4
Definition: OgreUnlitProperty.h:56
TextureBox getEmptyBox(uint8 mipLevel)
GL3PlusContext * clone() const
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
virtual void _setIndirectBuffer(IndirectBufferPacked *indirectBuffer)
IndexBufferPacked * getIndexBuffer(void) const
Definition: OgreVertexArrayObject.h:107
virtual void freeInternalResourcesImpl(void)
free internal resources
LoadAction::LoadAction loadAction
Definition: OgreRenderPassDescriptor.h:127
LampHorizType
Definition: OgreIesLoader.h:50
static bool loadIcon(Display *display, const std::string &name, Pixmap *pix, Pixmap *mask)
Loads an icon from an Ogre resource into the X Server.
SharedPtr< D3D9GpuProgram > D3D9GpuProgramPtr
Definition: OgreD3D9Prerequisites.h:97
#define OGRE_AUTO_MUTEX
Definition: OgreThreadDefinesBoost.h:46
@ VES_BLEND_WEIGHTS2
Second pair of blending weights (i.e. more than 4, less or equal than 8)
Definition: OgreVertexElements.h:60
_OgreExport friend std::ostream & operator<<(std::ostream &o, const AxisAlignedBox &aab)
::EGLConfig getGLConfigFromContext(::EGLContext context)
Decals can have diffuse, normal map, and emissive on top of regular objects.
Definition: OgreDecal.h:80
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware vertex buffer.
virtual void sceneManagerDestroyed(SceneManager *source)
Event notifying the listener of the SceneManager's destruction.
Definition: OgreSceneManager.h:344
The AbsolutePixelCountLodStrategy class LOD strategy that works like ScreenRatioPixelCountLodStrategy...
Definition: OgrePixelCountLodStrategy.h:82
void nodeDettached(Transform &outTransform, size_t depth)
Releases current memory and requests memory from the root level.
D3D11HardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage, D3D11Device &device, bool useSystemMem, bool useShadowBuffer, bool streamOut)
@ 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:188
virtual Archive * createInstance(const String &name)
Creates a new object.
Definition: OgreArchiveFactory.h:71
RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, unsigned int colourDepth, bool fullScreen, int left, int top, bool depthBuffer, RenderWindow *parentWindowHandle, bool vsync)
virtual void bindBufferPS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Ogre::RenderWindow * window
Definition: OgreOSXCocoaView.h:37
StringVector getMultiSetting(const String &key, const String §ion=BLANKSTRING) const
Gets all settings from the file with the named key.
TextureType textureType
Definition: OgreHlmsTexturePack.h:60
void createFromTexturePack(const HlmsTexturePack &pack)
void setFragmentShaderProfiles(const String &fragmentShaderProfiles)
Set the output fragment shader target profiles.
void setActiveTessDomainShader(GLSLShader *domainShader)
v1::VertexDeclaration * getGlobalInstanceVertexBufferVertexDeclaration() const
Gets vertex declaration for the global vertex buffer for the global instancing.
size_t outUniqueVertexCount
This is set by ProgressiveMeshGenerator::build() function.
Definition: OgreLodConfig.h:117
ImageDownsamplerCube downscale2x_A8_cube
Definition: OgreImageDownsampler.h:80
static String Type
The type.
Definition: OgreShaderFFPAlphaTest.h:73
Real getBoundsPaddingFactor(void)
Gets the factor by which the bounding box of an entity is padded.
const SubMeshVec & getSubMeshes(void) const
Gets an iterator over the available submeshes.
Definition: OgreMesh2.h:194
virtual void setHoldRadius(Real sz)
Set the Holding radius.
virtual void encodeToFile(MemoryDataStreamPtr &input, const String &outFileName, CodecDataPtr &pData) const =0
Codes the data in the input chunk and saves the result in the output filename provided.
void setCompositeMapSize(uint16 sz)
Sets the default size of composite maps for a new terrain.
Definition: OgreTerrain.h:2090
D3D11TextureManager(D3D11Device &device)
GeneralAllocatedObject LogAlloc
Definition: OgreMemoryAllocatorConfig.h:313
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
Abstract class defining the interface all renderable objects must implement.
Definition: OgreRenderable.h:67
Wrapper class which indicates a given angle value is in Radians.
Definition: OgreMath.h:50
virtual void reposition(int32 leftPt, int32 topPt)=0
virtual void getRenderOperation(RenderOperation &op)=0
Get the render operation for this buffer.
bool loadIcon(const String &name, Pixmap *pix, Pixmap *mask)
Loads an icon from an Ogre resource into the X Server.
virtual void _renderNoBaseInstance(const v1::CbDrawCallStrip *cmd)
void addListener(LogListener *listener)
virtual void triangleChanged(LodData *data, LodData::Triangle *tri)
@ GCT_INT2
Definition: OgreGpuProgramParams.h:95
static GLXFBConfig getFBConfigFromContext(Display *display, ::GLXContext context)
Get the GLXFBConfig used to create a ::GLXContext.
Factory class for GLSL shaders.
Definition: OgreGLSLShaderFactory.h:40
virtual TagPoint * createTagPoint(void)
Creates a TagPoint that can be used like a SceneNode, or be used to be attached to a Bone.
virtual bool isVisible(const Sphere &bound, FrustumPlane *culledBy=0) const
Tests whether the given container is visible in the Frustum.
VertexElementType getColourVertexElementType(void) const
Get the native VertexElementType for a compact 32-bit colour value for this rendersystem.
void setAll(const Matrix4 &m)
Sets all packed matrices to the same value as the scalar input matrix.
Definition: C/OgreArrayMatrix4.h:128
virtual void _copyRenderTargetToCubemap(uint32 cubemapArrayIdx)
virtual SortMode _getSortMode(void) const =0
Gets the desired particles sort mode of this renderer.
virtual void _update(void)
@ RSC_STENCIL_WRAP
Supports wrapping the stencil value at the range extremeties.
Definition: OgreRenderSystemCapabilities.h:109
This class allows saving the current state of an Hlms to disk: both its compiled shaders with source ...
Definition: OgreHlmsDiskCache.h:132
void setActiveTessHullShader(GLSLShader *hullShader)
static const String & getPointLightExtruderVs_glslesDebug(void)
Get extruder program source for debug point lights, compatible with glsles.
Definition: OgreShadowVolumeExtrudeProgram.h:262
@ PFG_RGB32_UINT
Definition: OgrePixelFormatGpu.h:56
map< ResourceHandle, ResourcePtr >::type ResourceHandleMap
Definition: OgreResourceManager.h:570
const uint32 * getNumProbes(void) const
Definition: OgrePccPerPixelGridPlacement.h:134
@ ID_CUBIC_TEXTURE
Definition: OgreScriptCompiler.h:736
const String & getName() const
Get the name of the plugin.
void setEnabled(bool bEnabled)
Enables or disables all instances of this node.
virtual bool postCreateGpuPrograms(ProgramSet *programSet)
@ GHA_CENTER
Definition: OgreOverlayElement.h:73
static const IdString DetailMapsDiffuse
Definition: OgreHlmsPbs.h:526
TextureGpu * getUavTexture(uint8 slotIdx) const
D3D9HardwarePixelBuffer(HardwareBuffer::Usage usage, D3D9Texture *ownerTexture)
void freeAllBuffers()
Free any buffers we're holding.
bool getTwoSidedLighting(void) const
static const IdString BakeLightingOnly
Definition: OgreHlms.h:874
A node in a quad tree used to store a patch of terrain.
Definition: OgreTerrainQuadTreeNode.h:83
@ RSC_PBUFFER
Support for PBuffer.
Definition: OgreRenderSystemCapabilities.h:259
void _compileBoneAssignments(void)
Internal method, be called once to compile bone assignments into geometry buffer.
void importFromV2(Ogre::SubMesh *subMesh)
Imports a v2 SubMesh @See Mesh::importV2.
virtual void initialiseFromRenderSystemCapabilities(RenderSystemCapabilities *caps, Window *primary)
Initialize the render system from the capabilities.
void updatePassIterationUniforms(GpuProgramParametersSharedPtr params)
Updates program object uniforms using data from pass iteration GpuProgramParameters.
virtual void bindBufferCS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
@ Compute
Tell the API's to use high quality.
Definition: OgreCompositorPassMipmapDef.h:64
bool intersects(const AxisAlignedBox &b2) const
Returns whether or not this box intersects another.
Definition: OgreAxisAlignedBox.h:542
void storeEdges(EdgeMap *edgeMap) const
Stores the edges of the polygon in ccw order.
virtual Real getOrthoWindowHeight() const
Gets the orthographic window height, for use with orthographic rendering only.
Vector4 getTime_0_1_packed(Real x) const
NameValuePairList parameters
Definition: OgreResourceGroupManager.h:299
virtual void preViewportUpdate(const RenderTargetViewportEvent &evt)
Definition: OgreRenderTargetListener.h:120
ArrayVector3 mOrigin
Definition: OgreArrayRay.h:39
size_t getNumIndexes(void) const
Get the number of indexes in this buffer.
Definition: OgreHardwareIndexBuffer.h:72
const String & getName() const
Get the name of the plugin.
void updateAllDirtyProbes(void)
By default the probes will be constructed when the user enters its vecinity.
OldBone * createChild(unsigned short handle, const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY)
Creates a new OldBone as a child of this bone.
void _set(uint8 colourSamples, uint8 coverageSamples, MsaaPatterns::MsaaPatterns pattern)
For internal use.
@ ID_CAMERA_FAR_CORNERS_WORLD_SPACE_CENTERED
Definition: OgreScriptCompiler.h:936
HardwareUniformBufferSharedPtr createShaderStorageBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, size_t binding, const String &name="")
Create a shader storage buffer.
D3D11ConstBufferPacked(size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface, D3D11Device &device)
@ LBX_ADD_SIGNED
as LBX_ADD, but subtract 0.5 from the result
Definition: OgreBlendMode.h:89
Alternative listener class for dealing with IntersectionSceneQuery.
Definition: OgreSceneQuery.h:457
bool empty() const
Definition: OgreFastArray.h:281
MovablePlane(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager)
bool packNonPow2
Whether non-power-of-2 textures should be packed together.
Definition: OgreHlmsTextureManager.h:106
A factory that enables creation of HardwareSkinning instances.
Definition: OgreShaderExHardwareSkinning.h:181
LampConeType
Definition: OgreIesLoader.h:41
CompositorPassType
Definition: OgreCompositorPassDef.h:52
virtual bool postCreateGpuPrograms(ProgramSet *programSet)=0
Called after creation of the GPU programs.
void setPointAttenuation(bool enabled, Real constant=0.0f, Real linear=1.0f, Real quadratic=0.0f)
Sets how points are attenuated with distance.
void dumpProfileResults(const String &fullPathPerFrame, const String &fullPathAccum)
Dumps CSV data into two CSV files.
void FromEulerAnglesZXY(const Radian &fYAngle, const Radian &fPAngle, const Radian &fRAngle)
ManualObjectSection * getSection(unsigned int index) const
Gets a pointer to a ManualObjectSection, i.e.
void applyToNode(OldNode *node, const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)
As the 'apply' method but applies to a specified OldNode instead of associated node.
virtual void setPaused(bool pause)
Set whether to pause further processing of any requests.
@ SM_None
Definition: OgreShaderExLayeredBlending.h:85
virtual bool hasOption(const String &strKey) const
Method for verifying whether the scene manager has an implementation-specific option.
Definition: OgreSceneManager.h:1812
virtual void bindSurface(size_t attachment, RenderTexture *target)
Bind a surface to a certain attachment point.
Definition: OgreRenderTexture.h:83
uint8 getMaxActiveActors(void) const
Definition: OgrePlanarReflections.h:250
String mMaterialScheme
The material scheme used for this pass.
Definition: OgreCompositorPassSceneDef.h:189
Page strategy which loads new pages based on a regular 2D grid.
Definition: OgreGrid2DPageStrategy.h:231
@ D3D_CORRUPTION
Definition: OgreD3D11Device.h:96
const String & _getDerivedResourceGroup() const
Get the final resource group to use when loading / saving.
static const String & getPointLightExtruderVs_glslFinite(void)
Get FINITE extruder program source for point lights, compatible with glsl.
Definition: OgreShadowVolumeExtrudeProgram.h:287
virtual void frameEnded(void)
Called when the frame has fully ended (ALL passes have been executed to all RTTs)
virtual BufferPackedTypes getBufferPackedType(void) const
Useful to query which one is the derived class.
Definition: OgreVertexBufferPacked.h:117
virtual void setRepeatDelay(Real duration)
Sets the time between repeats of the emitter.
@ MSE_WRITE_END
Definition: OgreMaterialSerializer.h:70
const vector< Real >::type * getPssmSplits(size_t shadowMapIdx) const
Returns a list of points with the limits of each PSSM split in projection space for the given shadow ...
BlendMode blendMode
Definition: OgreShaderExLayeredBlending.h:98
virtual void setShadowTextureCasterMaterial(const String &name)
Sets the default material to use for rendering shadow casters.
HlmsDatablock * _getDatablock(void) const
Gets the internal datablock that acts as proxy for us.
HlmsComputeJob * createComputeJob(IdString datablockName, const String &refName, const String &sourceFilename, const StringVector &includedPieceFiles)
An HlmsComputeJob is very similar to an HlmsDatablock, except it contains a compute job instead.
const TextureSources & getUavSources(void) const
Definition: OgreCompositorPassComputeDef.h:140
LODBucket(Region *parent, unsigned short lod, Real lodValue)
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...
void addCamera(Camera *c)
Tells the paging system to start tracking a given camera.
void flipAroundY(void)
Flips (mirrors) the image around the Y-axis.
bool operator!=(const SmallVectorImpl &RHS) const
Definition: OgreMain/include/OgreSmallVector.h:590
void loadDirect(const String &filename, const String &separators="\t:=", bool trimWhitespace=true)
load from a filename (not using resource group locations)
virtual Vector3 convertWorldToLocalPosition(const Vector3 &worldPos)
Gets the local position, relative to this OldNode, of the given world-space position.
@ ThreadGroupsBasedOnTexture
Based the number of thread groups on a texture. See setNumThreadGroupsBasedOn.
Definition: OgreHlmsComputeJob.h:60
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:585
VertexDeclaration * getVertexDeclaration()
Get the vertex declaration that the pass will output.
Builds the intersection between two sources.
Definition: OgreVolumeCSGSource.h:220
bool executeTask(TextureGpu *texture, TextureGpuListener::Reason reason, const ScheduledTasks &task)
@ ID_NUM_STABLE_SPLITS
Definition: OgreScriptCompiler.h:1005
static PbsUvAtlasParams textureLocationToAtlasParams(const HlmsTextureManager::TextureLocation &texLocation)
void bind(RenderTarget *target)
Bind a certain render target if it is a FBO.
Renderable * _getRenderable()
Returns the internal renderable object for this node.
virtual void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Overridden - see RenderTarget.
GL ES-specific implementation of a TextureManager.
Definition: OgreGLES2TextureManager.h:40
@ EXTENT_FINITE
Definition: OgreAxisAlignedBox.h:59
virtual void _endUpdate()
Method for manual management of rendering - finishes statistics calculation and fires 'postRenderTarg...
GpuProgramPtr getByName(const String &name, bool preferHighLevelPrograms=true)
Get a resource by name.
BillboardRotationType
The rotation type of billboard.
Definition: OgreBillboardSet.h:70
virtual ResourcePtr getResourceByName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Retrieves a pointer to a resource by name, or null if the resource does not exist.
time_t getModifiedTime(const String &filename)
Retrieve the modification time of a given file.
void install()
Perform the plugin initial installation sequence.
virtual void upload(const PixelBox &data, const Box &dest)
Upload a box of pixels to this buffer on the card.
virtual void setCellRangeMinZ(int32 minZ)
Set the index range of all cells (values outside this will be ignored)
void destroyInactiveRenderDevices()
Definition: OgreCompositorShadowNode.h:342
static void scale(const TextureBox &src, PixelFormatGpu srcFormat, const TextureBox &dst, PixelFormatGpu dstFormat)
Definition: OgreImageResampler.h:322
static void initResourcesLayout(ResourceLayoutMap &outResourcesLayout, const CompositorChannelVec &compositorChannels, ResourceLayout::Layout layout)
Only inits a resource with the given layout if it wasn't already in outResourcesLayout.
uint32 getMaxX(void) const
Definition: OgreTextureBox.h:74
virtual_l1 void _attachBone(SkeletonInstance *skeletonInstance, Bone *bone)
Attaches a bone to this SceneNode.
OldBone(unsigned short handle, Skeleton *creator)
Constructor, not to be used directly (use OldBone::createChild or Skeleton::createBone)
A billboard is a primitive which always faces the camera in every frame.
Definition: OgreBillboard.h:69
void unmap(void)
Unmaps the pointer mapped with map().
bool isDataReady(void)
True if this texture is fully ready to be used for displaying.
void FromAxes(const Vector3 &xAxis, const Vector3 &yAxis, const Vector3 &zAxis)
virtual ConfigOptionMap & getConfigOptions(void)
map< String, AnimationState * >::type AnimationStateMap
Definition: OgreAnimationState.h:192
bool OrderSkeletonInstanceByMemory(const SkeletonInstance *_left, const SkeletonInstance *_right)
Definition: OgreSkeletonInstance.h:215
@ RSC_UAV
Supports UAVs (OpenGL: SSBOs and Image texture. D3D11: UAVs & structured buffers)
Definition: OgreRenderSystemCapabilities.h:211
void removeStrategy(PageStrategy *strategy)
Remove a PageStrategy implementation.
#define OGRE_RW_MUTEX(name)
Definition: OgreThreadDefinesBoost.h:62
@ OR_DEGREE_270
Definition: OgreFrustum.h:53
Degree operator-() const
Definition: OgreMath.h:115
@ ACT_SURFACE_EMISSIVE_COLOUR
Surface emissive colour, as set in Pass::setSelfIllumination.
Definition: OgreGpuProgramParams.h:1024
virtual void _setPipelineStateObject(const HlmsPso *pso)
@See HlmsPso
virtual GpuProgramType getType(void) const
Get the program type.
Definition: OgreGpuProgram.h:281
virtual ~InternalErrorException()
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 ...
Definition: OgreScriptTranslator.h:311
virtual void _beginFrame(void)
Signifies the beginning of a frame, i.e.
Image & load(const String &filename, const String &groupName)
Loads an image file.
float getRoughness(void) const
virtual void convertToImage(Image &destImage, bool includeMipMaps=false, uint32 mipmapBias=0, uint32 zOrSliceStart=0, uint32 depthOrSlices=0)
Populate an Image with the contents of this texture.
void getPoint(long x, long y, Vector3 *outpos) const
Get a Vector3 of the world-space point on the terrain, aligned as per options.
int getScissorActualTop(void) const
Definition: OgreViewport.h:148
virtual void _hlmsComputePipelineStateObjectCreated(HlmsComputePso *newPso)
Vector3 interpolate(unsigned int fromIndex, Real t) const
Interpolates a single segment of the spline given a parametric value.
bool getSortingEnabled(void) const
Gets whether particles are sorted relative to the camera.
Definition: OgreParticleSystem.h:545
static GTKGLSupport & getSingleton(void)
Override standard Singleton retrieval.
static const IdString DetailOffsets3
Definition: OgreHlmsPbs.h:505
const char * c_str() const
Definition: OgreLwConstString.h:97
NodeAnimationTrack * getNodeTrack(size_t handle) const
Gets a node track by it's handle.
@ ID_DEPTH
Definition: OgreScriptCompiler.h:949
bool watchForMax(const String &profileName)
GL3PlusDepthTextureTarget(GL3PlusDepthTexture *ultimateTextureOwner, const String &name, v1::HardwarePixelBuffer *buffer, uint32 zoffset)
Vector3 getViewUpVector() const
GpuBufferAllocator * getGpuBufferAllocator()
Get the current buffer allocator.
TextureBox box
Definition: OgreImageCodec2.h:73
Definition: OgreGLES2HardwarePixelBuffer.h:38
SceneNode * _getDummyNode(void) const
Definition: OgreNodeMemoryManager.h:84
void setPointSize(Real ps)
Sets the point size properties for every Pass in every Technique.
Definition: OgreGL3PlusConstBufferPacked.h:38
OverlayMapIterator getOverlayIterator(void)
void clearNamedAutoConstant(const String &name)
Unbind an auto constant so that the constant is manually controlled again.
virtual void loadImpl()
overridden from Resource
TextureGpu * texture
Definition: OgreRenderPassDescriptor.h:118
static const IdString UvAtlas13
Definition: OgreHlmsUnlitMobile.h:156
static bool isSorted(const v1::Mesh::LodValueArray &values)
Determine if the LOD values are sorted from greatest detail to least detail.
Vector3 getNumProbes3f(void) const
_OgreRTSSExport void operator<<(std::ostream &o, const HardwareSkinning::SkinningData &data)
uint64 asUint64(void) const
CompositorWorkspace * addWorkspace(SceneManager *sceneManager, const CompositorChannelVec &externalRenderTargets, Camera *defaultCam, IdString definitionName, bool bEnabled, int position=-1, const UavBufferPackedVec *uavBuffers=0, const ResourceLayoutMap *initialLayouts=0, const ResourceAccessMap *initialUavAccess=0, const Vector4 &vpOffsetScale=Vector4::ZERO, uint8 vpModifierMask=0x00, uint8 executionMask=0xFF)
Overload that allows having multiple external input/outputs.
const String & getFragmentShaderProfiles() const
Get the output fragment shader target profiles.
Definition: OgreShaderGenerator.h:180
String doGet(const void *target) const
_OgreExport friend std::ostream & operator<<(std::ostream &o, const Camera &c)
Function for outputting to a stream.
virtual int getExecutionOrder() const
String source
Definition: OgreMaterialSerializer.h:51
GLES2ConstBufferPacked(size_t internalBufferStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface)
@ CBT_BACK
Definition: OgreCommon.h:330
Interface definition for a factory class which produces a certain kind of MovableObject,...
Definition: OgreMovableObject.h:606
MappingState
Definition: OgreBufferPacked.h:66
bool empty(void) const
Definition: OgreDescriptorSetUav.h:171
MapIterator< ParticleTemplateMap > ParticleSystemTemplateIterator
Definition: OgreParticleSystemManager.h:344
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create a uniform buffer.
GLuint getGLMultisampleFBOID() const
Get the GL id for the multisample FBO.
Definition: OgreGLES2FrameBufferObject.h:75
Definition: OgreGL3PlusVaoManager.h:39
static const Real TWO_PI
Definition: OgreMath.h:749
HlmsJsonCompute(HlmsManager *hlmsManager, TextureGpuManager *textureManager)
@ FILTER_BILINEAR
Definition: OgreImage2.h:336
static const IdString UvCount6
Definition: OgreHlms.h:840
void removeListener(CompositorWorkspaceListener *listener)
@ FT_MAG
The filter used when magnifying a texture.
Definition: OgreCommon.h:210
virtual ResourceCreateOrRetrieveResult createOrRetrieve(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0, TextureType texType=TEX_TYPE_2D, int numMipmaps=MIP_DEFAULT, Real gamma=1.0f, bool isAlpha=false, PixelFormat desiredFormat=PF_UNKNOWN, bool hwGammaCorrection=false)
Create a new texture, or retrieve an existing one with the same name if it already exists.
BoneData(size_t _index, size_t _parent, const Vector3 &_pos, const Quaternion &_rot, const Vector3 &_scale, const String &_name, bool _inheritOrientation, bool _inheritScale)
Definition: OgreSkeletonDef.h:59
virtual uint32 fillBuffersForV1(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)
void setUav(uint32 slot, bool isExternal, const String &textureName, ResourceAccess::ResourceAccess access, int32 mipmapLevel, PixelFormatGpu pixelFormat)
Indicates the pass to change the UAV slots to use the specified texture sources.
virtual void _setVertexArrayObject(const VertexArrayObject *vao)
Part of the low level rendering interface.
MeshPtr clone(const String &newName, const String &newGroup=BLANKSTRING, int vertexBufferType=-1, int indexBufferType=-1)
Makes a copy of this mesh object and gives it a new name.
GpuProgramParametersSharedPtr getComputeProgramParameters(void) const
Gets the Tessellation Hull program parameters used by this pass.
virtual Real getStartTime(void) const
Gets the start time of the emitter.
const Quaternion & getOrientationForViewUpdate(void) const
Get the derived orientation of this frustum.
void setHardwareSkinningParam(ushort boneCount, ushort weightCount, bool correctAntipodalityHandling=false, bool scalingShearingSupport=false)
virtual ~MeshSerializerListener()
Definition: OgreMeshSerializer.h:200
String doGet(const void *target) const
static const char * getCmpString(CompareFunction compareFunction)
@ FRUSTUM_PLANE_RIGHT
Definition: OgreFrustum.h:75
bool exists(const String &filename)
Find out if the named file exists (note: fully qualified filename required)
list< OverlayContainer * >::type OverlayContainerList
Definition: OgreOverlay.h:74
bool getUseIdentityProjection(void) const
Returns whether or not to use an 'identity' projection.
Definition: OgreRenderable.h:202
static String getFormatName(PixelFormat srcformat)
Gets the name of an image format.
GLSLESShaderFactory(void)
Real splitPadding
Definition: OgreCompositorShadowNodeDef.h:70
bool hasBone(IdString name) const
void queueBindUAVs(const DescriptorSetUav *descSetUav)
Queues the binding of an UAV to the binding point/slot.
@ TCD_U
Tex coord in elements is treated as the 'u' texture coordinate.
Definition: OgreBillboardChain.h:157
void _prepare(void)
Internal prepare method, derived from call to Material::prepare.
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
@ ID_OUTPUT
Definition: OgreScriptCompiler.h:943
void _addCompositorTexture(IdString name, TextureGpu *tex)
Used by Compositor, tells of which compositor textures active, so Materials can access them.
void setCurrentSceneManager(const SceneManager *sm)
Set the current scene manager for enquiring on demand.
ZipArchive(const String &name, const String &archType, zzip_plugin_io_handlers *pluginIo=NULL)
virtual_l1 void position(Real x, Real y, Real z)
Add a vertex position, starting a new vertex at the same time.
const StringVector & getScriptPatterns(void) const
Gets the file patterns which should be used to find scripts for this class.
@ TVC_EMISSIVE
Definition: OgreCommon.h:308
void setInheritParentEntityOrientation(bool inherit)
Tells the TagPoint whether it should inherit orientation from it's parent entity.
#define OGRE_CAPS_VALUE(cat, val)
Definition: OgreRenderSystemCapabilities.h:52
GeometryAllocatedObject DebugGeomAlloc
Definition: OgreMemoryAllocatorConfig.h:306
@ Position
Definition: OgreArrayMemoryManager.h:307
virtual void _useLights(const LightList &lights, unsigned short limit)=0
Tells the rendersystem to use the attached set of lights (and no others) up to the number specified (...
Utility class providing helper methods for reading / writing structured data held in a DataStream.
Definition: OgreStreamSerialiser.h:71
MultiSourceVertexBufferPool * createMultiSourceVertexBufferPool(const VertexElement2VecVec &vertexElementsBySource, size_t maxNumVertices, BufferType bufferType)
map< String, HighLevelGpuProgramFactory * >::type FactoryMap
Definition: OgreHighLevelGpuProgramManager.h:76
static void setGenerateAllConstantDefinitionArrayEntries(bool generateAll)
Sets whether all array entries will be generated and added to the definitions map.
virtual void setFsaaResolveDirty(void)
Depth buffers never resolve; only colour buffers do.
Definition: OgreD3D11DepthTexture.h:123
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
~Rectangle2DFactory()
Definition: OgreRectangle2D.h:107
bool mSuccess
Whether the work item succeeded or not.
Definition: OgreWorkQueue.h:133
static const String & getPointLightExtruderArbvp1Finite(void)
Get FINITE extruder program source for point lights, compatible with arbvp1.
Definition: OgreShadowVolumeExtrudeProgram.h:281
Content
Definition: OgreShaderParameter.h:76
Vector3 mPosition
Definition: OgreBillboard.h:82
VaoManager * getVaoManager(void) const
Definition: OgreRenderSystem.h:1117
void setExtents(const Vector3 &min, const Vector3 &max)
Sets both minimum and maximum extents at once.
void doSet(void *target, const String &val)
@ VET_SHORT2
Definition: OgreVertexElements.h:79
ScaleControllerFunction(Real scalefactor, bool deltaInput)
Constructor, requires a scale factor.
const Camera * getCurrentCamera() const
String exportLocation
Definition: OgreHlmsTexturePack.h:65
@ PBSM_BLEND_SUBTRACT
Definition: OgreHlmsPbsPrerequisites.h:84
bool getDebugVisualizationMode(void) const
void seek(size_t pos)
Repositions the read point to a specified byte.
float getPoseWeight(const Ogre::String &poseName) const
UavBufferPacked * buffer
Definition: OgreCompositorNamedBuffer.h:49
void setSpecularColour(const ColourValue &colour)
Sets the colour of the specular light given off by this source.
float4(const Vector4 &val)
Definition: OgreShaderPrimitives.h:76
size_t getFirstObjectData(ObjectData &outObjectData, size_t renderQueue)
Retrieves a ObjectData pointing to the first MovableObject in the given render queue.
~TextureSource(void)
Destructor.
virtual bool isActive() const
Used to retrieve or set the active state of the render target.
void setUseIdentityProjection(bool useIdentityProjection)
Sets whether or not to use an 'identity' projection.
Definition: OgreRenderable.h:188
RealAsUint *RESTRICT_ALIAS mDistanceToCamera
Ours is mDistanceToCamera[mIndex].
Definition: OgreObjectData.h:78
const CompositorTargetDef * getParentTargetDef(void) const
bool isBorderTop(const OctreeNode &root) const
Gets whether this cell is at the top of the given root cell.
Definition: OgreVolumeOctreeNode.h:261
reference back()
Definition: OgreMain/include/OgreSmallVector.h:227
virtual void setVertexTextureFetchRequired(bool r)
Sets whether this vertex program requires support for vertex texture fetch from the hardware.
Definition: OgreGpuProgram.h:364
virtual void _setTexturesCS(uint32 slotStart, const DescriptorSetTexture *set)=0
void clearControllers(void)
Destroys all the controllers in existence.
virtual void _initialize(TextureGpuManager *textureGpuManager)=0
static unsigned int parseUnsignedInt(const String &val, unsigned int defaultValue=0)
Converts a String to a whole number.
RenderQueue * getRenderQueue(void) const
Returns the RenderQueue.
Definition: OgreSceneManager.h:1228
@ SKELETON_ANIMATION
Definition: OgreSkeletonFileFormat.h:79
@ SPC_POSTOLIGHT_WORLD_SPACE0
Light vector in world space index 0-7.
Definition: OgreShaderParameter.h:137
TextureUnitState * createTextureUnitState(void)
Inserts a new TextureUnitState object into the Pass.
General utility class for building edge lists for geometry.
Definition: OgreEdgeListBuilder.h:172
CompositorNodeDef * addNodeDefinition(const String &name)
Returns a new node definition. The name must be unique, throws otherwise.
@ PFG_Y216
Definition: OgrePixelFormatGpu.h:172
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...
HlmsDatablock * getDatablock(IdString name) const
Retrieves an exisiting datablock (i.e.
virtual void bindBufferGS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
static void bswapBuffer(void *pData, size_t size)
Reverses byte order of buffer.
Definition: OgreBitwise.h:116
AnyNumeric & operator+=(const AnyNumeric &rhs)
Definition: OgreAny.h:346
@ TU_DYNAMIC_WRITE_ONLY_DISCARDABLE
same as HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE
Definition: OgreTexture.h:61
void _notifyDirty(void)
Set the dirty flag and dirty frame number on this state set.
@ OT_PATCH_30_CONTROL_POINT
Definition: OgreHlmsPso.h:89
virtual ~GL3PlusTextureManager()
Real parametric
Definition: OgreVertexIndexData.h:98
TextureGpu * getFinalTarget(void) const
Returns the RenderTarget we're rendering to.
void setFontName(const String &font)
void _useLights(const LightList &lights, unsigned short limit)
Tells the rendersystem to use the attached set of lights (and no others) up to the number specified (...
virtual PageContentCollection * createContentCollection(const String &typeName)
Create a new PageContentCollection within this page.
void setRenderQueueSubGroup(uint8 subGroup)
Sets the render queue sub group.
virtual void setActiveProfile(const String &name)
Set the active profile by name.
Definition: OgreTerrainMaterialGenerator.h:219
virtual void changeEnableState(bool enabled)
virtual ~D3D11StereoDriverAMD()
virtual void removeChild(const String &name)
Removes a named element from this container.
static const IdString TexMatrixCount1
Definition: OgreHlmsUnlitMobile.h:97
const String & getDescription() const
Get the description of this profile.
Definition: OgreTerrainMaterialGenerator.h:184
void removeAllTerrains()
Remove all terrain instances.
virtual bool isStaticBufferLockable() const
Definition: OgreRenderSystem.h:222
@ IM_USEONEWEIGHT
Use one weight per vertex when recommended (i.e.
Definition: OgreCommon.h:371
void removeEmitter(ParticleEmitter *emitter)
Removes an emitter from the system.
GL surface descriptor.
Definition: OgreGL3PlusRenderTexture.h:44
bool allowWriteAfterWrite
Definition: OgreCompositorPassComputeDef.h:93
~BillboardParticleRenderer()
const SkeletonAnimationDefVec & getAnimationDefs(void) const
Definition: OgreSkeletonDef.h:147
virtual void flushCommands(void)=0
const SharedPtr< ControllerValue< T > > & getDestination(void) const
Gets the output controller value.
Definition: OgreController.h:184
D3DCOLORVALUE DXGI_RGBA
Definition: OgreD3D11LegacySDKEmulation.h:41
ID3D11Buffer * getD3DVertexBuffer(void) const
Get the D3D-specific vertex buffer.
TexturePtr getByName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Get a resource by name.
void swapBuffers()
Swap buffers - only useful when using multisample buffers.
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:177
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:115
@ ID_COMPOSITOR
Definition: OgreScriptCompiler.h:806
virtual float getViewPointToPixelScale()
Many windowing systems that support HiDPI displays use special points to specify size of the windows ...
Definition: OgreRenderWindow.h:91
size_t getVboPoolIndex(void)
Definition: OgreGLES2BufferInterface.h:67
OGRE_RW_MUTEX(mNeighbourMutex)
vector< Operand >::type OperandVector
Definition: OgreShaderFunctionAtom.h:180
ConstVectorIterator< TextureUnitStates > ConstTextureUnitStateIterator
Definition: OgrePass.h:505
GL3PlusHardwareIndexBuffer(HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer)
int getActualTop(void) const
Gets one of the actual dimensions of the viewport, a value in pixels.
IdString textureName
Definition: OgreTextureDefinition.h:53
vector< Function * >::type ShaderFunctionList
Definition: OgreShaderFunction.h:221
Struct that holds a number of cameras used in the current rendering pass.
Definition: OgreSceneManager.h:180
void _notifyShadowMappingBackFaceSetting(void)
Internal use.
Archive * _getArchiveToResource(const String &resourceName, const String &groupName=DEFAULT_RESOURCE_GROUP_NAME, bool searchGroupsIfNotFound=true)
virtual void initGPUProfiling(void)
ScriptingAllocatedObject ScriptTranslatorAlloc
Definition: OgreMemoryAllocatorConfig.h:332
void setBackgroundDiffuse(const ColourValue &bgDiffuse)
Sets the diffuse background colour.
static const IdString VctDisableSpecular
Definition: OgreHlmsPbs.h:556
A WaitableEvent is useful in the scenario of a singler consumer, multiple producers The consumer will...
Definition: OgreWaitableEvent.h:54
virtual void _releaseBufferCopies(bool forceFreeUnused=false)
Internal method for releasing all temporary buffers which have been allocated using BLT_AUTOMATIC_REL...
@ SPC_LIGHTDIRECTION_VIEW_SPACE4
Definition: OgreShaderParameter.h:191
pointer address(reference x) const
Definition: OgreMemorySTLAllocator.h:148
virtual void setManualNamedConstantsFile(const String ¶mDefFile)
Specifies the name of a file from which to load named parameters mapping for a program which would no...
map< String, Overlay * >::type OverlayMap
Definition: OgreOverlayManager.h:55
Class for providing backwards-compatibility for loading version 1.10 of the .mesh format.
Definition: OgreMeshSerializerImpl.h:199
bool _fireFrameStarted()
Method for raising frame started events.
WaveformType waveType
Definition: OgreTextureUnitState.h:142
void buildStart(uint32 resolution, Camera *camera, PixelFormatGpu pixelFormat=PFG_RGBA8_UNORM_SRGB, float camNear=0.5f, float camFar=500.0f)
Issues GPU commands to render into all probes and obtain depth from it.
virtual void frameEnd(Real timeElapsed, PagedWorldSection *section)
Called when the frame ends.
Definition: OgrePageStrategy.h:93
BillboardSet(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, unsigned int poolSize=20, bool externalDataSource=false, uint8 renderQueueId=110u)
Usual constructor - this is called by the SceneManager.
bool canHandleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
Class that provides convenient interface to establish a linkage between custom user application objec...
Definition: OgreUserObjectBindings.h:50
MemoryDataStream(size_t size, bool freeOnClose=true, bool readOnly=false)
Create a stream with a brand new empty memory chunk.
@ ID_FIRST_RENDER_QUEUE
Definition: OgreScriptCompiler.h:915
MetalDepthTexture(bool shareableDepthBuffer, ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, MetalDevice *device)
void setGLMapBufferThreshold(const size_t value)
unsigned int vertexIndex
Definition: OgreVertexBoneAssignment.h:55
void setMaterial(const MaterialPtr &material)
Sets the material to use for the whole of this Item.
struct Ogre::_ConfigOption ConfigOption
Packages the details of a configuration option.
~GLES2HardwareOcclusionQuery()
Object destructor.
unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
unsigned int getAdapterNumber() const
Definition: OgreD3D9Driver.h:58
virtual void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Copies the current contents of the render target to a pixelbox.
Definition: OgreNULLRenderWindow.h:55
Listener that can be hooked to an Hlms implementation for extending it with custom code.
Definition: OgreHlmsListener.h:58
Represents a Direct3D rendering resource.
Definition: OgreD3D11DeviceResource.h:42
bool isModified() const
Definition: OgrePage.h:189
void getAsQuaternion(Quaternion &out, size_t index) const
Definition: C/OgreArrayQuaternion.h:80
@ G2D_Y_Z
Grid is in the Y/Z plane.
Definition: OgreGrid2DPageStrategy.h:56
virtual void releaseContext()
Release the render context.
FrustumCorners
Definition: OgreCompositorPassQuadDef.h:69
vector< ParameterDef >::type ParameterList
Definition: OgreStringInterface.h:79
Definition: OgreScriptTranslator.h:325
void nodeAttached(Transform &outTransform, size_t depth)
Requests memory for the given transform to be attached, transferring existing values inside to the ne...
static const IdString UvCount3
Definition: OgreHlms.h:837
D3D9HardwareBufferManagerBase()
virtual void freeInternalResourcesImpl(void)
free internal resources
@ NUM_PBSM_BLEND_MODES
Definition: OgreHlmsPbsPrerequisites.h:94
size_t triStart
Index to main triangles array, indicate the first triangle of this edge group, and all triangles of t...
Definition: OgreEdgeListBuilder.h:113
TextureAddressingMode
Definition: OgreHlmsSamplerblock.h:46
void setUpdatedTrackedDataFromCamera(Camera *trackedCamera)
Will update both mTrackedPosition with appropiate settings every time it's called.
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.
HardwareAnimationDataList hwAnimationDataList
VertexElements used for hardware morph / pose animation.
Definition: OgreVertexIndexData.h:102
IdString bufferName
Definition: OgreCompositorPassComputeDef.h:89
void setComputeProgramParameters(GpuProgramParametersSharedPtr params)
Sets the Tessellation Evaluation program parameters.
bool ArrayMaskR
Definition: OgreArrayConfig.h:165
static const int MeshShiftTransp
Definition: OgreRenderQueue.h:312
virtual Real getHoldRadius() const
Get the Holding radius.
Definition: OgreGrid3DPageStrategy.h:146
void setActiveHullShader(GLSLShader *hullGpuProgram)
Set the active hull(control) shader for the next rendering state.
Struct containing information about a frame event.
Definition: OgreFrameListener.h:45
virtual void setHidden(bool hidden)
Hide (or show) the window.
Definition: OgreD3D11Window.h:74
vector< UniformParameterPtr >::type UniformParameterList
Definition: OgreShaderParameter.h:566
virtual void passPreExecute(CompositorPass *pass)
Called when each pass is about to be executed.
static ArrayMaskI And(ArrayMaskI a, ArrayMaskI b)
Definition: OgreMathlibC.h:162
static IdType generateNewId()
Definition: OgreId.h:46
@ Center
The subsample locations are centered in a grid.
Definition: OgreCommon.h:919
Implementation to create the Transform variables needed by Nodes & SceneNodes.
Definition: OgreArrayMemoryManager.h:294
virtual void setDesiredIntegerBitDepth(ushort bits)
Sets desired bit depth for integer pixel format textures.
void _notifyUniformBufferDestroyed(HardwareUniformBuffer *buf)
Notification that at hardware uniform buffer has been destroyed.
static const uint16 WORKQUEUE_LOAD_TERRAIN_PAGE_REQUEST
Definition: OgreTerrainPagedWorldSection.h:156
bool getVertexTextureUnitsShared(void) const
Get whether the vertex texture units are shared with the fragment processor.
Definition: OgreRenderSystemCapabilities.h:834
@ PFG_BC1_UNORM
BC1, aka DXT1 & DXT2.
Definition: OgrePixelFormatGpu.h:123
void _setVertexTexture(size_t unit, TextureGpu *tex)
See RenderSystem.
static D3D11_COMPARISON_FUNC get(CompareFunction cf)
return a D3D11 equivalent for a Ogre CompareFunction value
void setFPS(int iFPS)
Sets the frames per second - plugin may or may not use this.
Definition: OgreExternalTextureSource.h:119
const CompositorNodeVec & getNodeSequence(void) const
Definition: OgreCompositorWorkspace.h:339
@ FRUSTUM_PLANE_FAR
Definition: OgreFrustum.h:73
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.
MapIterator< ChildContainerMap > ChildContainerIterator
Definition: OgreOverlayContainer.h:62
static RenderSystemCapabilitiesManager & getSingleton(void)
Override standard Singleton retrieval.
@ Undefined
Let the GPU decide.
Definition: OgreCommon.h:912
bool getOverlaysEnabled(void) const
Returns whether or not Overlay objects (created in the SceneManager) are displayed in this viewport.
void blit(const PixelBox &src)
Blits a set of values into the entire map.
void setMaxPixelError(Real pixerr)
Set the maximum screen pixel error that should be allowed when rendering.
Definition: OgreTerrain.h:1988
virtual void _setSamplers(uint32 slotStart, const DescriptorSetSampler *set)
void setDefaultStagingBufferlifetime(uint32 lifetime, uint32 unfencedTime)
Sets the default time for staging buffers.
String getDataType() const
Returns the type of the data that supported by this codec as a String.
Definition: OgreImageCodec.h:79
#define OGRE_THREAD_SYNCHRONISER(sync)
Definition: OgreThreadDefinesBoost.h:36
@ LB_BlendSubtract
Definition: OgreShaderExLayeredBlending.h:57
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
static PropertyType getTypeForValue(const Matrix4 &val)
Definition: OgreProperty.h:170
virtual void touch(void)
'Touches' the resource to indicate it has been used.
static const IdString FirstValidDetailMapNm
Definition: OgreHlmsPbs.h:528
NameGenerator(const String &prefix)
Definition: OgreNameGenerator.h:66
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
virtual void destroyAnimation(const String &name)
Destroys an Animation.
String getOptimisedSource(void)
Gets he optimised GLSL source.
Definition: OgreGLSLESShader.h:106
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.
FastArray< size_t > const * mSlotStarts
Definition: OgreSkeletonAnimation.h:63
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
const D3DADAPTER_IDENTIFIER9 & getAdapterIdentifier() const
Definition: OgreD3D9Driver.h:59
#define OGRE_LOCK_RW_MUTEX_WRITE(name)
Definition: OgreThreadDefinesBoost.h:64
void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Overridden - see RenderTarget.
virtual void setCellRangeMinY(int32 minY)
Set the index range of all cells (values outside this will be ignored)
void * mRsData
Definition: OgreDescriptorSetTexture.h:316
void setSplitPoints(const SplitPointList &newSplitPoints, Real blend=0.125, Real fade=0.313)
Manually configure a new splitting scheme.
@ ACT_INVERSE_WORLDVIEW_MATRIX
The current world & view matrices concatenated, then inverted.
Definition: OgreGpuProgramParams.h:975
Endian
The endianness of written files.
Definition: OgreSerializer.h:66
virtual bool getCullIndividually(void) const
Returns whether or not particles in this are tested individually for culling.
bool isCsaa(void) const
Returns true if this is CSAA, whether it's quality or not.
VectorImpl::difference_type difference_type
Definition: OgreCommon.h:462
static GLenum get(TextureTypes::TextureTypes textureType, bool cubemapsAs2DArrays)
bool mEnabled
Definition: OgreSkeletonAnimation.h:65
HLSLProgramProcessor()
Class constructor.
void updateSceneGraph()
Updates the scene: Perform high level culling, Node transforms and entity animations.
void redefine(const Vector3 &rkPoint0, const Vector3 &rkPoint1, const Vector3 &rkPoint2)
Redefine this plane based on 3 points.
D3D11HLSLProgram * pixelShader
Definition: OgreD3D11HlmsPso.h:56
bool removeAllShaderBasedTechniques(const String &materialName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Remove all shader based techniques of the given material.
virtual void destroyStaticGeometry(v1::StaticGeometry *geom)
Remove & destroy a StaticGeometry instance.
ConstVectorIterator< LodValueArray > LodValueIterator
Definition: OgreMaterial.h:93
static const IdString UvAtlas3
Definition: OgreHlmsUnlitMobile.h:146
A GeometryBucket is a the lowest level bucket where geometry with the same vertex & index format is s...
Definition: OgreStaticGeometry.h:194
Records the assignment of a single vertex to a single bone with the corresponding weight.
Definition: OgreVertexBoneAssignment.h:54
Profile(const String &profileName, ProfileSampleFlags::ProfileSampleFlags flags, uint32 groupID=(uint32) OGREPROF_USER_DEFAULT)
uint32 getQueryFlags(void) const
Returns the query flags relevant for this object.
virtual RenderTexture * createRenderTexture(const String &name, const GLES2SurfaceDesc &target, bool writeGamma, uint fsaa)=0
Create a texture rendertarget object.
@ Type90
Definition: OgreIesLoader.h:42
Manages Font resources, parsing .fontdef files and generally organising them.
Definition: OgreFontManager.h:45
Implementation of a general purpose request / response style background work queue.
Definition: OgreDefaultWorkQueueStandard.h:40
virtual void defineTerrain(long x, long y, const String &filename)
Define the content of a 'slot' in the terrain grid.
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Override so we can attach the depth buffer to the FBO.
uint32 getDepthOrSlices(void) const
virtual void _setDepthBufferDefaults(uint16 depthBufferPoolId, bool preferDepthTexture, PixelFormatGpu desiredDepthBufferFormat)
These 3 values are used as defaults for the compositor to use, but they may be explicitly overriden b...
virtual const DriverVersion & getDriverVersion(void) const
Returns the driver version.
Definition: OgreRenderSystem.h:1089
bool getEnabled() const
Gets whether this profiler is enabled.
bool hasAnimation(IdString name) const
bool operator==(const SampleDescription &rhs) const
Definition: OgreCommon.h:955
void freeImportData()
Destroy temp import resources.
virtual Real _getDerivedLeft(void)
Gets the 'left' position as derived from own left and that of parents.
SceneCtlAllocatedObject ShadowDataAlloc
Definition: OgreMemoryAllocatorConfig.h:333
virtual StreamSerialiser * _writePageStream(PageID pageID)
Get a serialiser set up to write Page data for the given PageID.
ParticleSystemRendererFactory()
Definition: OgreParticleSystemRenderer.h:133
virtual bool getInheritOrientation(void) const
Returns true if this OldNode is affected by orientation applied to the parent OldNode.
Command object for cull_each (see ParamCommand).
Definition: OgreParticleSystem.h:92
void setInputName(const String &sIN)
Sets an input file name - if needed by plugin.
Definition: OgreExternalTextureSource.h:115
virtual Terrain::ImportData & getDefaultImportSettings()
Retrieve a shared structure which will provide the base settings for all terrains created via this gr...
Definition: OgreTerrainGroup.h:108
Real getMaxPixelError() const
Get the maximum screen pixel error that should be allowed when rendering.
Definition: OgreTerrain.h:1981
This abstract node represents an import statement.
Definition: OgreScriptCompiler.h:164
const SceneManagerMetaData * getSceneManagerMetaData(const String &typeName) const
Get more information about a given type of SceneManager.
Real mTimeToLive
Time to live, number of seconds left of particles natural life.
Definition: OgreParticle.h:94
uint32 getMaxZ(void) const
Definition: OgreTextureBox.h:76
Definition: OgreCompositorPass.h:55
bool hasNegativeScale() const
Determines if this matrix involves a negative scaling.
Definition: OgreMatrix4.h:545
virtual void colour(const ColourValue &col)
Add a vertex colour to a vertex.
A very simple spline class which implements the Catmull-Rom class of splines.
Definition: OgreSimpleSpline.h:59
const GpuLogicalBufferStructPtr & getIntLogicalBufferStruct() const
Get the current list of mappings from low-level logical param indexes to physical buffer locations in...
Definition: OgreGpuProgramParams.h:1847
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 void readData(size_t offset, size_t length, void *pDest)=0
Reads data from the buffer and places it in the memory pointed to by pDest.
size_t getNumNodeTracks(void) const
Gets the number of NodeAnimationTrack objects contained in this animation.
Controller< Real > * controller
Definition: OgreTextureUnitState.h:147
void generateConstantDefinitionArrayEntries(const String ¶mName, const GpuConstantDefinition &baseDef)
Generate additional constant entries for arrays based on a base definition.
virtual bool isStereoEnabled(const String &renderWindowName)
void setSize(uint16 newSize)
Set the size of terrain in vertices along one side.
bool _fireFrameRenderingQueued(FrameEvent &evt)
Method for raising frame rendering queued events.
short int16
Definition: OgrePlatform.h:458
virtual void bindBufferGS(uint16 slot)
Definition: OgreNULLConstBufferPacked.h:49
static size_t getConstBufferSizeStatic(void)
map< String, SceneManager * >::type Instances
Scene manager instances, indexed by instance name.
Definition: OgreSceneManagerEnumerator.h:91
bool isCompressed(void) const
Definition: OgreTextureBox.h:95
void clearAllInterNodeConnections(void)
Clears all the connection between channels of the nodes (.
String toString() const
Returns the parameter name and the usage mask like this 'color.xyz'.
map< String, ParticleSystemRendererFactory * >::type ParticleSystemRendererFactoryMap
Definition: OgreParticleSystemManager.h:85
virtual void setCellRangeMaxY(int32 maxY)
Set the index range of all cells (values outside this will be ignored)
const CompositorChannelVec & getExternalRenderTargets(void) const
Usually by convention the RenderTarget[0] is the one we're rendering to. May be empty.
Definition: OgreCompositorWorkspace.h:350
void releaseRenderBuffer(const GLES2SurfaceDesc &surface)
Release a render buffer.
void _finishSwitchingFullscreen()
Indicate that fullscreen / windowed switching has finished.
bool hasSceneManager(const String &instanceName) const
Determines if a given SceneManager already exists.
CG Language program processor class.
Definition: OgreShaderHLSLProgramProcessor.h:47
CategorisedAlignAllocPolicy< Ogre::MEMCATEGORY_RESOURCE > ResourceSimdAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:274
HardwareBufferLockGuard()
Definition: OgreHardwareBuffer.h:357
@ GPV_ALL
Full mask (16-bit)
Definition: OgreGpuProgramParams.h:145
virtual void postLoadImpl()
overridden from Resource
float mDetailNormalWeight[4]
Definition: OgrePbsMobileShaderCreationData.h:61
bool _getBuffersMarkedForAnimation(void) const
Are buffers already marked as vertex animated?
Definition: OgreEntity.h:655
bool isManualBone(Bone *bone)
Returns true if the bone is manually controlled.
bool contains(const Vector3 &v) const
Tests whether the given point contained by this box.
virtual void frameEnd(Real timeElapsed)
Called when the frame ends.
const HlmsDatablockMap & getDatablocks(void) const
Returns all registered datablocks.
Definition: OgreHlmsManager.h:293
vector< uint16 >::type BlockIdxVec
Definition: OgreHlmsManager.h:80
Real getDuration(void) const
Gets animation length, in seconds.
virtual DataStreamPtr encode(MemoryDataStreamPtr &input, CodecDataPtr &pData) const =0
Codes the data in the input stream and saves the result in the output stream.
GeneralAllocatedObject MeshLodAlloc
Definition: OgreLodPrerequisites.h:70
Definition: OgreGL3PlusDescriptorSetTexture.h:46
void connectBuffer(IdString outNode, uint32 outChannel, IdString inNode, uint32 inChannel)
Connects outNode's output buffer channel to inNode's input buffer channel.
@ GCT_MATRIX_4X2
Definition: OgreGpuProgramParams.h:91
FORCEINLINE const SimpleMatrixAf4x3 & _getLocalSpaceTransform(void) const
Gets the transformation matrix for this bone in local space (i.e.
Definition: OgreBone.h:268
virtual void resetToBaseValue(void)
@ ID_SPECULAR
Definition: OgreScriptCompiler.h:650
void setGlobalNumberOfInstances(const size_t val)
Sets the global number of instances.
virtual bool isPrepared(void) const
Returns true if the Resource has been prepared, false otherwise.
Definition: OgreResource.h:339
@ HBL_READ_ONLY
Lock the buffer for reading only.
Definition: OgreHardwareBuffer.h:134
static DWORD get(LayerBlendSource lbs, bool perStageConstants)
return a D3D9 equivalent for a Ogre LayerBlendSource value
size_t bytesPerVertex
Definition: OgreSubMesh2.h:289
unsigned long long int RequestID
Numeric identifier for a request.
Definition: OgreWorkQueue.h:85
uint8 mStartingSlot
Max value (0xff) means don't alter it.
Definition: OgreCompositorPassUavDef.h:100
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...
bool getPoseHalfPrecision()
Definition: OgreSubMesh2.h:207
StrideChanger()
Definition: OgreGLES2VaoManager.h:62
A interface class defining a listener which can be used to receive notifications of frame events.
Definition: OgreFrameListener.h:80
const Matrix4 & _getParentNodeFullTransform(void) const
Returns the full transformation of the parent sceneNode or the attachingPoint node.
Definition: OgreMetalDescriptorSetTexture.h:61
void bindDrawId(void)
Binds the Draw ID to the currently bound vertex array object.
BufferPacked(size_t internalBufferStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface)
Generic constructor.
@ ANT_VARIABLE_ACCESS
Definition: OgreScriptCompiler.h:87
virtual void preRenderTargetUpdate(const RenderTargetEvent &evt)
Called just before a RenderTarget is about to be rendered into.
Definition: OgreRenderTargetListener.h:100
virtual bool requiresTextureFlipping(void) const
Definition: OgreGL3PlusDepthTexture.h:105
EGLDisplay getGLDisplay()
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
virtual void cleanupEmptyPools(void)=0
Frees GPU memory if there are empty, unused pools.
virtual ~GpuProgramManager()
void setPosition(Real left, Real top)
Sets the position of the top-left corner of the element, relative to the screen size (1....
ImageDownsampler2D downscale2x_Float32_X
Definition: OgreImageDownsampler.h:148
static D3D_FEATURE_LEVEL parseFeatureLevel(const Ogre::String &value, D3D_FEATURE_LEVEL fallback)
virtual ~AndroidEGLSupport()
IdString const * blendModeIndex
Definition: OgreUnlitProperty.h:135
static const IdString UvDiffuse0
UV source # assigned to each texture.
Definition: OgreUnlitProperty.h:77
virtual const String & getTargetLanguage() const
Return the target language of this processor.
Definition: OgreShaderHLSLProgramProcessor.h:60
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:142
static void Set(ArrayReal &dst, Real val, size_t index)
Definition: OgreMathlibC.h:278
DescriptorSetTexture2()
Definition: OgreDescriptorSetTexture.h:320
bool _isUpdatingRenderablesHlms(void) const
virtual const String & getType(void) const =0
Get the type of the object to be created.
Definition: OgreAPKFileSystemArchive.h:84
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.
@ CopySrc
Definition: OgreResourceTransition.h:55
@ PF_D24_UNORM_S8_UINT
Depth texture format.
Definition: OgrePixelFormat.h:338
void _setTwin(SceneMemoryMgrTypes memoryManagerType, ObjectMemoryManager *twinMemoryManager)
@See mMemoryManagerType
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...
VectorIterator< PoseRefList > PoseRefIterator
Definition: OgreKeyFrame.h:235
TextureSlot texture
Definition: OgreDescriptorSetUav.h:157
virtual ParticleEmitter * createEmitter(ParticleSystem *psys)=0
Creates a new emitter instance.
@ SHADOWMAP_PSSM
Definition: OgreCompositorShadowNodeDef.h:52
@ ID_EQUAL
Definition: OgreScriptCompiler.h:680
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...
bool isSupported(void) const
Indicates if this technique is supported by the current graphics card.
@ SPC_COLOR_SPECULAR
Specular color.
Definition: OgreShaderParameter.h:273
const String & getResourceType(void) const
Gets a string identifying the type of resource this manager handles.
Definition: OgreResourceManager.h:491
Animation * getAnimation(unsigned short index) const
Gets a single animation by index.
virtual ~Win32EGLWindow()
virtual Real getSquaredViewDepth(const Camera *camera) const
Overridden from Renderable.
@ NEGATIVE_SIDE
Definition: OgrePlane.h:88
@ PF_R16G16_SINT
32-bit pixel format, 16 bits red (signed int), 16 bits blue (signed int).
Definition: OgrePixelFormat.h:194
virtual void passPreExecute(CompositorPass *pass)
Called when each pass is about to be executed.
Definition: OgreCompositorWorkspaceListener.h:65
bool volumeVisible
Another visibility flag to be user setable.
Definition: OgreVolumeChunk.h:115
virtual Real getMaxTimeToLive(void) const
Gets the maximum time each particle will live for.
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, bool explicitResolve=false, bool shareableDepthBuffer=true)
Create a manual texture with a depth of 1 (not loaded from a file).
Definition: OgreTextureManager.h:367
void applyToNode(Node *node, const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)
As the 'apply' method but applies to a specified OldNode instead of associated node.
virtual Item * createItem(const MeshPtr &pMesh, SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC)
Create an Item (instance of a discrete mesh).
MovableObjectFactory()
Definition: OgreMovableObject.h:613
void blit(const HardwarePixelBufferSharedPtr &src, const Box &srcBox, const Box &dstBox)
Copies a box from another PixelBuffer to a region of the this PixelBuffer.
HlmsTexturePack()
Definition: OgreHlmsTexturePack.h:67
~Billboard()
Default destructor.
uint8 _getDynamicBufferCurrentFrameNoWait(void) const
Definition: OgreVaoManager.h:480
virtual void read(Quaternion *q, size_t count=1)
const String & getNameStr(void) const
Definition: OgreSkeletonDef.h:144
VertexArrayObject * vao
Definition: OgreCbDrawCall.h:63
ushort newLodIndex
New level of detail index.
Definition: OgreLodListener.h:88
@ ID_DEPTH_BIAS
Definition: OgreScriptCompiler.h:674
StagingTextureBufferImpl(VaoManager *vaoManager, PixelFormatGpu formatFamily, size_t size, size_t internalBufferStart, size_t vboPoolIdx)
Ogre assumes that there are separate programs to deal with but GLSL has one program object that repre...
Definition: OgreGLSLProgramManager.h:53
void setDatablock(IdString datablockName)
Sets the given HLMS datablock to all SubEntities.
virtual const String & getName() const
Get the name of this section.
Definition: OgrePagedWorldSection.h:99
virtual void _setComputePso(const HlmsComputePso *pso)
Unlike _setPipelineStateObject, the RenderSystem will check if the PSO has changed to avoid redundant...
vector< CompositorTargetDef >::type CompositorTargetDefVec
Definition: OgreCompositorNodeDef.h:49
void setCommonUpVector(const Vector3 &vec)
Use this to specify the common up-vector given to billboards of type BBT_PERPENDICULAR_SELF.
@ MEMCATEGORY_RENDERSYS
Rendersystem structures.
Definition: OgreMemoryAllocatorConfig.h:176
void setTextureUvSource(PbsMobileTextureTypes sourceType, uint8 uvSet)
Sets which UV set to use for the given texture.
Definition: OgreHlmsDatablock.h:233
static String vendorToString(GPUVendor v)
Convert a vendor enum to a string.
void performLoadActions(Viewport *viewport, uint32 entriesToFlush, uint32 uavStartingSlot, const DescriptorSetUav *descSetUav)
virtual void flipVisibility(bool cascade=true)
Inverts the visibility of all objects attached to this node.
virtual void flushUAVs(void)=0
Forces to take effect all the queued UAV binding requests.
@ PF_A2R10G10B10
32-bit pixel format, 2 bits for alpha, 10 bits for red, green and blue.
Definition: OgrePixelFormat.h:108
bool operator==(const Radian &r) const
Definition: OgreMath.h:82
const GpuLogicalBufferStructPtr & getBoolLogicalBufferStruct() const
Get the current list of mappings from low-level logical param indexes to physical buffer locations in...
Definition: OgreGpuProgramParams.h:1859
virtual const String & getType() const
virtual void setMemoryBudget(size_t bytes)
Set a limit on the amount of memory this resource handler may use.
NULLAsyncTextureTicket(uint32 width, uint32 height, uint32 depthOrSlices, TextureTypes::TextureTypes textureType, PixelFormatGpu pixelFormatFamily)
Definition: OgreLodWorkQueueInjectorListener.h:38
const BlockIdxVec & _getActiveBlocksIndices(const HlmsBasicBlock &blockType) const
Gets the indices of active blocks.
@ ACT_LIGHT_ATTENUATION
Light attenuation parameters, Vector4(range, constant, linear, quadric)
Definition: OgreGpuProgramParams.h:1043
uint8 elementCount
The number of colour elements this semantic uses (usually standard per semantic)
Definition: OgreTerrainMaterialGenerator.h:79
Definition: OgreRadialDensityMask.h:59
@ PBSM_BLEND_DIFFERENCE
Definition: OgreHlmsPbsPrerequisites.h:93
Definition: OgreDescriptorSetTexture.h:140
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
ImageDownsampler2D downscale2x_A8
Definition: OgreImageDownsampler.h:61
FFPShaderStage
Definition: OgreShaderFFPRenderState.h:69
void doSet(void *target, const String &val)
virtual void _render(const v1::CbDrawCallStrip *cmd)
virtual void injectionCompleted(LodWorkQueueRequest *request)=0
const String & getOriginalBuffer() const
Definition: OgreHlmsCommon.h:140
static const IdString Forward3DNumSlices
Definition: OgreHlms.h:889
virtual ~GL3PlusNullPixelBuffer()
static ArrayMaskI Or(ArrayMaskI a, ArrayMaskI b)
Definition: OgreMathlibC.h:218
static const IdString PassId
Definition: OgreHlmsLowLevel.h:108
bool hasLogicalIndexedParameters() const
Does this parameter set include logically indexed parameters?
Definition: OgreGpuProgramParams.h:1550
void load(uint16 depthStart, uint16 depthEnd)
Load node and children in a depth range (perform GPU tasks, will be render thread)
void getHSB(Real *hue, Real *saturation, Real *brightness) const
Convert the current colour to Hue, Saturation and Brightness values.
@ CB_SET_CONSTANT_BUFFER_GS
Definition: OgreCbCommon.h:48
virtual bool preCreateGpuPrograms(ProgramSet *programSet)
bool hasTessellationDomainProgram(void) const
Returns true if this pass uses a programmable tessellation control pipeline.
Definition: OgrePass.h:194
SceneMemoryMgrTypes getMemoryManagerType() const
Definition: OgreObjectMemoryManager.h:92
Real getSpaceWidth() const
bool validateMaterialIlluminationPasses(const String &schemeName, const String &materialName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Validate specific material scheme.
static const IdString StaticBranchLights
Definition: OgreHlms.h:860
Definition: OgreD3D11TextureGpuManager.h:48
const ContentCollectionFactoryMap & getContentCollectionFactories() const
Get a reference to the registered strategies.
void setBorderMaterialName(const String &name)
Sets the name of the material to use for the borders.
static const IdString TextureMatrix
Definition: OgreUnlitProperty.h:47
Nested struct defining a resource declaration.
Definition: OgreResourceGroupManager.h:295
void setKeepDeclarationOrder(bool keepOrder)
Sets whether or not to keep the original declaration order when queuing the renderables.
Definition: OgreManualObject.h:395
static void _configureMeshLodUsage(const LodConfig &lodConfig)
Definition: OgreLodCollapseCostProfiler.h:43
void setConfigOption(const String &name, const String &value)
See RenderSystem.
Real dx
Definition: OgreDualQuaternion.h:166
GL3PlusSupport * getGLSupport()
Definition: GLX/OgreGL3PlusUtil.h:36
@ 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:284
Specialisation of GLSLESProgramCommon to provide support for separable programs via the Open GL progr...
Definition: OgreGLSLESProgramPipeline.h:71
Viewport * getLastViewport(void) const
Get the last viewport which was attached to this camera.
Definition: OgreCamera.h:596
Log * setDefaultLog(Log *newLog)
Sets the passed in log as the default log.
void _setAutoDelete(bool autoDelete)
void setPriority(uint16 priority)
When two probes overlap, you may want one probe to have particularly more influence than the others.
TextureGpu * masterTexture
Definition: OgreTextureGpuManager.h:69
@ PROP_VECTOR3
Definition: OgreProperty.h:115
@ PFG_EAC_R11G11_UNORM
Definition: OgrePixelFormatGpu.h:225
String validateConfig(void)
Make sure all the extra options are valid.
@ PBSM_BLEND_NORMAL_NON_PREMUL
Regular alpha blending.
Definition: OgreHlmsPbsPrerequisites.h:80
@ HLMS_USER3
Definition: OgreHlmsCommon.h:186
@ IT_16BIT
Definition: OgreHardwareIndexBuffer.h:52
const LodValueArray * _getLodValueArray(void) const
Definition: OgreMesh.h:1037
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...
virtual void getShadowCamera(const SceneManager *sm, const Camera *cam, const Light *light, Camera *texCam, size_t iteration, const Vector2 &viewportRealSize) const
Default shadow camera setup.
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.
SlotType
Definition: OgreDescriptorSetTexture.h:135
AnimationStateSet(const AnimationStateSet &rhs)
Create an animation set by copying the contents of another.
void flipAroundX(void)
Flips (mirrors) the image around the X-axis.
HardwareUniformBufferSharedPtr(HardwareUniformBuffer *buf)
virtual bool getPassSurfaceAndLightStates(void) const
Returns whether a vertex program wants light and material states to be passed through fixed pipeline ...
Definition: OgreGpuProgram.h:417
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
CbShaderBuffer(ShaderType shaderType, uint16 _slot, TexBufferPacked *_bufferPacked, uint32 _bindOffset, uint32 _bindSizeBytes)
@ VSOCP_HIGH
Definition: OgreShaderPrerequisites.h:90
static void translateProgramParameters(ScriptCompiler *compiler, GpuProgramParametersSharedPtr params, ObjectAbstractNode *obj)
unsigned short getNumSubMeshes(void) const
Gets the number of sub meshes which comprise this mesh.
virtual void _renderEmulated(const CbDrawCallIndexed *cmd)
String getErrorDescription(long errorNumber)
Utility function for getting a better description of an error code.
Command object for specifying transparency (see ParamCommand).
Definition: OgrePanelOverlayElement.h:122
bool mPackNonPow2
Whether non-power-of-2 textures should also be pooled, or we should return 1.
Definition: OgreTextureGpuManagerListener.h:88
void setSelfIllumination(const ColourValue &selfIllum)
Sets the amount of self-illumination of every Pass in every Technique.
unsigned short getIndex(void) const
Gets the index of this Pass in the parent Technique.
Definition: OgrePass.h:205
void clear()
Empties this set of all particles.
virtual ~GL3PlusDepthPixelBuffer()
void _keyFrameDataChanged(void) const
Internal method used to tell the track that keyframe data has been changed, which may cause it to reb...
void _beginFrame(void)
See RenderSystem.
virtual unsigned short _getEmissionCount(Real timeElapsed)=0
Gets the number of particles which this emitter would like to emit based on the time elapsed.
void getVector(const Vector3 &inVec, Vector3 *outVec) const
Translate a vector into world space based on the alignment options.
ImageDownsamplerCube downscale2x_sRGB_XXXA8888_cube
Definition: OgreImageDownsampler.h:192
void destroyBlendblock(const HlmsBlendblock *Blendblock)
Block(size_t _offset, size_t _size)
Definition: OgreGLES2VaoManager.h:55
@ SPC_POSTOLIGHT_WORLD_SPACE6
Definition: OgreShaderParameter.h:143
@ ID_BLEND_TEXTURE_ALPHA
Definition: OgreScriptCompiler.h:768
virtual ~PlaneOptimalShadowCameraSetup()
Destructor.
StdMap< GpuTrackedResource *, ResourceAccess::ResourceAccess > ResourceAccessMap
Definition: OgreResourceTransition.h:138
void createTextures(void)
@See HlmsPso.
Definition: OgreD3D11HlmsPso.h:46
Class to do pixel format mapping between GL and OGRE.
Definition: OgreGL3PlusPixelFormat.h:39
virtual void fillConstBufferData(Viewport *viewport, TextureGpu *renderTarget, IdString shaderSyntax, bool instancedStereo, float *RESTRICT_ALIAS passBufferPtr) const
Fills 'passBufferPtr' with the necessary data for ForwardClustered rendering.
ConcreteNodeListPtr parse(const ScriptTokenListPtr &tokens, const String &sourceFile)
OverlayElement * cloneOverlayElementFromTemplate(const String &templateName, const String &instanceName)
Definition: OgreScriptTranslator.h:272
static const IdString BlendModeIdx2
Definition: OgreHlmsUnlitMobile.h:127
static CommandBufferExecuteFunc execute_drawV1Indexed
Definition: OgreCommandBuffer.h:95
const Vector3 & getPosition() const
Get the world position of the terrain centre.
Definition: OgreTerrain.h:1101
@ Type90
Definition: OgreIesLoader.h:51
D3D11RenderSystem * getD3D11RenderSystem(void) const
Definition: OgreD3D11VaoManager.h:284
void getRenderOperation(RenderOperation &op, bool casterPass)
Overridden - see Renderable.
@ PF_R8_SINT
8-bit pixel format, 8 bits red (signed int).
Definition: OgrePixelFormat.h:184
bool intersects(const Plane &plane) const
Returns whether or not this sphere intersects a plane.
Definition: OgreSphere.h:89
void setMaxCalculableBoneCount(ushort count)
Sets the maximum number of bones for which hardware skinning is performed.
Definition: OgreShaderExHardwareSkinning.h:255
virtual void destroy(void)=0
Destroys the window.
virtual void _clearStateAndFlushCommandBuffer(void)
On D3D11 calls ClearState followed by Flush().
virtual void optimise(void)
Optimise the current track by removing any duplicate keyframes.
Definition: OgreAnimationTrack.h:228
bool getCastShadows(void) const
Returns whether shadow casting is enabled for this object.
void copyMatchingState(AnimationStateSet *target) const
Copy the state of any matching animation states from this to another.
static DWORD get(ShadeOptions so)
return a D3D9 equivalent for a Ogre ShadeOptions value
@ PASS_DEPTHCOPY
Definition: OgreCompositorPassDef.h:59
virtual Animation * getAnimation(unsigned short index) const
Gets a single morph animation by index.
LodWorkQueueInjectorListener * getInjectorListener()
Definition: OgreLodWorkQueueInjector.h:59
vector< SceneNode * >::type SceneNodeList
Definition: OgreSceneManager.h:246
bool isNull(void) const
Definition: OgreSharedPtr.h:309
const VertexData * vertexData
Pointer to vertex data used by this edge group.
Definition: OgreEdgeListBuilder.h:108
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
@ ACT_COSTIME_0_2PI
Cosine of "Time0_2PI". Equivalent to RenderMonkey's "CosTime0_2PI".
Definition: OgreGpuProgramParams.h:1225
const PixelBox & getCurrentLock()
Get the current locked region.
IdStringVec mPrePassTexture
Only used if mPrePassMode == PrePassUse.
Definition: OgreCompositorPassSceneDef.h:91
LODBucket * getParent(void)
Definition: OgreStaticGeometry.h:283
PropertyType
The type of a property.
Definition: OgreProperty.h:105
void _setSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendOperation op)
ArrayAabb()
Definition: C/OgreArrayAabb.h:75
size_t getThreadIdx() const
Definition: OgreThreads.h:104
@ PFG_BC5_SNORM
Definition: OgrePixelFormatGpu.h:140
reverse_iterator rbegin()
Definition: OgreMain/include/OgreSmallVector.h:194
LodOutputProviderCompressedBuffer(v1::MeshPtr mesh)
static Real Log(Real fValue)
Definition: OgreMath.h:335
Definition: OgreD3D11DepthBuffer.h:37
CompositorTargetDef * addTargetPass(const String &renderTargetName, uint32 rtIndex=0)
Adds a new Target pass.
Class for performing a radix sort (fast comparison-less sort based on byte value) on various standard...
Definition: OgreRadixSort.h:89
void writeContentsToFile(const String &filename, uint8 minMip, uint8 maxMip, bool automaticResolve=true)
Writes the current contents of the render target to the named file.
static const IdString DiffuseMapCount4
Definition: OgreHlmsUnlitMobile.h:112
@ PF_UNKNOWN
Unknown pixel format.
Definition: OgrePixelFormat.h:46
void destroyNumericTrack(unsigned short handle)
Destroys the numeric track with the given handle.
void _setDimensions(Real width, Real height)
Sets the width and height of this element in relation to the screen (where 1.0 = screen width)
Matrix4 transpose(void) const
Definition: OgreMatrix4.h:394
bool operator!=(const VectorRange &rhs) const
comparison operator for inequality
Definition: OgreIteratorRange.h:164
ushort previousLodIndex
Previous level of detail index.
Definition: OgreLodListener.h:85
@ OT_PATCH_9_CONTROL_POINT
Definition: OgreHlmsPso.h:68
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from VolumeSource.
virtual void setTimeToLive(Real minTtl, Real maxTtl)
Sets the range of lifetime for particles emitted.
void doSet(void *target, const String &val)
#define _OgreHlmsTextureBaseClassExport
Definition: OgreHlmsPbsDatablock.h:34
RenderSystemCapabilities * getMutableCapabilities()
Get a pointer to the current capabilities being used by the RenderSystem.
Definition: OgreRenderSystem.h:234
bool operator==(const Plane &rhs) const
Comparison operator.
Definition: OgrePlane.h:155
This is a class that is the DirectX9 implementation of hardware occlusion testing.
Definition: OgreD3D9HardwareOcclusionQuery.h:55
const TextureSources & getTextureSources(void) const
Definition: OgreCompositorPassQuadDef.h:125
void invalidateScheme(const String &schemeName)
Invalidate a given scheme.
@ CLIPPED_SOME
Partially clipped.
Definition: OgreCommon.h:902
Material & operator=(const Material &rhs)
Assignment operator to allow easy copying between materials.
bool hasNormals(void) const
virtual void startMapRegion(void)
Must be called from main thread when the StagingBuffer is grabbed.
@ VET_FLOAT2
Definition: OgreVertexElements.h:73
Real * ptr()
Pointer accessor for direct copying.
Definition: OgreQuaternion.h:124
Archive * createInstance(const String &name, bool readOnly)
Creates a new object.
Definition: OgreAPKZipArchive.h:50
GLenum getGlTextureTarget(void) const
Returns GL_TEXTURE_2D / GL_TEXTURE_2D_ARRAY / etc.
Definition: OgreGL3PlusTextureGpu.h:130
void scheduleTransitionTo(GpuResidency::GpuResidency nextResidency, Image2 *image=0, bool autoDeleteImage=true)
Same as unsafeScheduleTransitionTo, but first checks if we're already in the residency state we want ...
@ TypeLeaveChannelR
Definition: OgreTextureFilters.h:58
String doGet(const void *target) const
virtual void setOutputOperationType(OperationType operationType)
Set the operation type that this geometry program will emit.
Definition: OgreGLSLShader.h:127
void doSet(void *target, const String &val)
OGRE_MUTEX(mThreadInitMutex)
void addNotExists(const T &item)
Definition: OgreVectorSetImpl.h:40
AbstractNodeList overrides
Definition: OgreScriptCompiler.h:137
TextureGpu * createWindowDepthBuffer(void)
vector< Threshold >::type ThresholdVec
Definition: OgreHlmsTextureManager.h:94
@ CookTorranceSeparateDiffuseFresnel
Definition: OgreHlmsPbsDatablock.h:122
GL3PlusRenderToVertexBuffer()
Definition: OgreException.h:253
bool operator==(IdString right) const
Definition: OgreCompositorPass.h:62
Abstract factory class.
Definition: OgreFactoryObj.h:45
Definition: OgreRectangle2D2.h:42
@ PBSM_BLEND_MULTIPLY
Definition: OgreHlmsPbsPrerequisites.h:85
void _notifySkeleton(v1::SkeletonPtr &pSkel)
Internal notification, used to tell the Mesh which Skeleton to use without loading it.
@ ACT_SPOTLIGHT_VIEWPROJ_MATRIX
The view/projection matrix of a given spotlight.
Definition: OgreGpuProgramParams.h:1165
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Override so we can attach the depth buffer to the FBO.
static D3DFORMAT _getPF(PixelFormat ogrePF)
utility method, convert Ogre pixel format to D3D9 pixel format
SharedPtr< FileInfoList > FileInfoListPtr
Definition: OgreArchive.h:68
CompareFunction mDepthFunc
Definition: OgreHlmsDatablock.h:82
::EGLContext createNewContext(EGLDisplay eglDisplay, ::EGLConfig glconfig, ::EGLContext shareList) const
String getRenderTargetNameStr() const
Definition: OgreCompositorPassDef.h:279
@ ST_EXTERIOR_CLOSE
Definition: OgreSceneManager.h:2837
SharedPtr< Font > FontPtr
Definition: OgreOverlayPrerequisites.h:49
list< VertexElement >::type VertexElementList
Defines the list of vertex elements that makes up this declaration.
Definition: OgreHardwareVertexBuffer.h:291
IndexPositionMode
Definition: OgreShaderExTextureAtlasSampler.h:217
@ CB_SET_VAO
Definition: OgreCbCommon.h:38
const HighLevelGpuProgramPtr & _getDelegate() const
Get the chosen delegate.
virtual Window * _createRenderWindow(const String &name, uint32 width, uint32 height, bool fullScreen, const NameValuePairList *miscParams=0)=0
Creates a new rendering window.
static size_t getTypeSize(VertexElementType etype)
Utility method for helping to calculate offsets.
unsigned short getSource(void) const
Gets the vertex buffer index from where this element draws it's values.
Definition: OgreHardwareVertexBuffer.h:135
@ VES_BLEND_INDICES
Blending indices.
Definition: OgreVertexElements.h:45
void setTransformAnimation(const TextureTransformType ttype, const WaveformType waveType, Real base=0, Real frequency=1, Real phase=0, Real amplitude=1)
Sets up a general time-relative texture modification effect.
virtual void preExtraThreadsStarted()=0
Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might...
virtual void _update(void)
Overridden from OverlayElement.
These are "default" or "Base" properties common to many implementations and thus defined here.
Definition: OgreHlms.h:815
static const AxisAlignedBox BOX_INFINITE
Definition: OgreAxisAlignedBox.h:818
String name
Definition: OgreRenderSystem.h:79
float * getFloatPointer(size_t pos)
Get a pointer to the 'nth' item in the float buffer.
Definition: OgreGpuProgramParams.h:1896
void unbind(RenderTarget *target)
Unbind a certain render target.
Definition: OgreGL3PlusFBORenderTexture.h:73
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: OgreMesh2.h:203
Predefined controller value for getting / setting a texture coordinate modifications (scales and tran...
Definition: OgreTextureAnimationController.h:22
virtual void swapBuffers(void)
Swaps the frame buffers to display the next frame.
void setNumMipmaps(int numMipmaps)
Sets how many mipmaps have been requested for the texture.
const String & getTypeName(void) const
See OverlayElement.
virtual v1::Animation * createAnimation(const String &name, Real length)
Creates an animation which can be used to animate scene nodes.
ForwardPlusBase * _getActivePassForwardPlus(void)
Definition: OgreSceneManager.h:1274
BufferInterface * getBufferInterface(void) const
Definition: OgreBufferPacked.h:206
ArrayVector3 getMinimum() const
Gets the minimum corner of the box.
virtual_l2 Quaternion convertWorldToLocalOrientation(const Quaternion &worldOrientation)
Gets the local orientation, relative to this node, of the given world-space orientation.
static D3D11_CULL_MODE get(CullingMode cm, bool flip=false)
return a D3D11 equivalent for a Ogre CillingMode value
~GL3PlusDefaultHardwareBufferManager()
Definition: OgreGL3PlusDefaultHardwareBufferManager.h:187
Definition: OgreD3D11LegacySDKEmulation.h:53
String name
Definition: OgreConfigOptionMap.h:51
@ BP_TYPE_INDEX
Definition: OgreBufferPacked.h:85
static const IdString UvDetail2
Definition: OgreHlmsPbs.h:515
uint32 getTypeFlags(void) const
virtual 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.
@ CB_SET_TEXTURE
Definition: OgreCbCommon.h:61
float mNormalMapWeight
Definition: OgrePbsMobileShaderCreationData.h:60
bool sharesSkeletonInstance() const
Returns whether this Item shares it's SkeltonInstance with other Item instances.
virtual SceneNode * createSceneNode(SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC)
Creates an instance of a SceneNode.
@ PF_ASTC_SRGB8A8_6X6_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 6x6)
Definition: OgrePixelFormat.h:297
const DescriptorSetTexture2 * getDescriptorSetTexture2(const DescriptorSetTexture2 &baseParams)
@ Type2D
Definition: OgreTextureGpu.h:58
String dataType() const
Returns the type of the data.
Definition: OgreImageCodec.h:72
static const IdString UseTextureAlpha
Definition: OgreHlmsPbs.h:480
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:102
Factory for GL Frame Buffer Objects, and related things.
Definition: OgreGL3PlusFBORenderTexture.h:61
static void assertSorted(const v1::Mesh::LodValueArray &values)
Assert that the LOD values are sorted from greatest detail to least detail.
@ ACT_SINTIME_0_X
Sine of "Time0_X". Equivalent to RenderMonkey's "SinTime0_X".
Definition: OgreGpuProgramParams.h:1197
@ STALL_NONE
Next map will not stall.
Definition: OgreStagingBuffer.h:43
virtual void _loadJson(const rapidjson::Value &jsonValue, const HlmsJson::NamedBlocks &blocks, HlmsDatablock *datablock, const String &resourceGroup, HlmsJsonListener *listener, const String &additionalTextureExtension) const
Loads datablock values from a JSON value.
Definition: OgreHlms.h:538
void setTextureUScroll(Real value)
As setTextureScroll, but sets only U value.
FileInfoListPtr listResourceFileInfo(const String &groupName, bool dirs=false)
List all files in a resource group with accompanying information.
D3DFORMAT getFormat() const
Definition: OgreD3D9VideoMode.h:55
Definition: OgreD3D11VendorExtension.h:39
Radian operator*(Real f) const
Definition: OgreMath.h:74
@ TEX_TYPE_2D_ARRAY
2D texture array
Definition: OgreTexture.h:99
RenderPassStencilTarget mStencil
Definition: OgreRenderPassDescriptor.h:180
Definition: OgreLodData.h:91
CSGNoiseSource(const Source *src, Real *frequencies, Real *amplitudes, size_t numOctaves, long seed)
Constructor.
Fog sub render state implementation of the Fixed Function Pipeline.
Definition: OgreShaderFFPFog.h:51
vector< const SceneManagerMetaData * >::type MetaDataList
List of available scene manager types as meta data.
Definition: OgreSceneManagerEnumerator.h:93
virtual BackgroundProcessTicket initialiseResourceGroup(const String &name, Listener *listener=0)
Initialise a resource group in the background.
void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
const VertexBoneAssignmentVec & getBoneAssignments()
Gets a const reference to the list of bone assignments.
Definition: OgreSubMesh2.h:145
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:241
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.
static const IdString DiffuseMapCount3
Definition: OgreHlmsUnlitMobile.h:111
virtual bool contains(Real x, Real y) const
Returns true if xy is within the constraints of the component.
const String & getName(void) const
Returns the name of the node.
Definition: OgreNode.h:204
virtual void bakeLodLevel(LodData *data, int lodIndex)
RenderTexture * getRenderTarget(size_t)
Get a render target for this PixelBuffer, or a slice of it.
CompositorTargetDef(const String &renderTargetName, uint32 rtIndex, CompositorNodeDef *parentNodeDef)
bool _isSM4Available() const
Definition: OgreTerrainMaterialGeneratorA.h:147
void stop()
Stop anything special.
void swapBuffers()
RenderWindow::swapBuffers
@ ID_KEEP_PREVIOUS_UAV
Definition: OgreScriptCompiler.h:980
TextureAnimationControllerValue(Ogre::HlmsDatablock *datablock, Ogre::uint8 textureUnit)
Constructor.
virtual ~GLES2NullTexture()
AnyNumeric operator-(const AnyNumeric &rhs) const
Definition: OgreAny.h:326
ProgramManager()
Class default constructor.
static const IdString FwdPlusDecalsSlotOffset
Definition: OgreHlms.h:894
ParticleSystemTranslator()
const MaterialPtr & getMaterial(void) const
See Renderable.
static uint32 getDefaultLightMask()
Get the default light mask for all future MovableObject instances.
Definition: OgreMovableObject.h:565
static ArrayMaskI AndNot(ArrayMaskI a, ArrayMaskI b)
Definition: OgreMathlibC.h:205
FastArray(const FastArray< T > ©)
Definition: OgreFastArray.h:114
@ PFG_ATC_RGBA_INTERPOLATED_ALPHA
ATC (AMD_compressed_ATC_texture)
Definition: OgrePixelFormatGpu.h:233
@ CE_OBJECTBASENOTFOUND
Definition: OgreScriptCompiler.h:219
static const IdString DiffuseMap
Definition: OgreHlmsPbsMobile.h:106
virtual RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
String logObjectInfo(const String &msg, const GLuint obj)
If there is a message in GL info log then post it in the Ogre Log.
void setSamplerblock(const HlmsSamplerblock &samplerblock)
Set samplerblock for every texture unit.
void setGpuBufferAllocator(GpuBufferAllocator *alloc)
Tell this instance to use the given GpuBufferAllocator.
int mMinWidth
Definition: OgreLwString.h:276
@ BCT_INT
Definition: OgreGpuProgramParams.h:57
static const IdString GgxHeightCorrelated
Definition: OgreHlmsPbs.h:568
SceneManager * getSceneManager() const
static const char * DiffuseMap
Definition: OgreHlmsPbs.h:462
Specialised AnimationTrack for dealing with changing vertex position information.
Definition: OgreAnimationTrack.h:603
void setDrawBuffer(ColourBufferType colourBuffer)
Sets the draw buffer type for the next frame.
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.
void loadDynamicImage(void *pData, bool autoDelete, const Image2 *image)
GLES2RenderTexture(const String &name, const GLES2SurfaceDesc &target, bool writeGamma, uint fsaa)
String doGet(const void *target) const
~ProgramSet()
Class destructor.
virtual unsigned short getLastBoundIndex(void) const
Gets the last bound index.
@ Halt
Definition: OgreAssert.h:45
@ ACT_PACKED_UAV_SIZE
Provides packed uav size of the uav unit (index determined by setAutoConstant call).
Definition: OgreGpuProgramParams.h:1345
virtual void reposition(int leftPt, int topPt)=0
Reposition the window.
bool getUseVertexCompressionWhenAvailable() const
Get whether to allow vertex compression to be used when the material generator states that it support...
Definition: OgreTerrain.h:2103
virtual SceneNode * _createSceneNode(SceneNode *parent, NodeMemoryManager *nodeMemoryManager)
ushort getVertexProgramConstantFloatCount(void) const
The number of floating-point constants vertex programs support.
Definition: OgreRenderSystemCapabilities.h:656
size_t getTotalSizeBytes(void) const
Definition: OgreBufferPacked.h:312
TextureGpu * getLightProfilesTexture(void) const
Definition: OgreHlmsPbs.h:415
virtual const GpuNamedConstants & getConstantDefinitions() const
Get the full list of named constants.
Definition: OgreGpuProgram.h:482
vector< StrideChanger >::type StrideChangerVec
Definition: OgreGL3PlusVaoManager.h:82
FileStreamDataStream(const String &name, std::fstream *s, bool freeOnClose=true)
Construct named read-write stream from an STL stream.
void _resetTextureManager(void)
D3D9VideoMode * item(const String &name)
void modifyElement(unsigned short elem_index, unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0)
See VertexDeclaration.
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
const VctVoxelizer * getVoxelizer(void) const
Definition: OgreVctLighting.h:332
float getViewPointToPixelScale()
RenderWindow::getViewPointToPixelScale
void _clearSliceRTT(size_t zoffset)
Lock a box.
Definition: OgreMetalHardwarePixelBuffer.h:116
void freeMemory()
Delete all the memory held by this image, if owned by this image (not dynamic)
void swapBuffers()
Swaps the frame buffers to display the next frame.
static ArrayMatrix4 createAllFromMatrix4(const Matrix4 &m)
Definition: C/OgreArrayMatrix4.h:148
static void SetTls(TlsHandle tlsHandle, void *value)
Mesh(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, VaoManager *vaoManager, bool isManual=false, ManualResourceLoader *loader=0)
Default constructor - used by MeshManager.
@ UNLIT_BLEND_GRAIN_EXTRACT
Definition: OgreHlmsUnlitPrerequisites.h:74
void setShaderLibraryPath(String path)
Set shader library path.
Definition: OgreGL3PlusSupport.h:110
virtual void removeRequestHandler(uint16 channel, RequestHandler *rh)
Remove a request handler.
void convertImageToTerrainSpace(size_t x, size_t y, Real *outX, Real *outY)
Convert image space (0, imageSize) to terrain space values (0,1).
@ RSC_IS_TILER
GPU is a tiler, and thus benefits from tight LoadAction & SaveAction semanticsthat avoid loading from...
Definition: OgreRenderSystemCapabilities.h:223
Definition: OgreMemoryAllocatorConfig.h:232
A node in the volume octree.
Definition: OgreVolumeOctreeNode.h:45
Result from a terrain ray intersection with the terrain group.
Definition: OgreTerrainGroup.h:379
virtual void setParameters(const Vector3 ¶meters)
Sets the parameters.
virtual ParticleVisualData * _createVisualData(void)
Create a new ParticleVisualData instance for attachment to a particle.
Definition: OgreParticleSystemRenderer.h:102
@ ACT_LIGHT_DIFFUSE_COLOUR_POWER_SCALED
Light diffuse colour pre-scaled by Light::setPowerScale (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:1070
bool requiresTextureFlipping() const
Definition: OgreD3D11MultiRenderTarget.h:43
virtual void frameStart(Real timeSinceLastFrame, PagedWorldSection *section)
Called when the frame starts.
Definition: OgrePageStrategy.h:91
T * get() const
Definition: OgreSharedPtr.h:267
void _swapFinalTarget(vector< TextureGpu * >::type &swappedTargets)
In the case of RenderWindows, swaps/copies/flips the front with the back buffer.
void doSet(void *target, const String &val)
void removeResourceLocation(const String &name, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Removes a resource location from the list.
void importUnity(const Vector3 &colour, Real metallic, Real roughness, bool changeBrdf)
Helper function to import values from Unity (metallic workflow).
See AsyncTextureTicket.
Definition: OgreD3D11AsyncTextureTicket.h:41
virtual void setFsaaResolveDirty(void)
Definition: OgreRenderTarget.h:178
static std::pair< bool, Real > intersects(const Ray &ray, const StdVector< Plane > &planeList, bool normalIsOutside)
Ray / convex plane list intersection test.
@ GPV_GLOBAL
No variation except by manual setting - the default.
Definition: OgreGpuProgramParams.h:135
uint16 getYOffset() const
Get the vertical offset into the main terrain data of this node.
Definition: OgreTerrainQuadTreeNode.h:101
uint32 mUpdateCounter
Definition: OgreShaderParams.h:144
@ PFG_EAC_R11_SNORM
Definition: OgrePixelFormatGpu.h:224
void setEnableAnimationMatrix(uint8 textureUnit, bool bEnable)
Enables the animation of the given texture unit.
Class defining the common interface which classes can use to present a reflection-style,...
Definition: OgreStringInterface.h:166
void doSet(void *target, const String &val)
const StencilParams & getStencilBufferParams(void) const
Definition: OgreRenderSystem.h:1040
virtual void calculateHash()
Calculates the hashes needed for sorting by the RenderQueue (i.e. mTextureHash)
virtual bool queryResult(MovableObject *obj, Real distance)=0
Called when a movable objects intersects the ray.
virtual void calculateHashFor(Renderable *renderable, uint32 &outHash, uint32 &outCasterHash)
Called by the renderable when either it changes the material, or its properties change (e....
ConstBufferPool(uint32 bytesPerSlot, const ExtraBufferParams &extraBufferParams)
ArrayReal intersects(const ArrayAabb &aabb) const
Returns whether or not this sphere intersects another sphere.
const String & getTextureName(void) const
Get the name of current texture image for this layer.
@ ACT_LIGHT_POSITION_ARRAY
Array of light positions in world space (count set by extra param)
Definition: OgreGpuProgramParams.h:1084
@ RSC_POINT_EXTENDED_PARAMETERS_EXT
Support for point parameters EXT implementation.
Definition: OgreRenderSystemCapabilities.h:265
NormalsIterator getNormalsIterator(void)
Gets an iterator over all the vertex offsets.
static size_t calculateSizeBytes(uint32 width, uint32 height, uint32 depth, uint32 slices, PixelFormat format, uint8 numMipmaps)
WARNING: numMipmaps includes the mip 0.
void _unprepare(void)
Internal method for undoing the load preparartion for this pass.
uint32 getWidth(void) const
Gets the width of the image in pixels.
@ CNT_VARIABLE_ASSIGN
Definition: OgreScriptCompiler.h:55
virtual bool isVSyncEnabled() const
Indicates whether vertical sync is activated for the window.
Definition: OgreRenderWindow.h:167
@ LL_NORMAL
Definition: OgreLog.h:64
int8 kernelEndX
Definition: OgreImageDownsampler.h:218
~BillboardSetFactory()
Definition: OgreBillboardSet.h:845
void exportNamedConstants(const GpuNamedConstants *pConsts, DataStreamPtr stream, Endian endianMode=ENDIAN_NATIVE)
void getWorldTransforms(Matrix4 *xform) const
See Renderable.
virtual const String & getFriendlyName(void) const =0
Returns the friendly name of the render system.
void shutdown(void)
See RenderSystem.
@ ID_PLANAR
Definition: OgreScriptCompiler.h:781
D3D9ResourceCreationPolicy
Definition: OgreD3D9ResourceManager.h:36
Definition: OgreSkeletonTrack.h:43
virtual int getExecutionOrder() const
bool operator!=(const iterator_range &rhs) const
comparison operator for inequality
Definition: OgreIteratorRange.h:101
virtual ~VoxelVisualizer()
virtual_l2 uint32 getVisibilityMask(void) const
Gets a mask which is bitwise 'and'ed with objects own visibility masks to determine if the object is ...
Definition: OgreSceneManager.h:2537
bool getKeepParticlesInLocalSpace(void) const
Gets whether particles (and any affector effects) remain relative to the node the particle system is ...
Definition: OgreParticleSystem.h:579
virtual ~FactoryObj()
Definition: OgreFactoryObj.h:47
void setKeyFrameTransform(Real frame, uint32 slot, const Vector3 &vPos, const Quaternion &qRot, const Vector3 vScale)
virtual void _setPointSpritesEnabled(bool enabled)=0
Sets whether or not rendering points using OT_POINT_LIST will render point sprites (textured quads) o...
static void toQuotedStr(FilterOptions value, String &outString)
virtual void _renderEmulatedNoBaseInstance(const CbDrawCallIndexed *cmd)
const Vector3 & getFrom(void) const
Gets the back lower left corner of the cell.
Definition: OgreVolumeOctreeNode.h:208
A single volume chunk mesh.
Definition: OgreVolumeChunk.h:142
static const IdString UvAtlas0
Definition: OgreHlmsUnlitMobile.h:143
size_t texUnitIdx
Index of texture unit state to change.
Definition: OgreCompositorPassQuadDef.h:54
virtual void setMaxChainElements(size_t maxElements)
Set the maximum number of chain elements per chain.
static void mul(const ArrayQuaternion &inQ, ArrayVector3 &inOutVec)
Rotates a vector by multiplying the quaternion to the vector, and modifies it's contents by storing t...
void addLayer(uint8 index, Real worldSize=0, const StringVector *textureNames=0)
Add a new layer to this terrain at a specific index.
SubRenderState()
Class default constructor.
UserObjectBindings & getUserObjectBindings()
Return an instance of user objects binding associated with this class.
Definition: OgrePass.h:1096
@ PFG_RGBA8_SNORM
Definition: OgrePixelFormatGpu.h:78
Definition: OgreInternalCubemapProbe.h:64
@ DebugVisualizationNormal
Definition: OgreVctVoxelizer.h:121
void setSpecular(Real red, Real green, Real blue, Real alpha)
Sets the specular colour reflectance properties of this pass.
void addQueryFlags(uint32 flags)
As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this ob...
const Matrix4 & getWorldViewMatrix(void) const
float widthFactor
Definition: OgreTextureDefinition.h:105
@ ID_CHECK
Definition: OgreScriptCompiler.h:956
bool isHashDirty() const
Definition: OgreCommon.h:472
const ParameterPtr & getParameter() const
Returns the parameter object as weak reference.
Definition: OgreShaderFunctionAtom.h:133
PassthroughControllerFunction(bool deltaInput=false)
Constructor.
float getBlendMaskEntry(size_t boneHandle) const
Get the weight for the bone identified by the given handle.
Definition: OgreAnimationState.h:172
VertexData(HardwareBufferManagerBase *mgr=0)
Constructor.
const String & getMovableType(void) const
Overridden from MovableObject.
void setProgramName(const String &name, bool resetParams=true)
Sets the name of the program to use.
ARGB getAsARGB(void) const
Retrieves colour as ARGB.
virtual void removeListener(Listener *l)
Remove a listener to this camera.
void map(uint8 const **outDataPtrs)
Maps the buffers that have been downloaded with queueDownload.
virtual void switchMode(uint &width, uint &height, short &frequency)
const Real * ptr() const
Pointer accessor for direct copying.
Definition: OgreDualQuaternion.h:129
virtual SubRenderState * getGeneratedSubRenderState(const String &typeName)
Returns a sub render state of a given name which has already been created for material currently bein...
virtual RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
vector< ObjectMemoryManager * >::type ObjectMemoryManagerVec
Definition: OgreSceneManager.h:95
Real currentTimePercent
The current percentage of frame time this profile has taken.
Definition: OgreProfiler.h:270
@ PF_ASTC_SRGB8A8_12X12_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 12x12)
Definition: OgrePixelFormat.h:315
~GLES2FBOMultiRenderTarget()
vector< Plugin * >::type PluginInstanceList
Definition: OgreRoot.h:130
virtual void _setSamplers(uint32 slotStart, const DescriptorSetSampler *set)=0
Utility class to cache PSOs.
Definition: OgrePsoCacheHelper.h:123
void updateExistingVpls(void)
Does nothing if build hasn't been called yet.
static const ColourValue Green
Definition: OgreColourValue.h:64
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
Item * clone(const String &newName) const
Clones this Item and returns a pointer to the clone.
InvalidCallException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Real getLoadingOrder(void) const
Gets the relative loading order of scripts of this type.
Definition: OgreGL3PlusTexBufferEmulatedPacked.h:40
InvalidParametersException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
const String * findResourceGroupStr(IdString idName) const
This function CAN be called from any thread.
Real getDetailMapWeight(uint8 detailMap) const
uint16 getNumLodLevelsPerLeaf() const
Get the number of LOD levels in a leaf of the terrain quadtree.
Definition: OgreTerrain.h:1245
~Operand()
Class destructor.
void detachFromProgramObject(const GLuint programObject)
@ PrePassNone
This is a normal pass.
Definition: OgreCommon.h:75
@ RSC_INFINITE_FAR_PLANE
Supports infinite far plane projection.
Definition: OgreRenderSystemCapabilities.h:117
ParameterPtr resolveLocalParameter(Parameter::Semantic semantic, int index, const Parameter::Content content, GpuConstantType type)
Resolve local parameter of this function
RawSimdUniquePtr()
Definition: OgreRawPtr.h:57
@ M_SUBMESH_BONE_ASSIGNMENT
Definition: OgreMeshFileFormat.h:199
ImageDownsamplerCube downscale2x_Signed_X8_cube
Definition: OgreImageDownsampler.h:125
virtual ~GLES2HardwareIndexBuffer()
void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
virtual void removeRequestHandler(uint16 channel, RequestHandler *rh)=0
Remove a request handler.
virtual Real getHorizontalTexelOffset(void)=0
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this...
@ OT_TRIANGLE_FAN
A fan of triangles, 3 vertices for the first triangle, and 1 per triangle after that.
Definition: OgreHlmsPso.h:58
static uint32 ctz64(uint64 value)
Definition: OgreBitwise.h:487
const HlmsMacroblock * getMacroblock(void) const
Retrieves current macroblock.
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:316
D3D11RenderPassDescriptor(D3D11Device &device, D3D11RenderSystem *renderSystem)
Archive * createInstance(const String &name, bool readOnly)
Creates a new object.
Definition: OgreFileSystem.h:134
bool preferDepthTexture
Definition: OgreTextureDefinition.h:128
VectorRange(typename T::iterator b, typename T::iterator e)
Constructor.
Definition: OgreIteratorRange.h:157
@ ID_SRC_MANUAL
Definition: OgreScriptCompiler.h:776
Definition of the interface for a collection of PageContent instances.
Definition: OgrePageContentCollection.h:56
Cache mCache
Definition: OgreHlmsDiskCache.h:169
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...
D3DFORMAT getBackBufferFormat() const
vector< const Chunk * >::type VecChunk
A list of Chunks.
Definition: OgreVolumeChunk.h:433
@ SPC_POSTOLIGHT_VIEW_SPACE3
Definition: OgreShaderParameter.h:150
Definition: OgreNULLVaoManager.h:38
bool isBuffer(void) const
Definition: OgreDescriptorSetTexture.h:250
void blit(const HardwarePixelBufferSharedPtr &src)
Convenience function that blits the entire source pixel buffer to this buffer.
virtual void _notifyResourceLoaded(Resource *res)
Notify this manager that a resource which it manages has been loaded.
Definition: OgreHlmsPbsMobile.h:101
SharedPtr< DataStream > DataStreamPtr
Definition: OgrePrerequisites.h:387
Definition: OgreD3D11DepthTexture.h:107
SkeletonVersion
Skeleton compatibility versions.
Definition: OgreSkeletonSerializer.h:42
static void generate(const String &meshName, const HiddenAreaVrSettings &setting)
const BufferSlot & getBuffer(void) const
Definition: OgreDescriptorSetUav.h:187
virtual void _initialize(TextureGpuManager *textureGpuManager)
virtual void _descriptorSetTextureDestroyed(DescriptorSetTexture *set)
ArrayMaskR intersects(const ArrayAabb &aabb) const
Returns whether or not this sphere intersects another sphere.
map< String, ParticleEmitterFactory * >::type ParticleEmitterFactoryMap
Definition: OgreParticleSystemManager.h:84
int mPrecision
Definition: OgreLwString.h:275
const String * getNameStr(IdString name) const
Returns the string name associated with its hashed name (this was passed as refName in @createDatablo...
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 ...
uint16 texUnit
Definition: OgreCbTexture.h:37
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:818
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 setInstanceDataStepRate(const size_t val)
Set the number of instances to draw using the same per-instance data before advancing in the buffer b...
Class to hold a dictionary of parameters for a single class.
Definition: OgreStringInterface.h:94
@ PFG_BGR8_UNORM
Definition: OgrePixelFormatGpu.h:188
ID3D11HullShader * getHullShader(void) const
Definition: OgreRenderPassDescriptor.h:245
HlmsProperty(IdString _keyName, int32 _value)
Definition: OgreHlmsCommon.h:148
virtual void setShadowDirLightTextureOffset(Real offset)
Sets the proportional distance which a texture shadow which is generated from a directional light wil...
Definition: OgreSceneManager.h:2361
DataStreamPtr encode(MemoryDataStreamPtr &input, CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
uint8 mUvBakingSet
Used for baking lightmaps and similar stuff.
Definition: OgreCompositorPassSceneDef.h:160
virtual bool isVisible(void) const
void addPoint(const Vector3 &p)
Adds a control point to the end of the spline.
virtual void workspacePreUpdate(CompositorWorkspace *workspace)
Called before all nodes are going to be updated.
Definition: OgreCompositorWorkspaceListener.h:53
String doGet(const void *target) const
GLES2RenderToVertexBuffer()
C'tor.
virtual size_t _asyncDownload(BufferPacked *source, size_t srcOffset, size_t srcLength)
Copies the GPU data in BufferPacked to the StagingBuffer so that it can be later read by the CPU usin...
void pop_back()
Definition: OgreStackVector.h:124
virtual void removeTerrain(long x, long y)
Remove a specific terrain slot.
void setIrradianceCellSize(const Vector3 &cellSize)
Definition: OgreIrradianceVolume.h:111
void clearOutputConnections(void)
Clears the connection from the "final output RenderTarget" (i.e.
@ Shadow
Regular texture.
Definition: OgreTextureGpu.h:166
vector< LodData >::type LodsData
Definition: OgreTerrainLodManager.h:58
SubMeshLodGeometryLink * geometry
Definition: OgreStaticGeometry.h:177
HlmsUnlitMobileDatablock(IdString name, Hlms *creator, const HlmsMacroblock *macroblock, const HlmsBlendblock *blendblock, const HlmsParamVec ¶ms)
Valid parameters in params:
Definition: OgreGL3PlusTextureGpu.h:136
Class encapsulating a standard 4x4 homogeneous matrix.
Definition: OgreMatrix4.h:80
Command object for setting entry point.
Definition: OgreMetalProgram.h:70
ImageDownsampler2D downscale2x_Signed_XX88
Definition: OgreImageDownsampler.h:113
void _render(const RenderOperation &op)
Definition: OgreTextureGpuManager.h:68
const String & getMaterialName(void) const
Get the material name.
Definition: OgreStaticGeometry.h:285
Definition: OgreScriptTranslator.h:351
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
Definition: OgreEGLSupport.h:48
static const int TransparencyBits
Definition: OgreRenderQueue.h:294
DualCell getDualCell(size_t i) const
Gets a dual cell.
Definition: OgreVolumeDualGridGenerator.h:343
ID3D11ClassLinkage * GetClassLinkage()
Definition: OgreD3D11Device.h:66
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:818
virtual void processResponses()=0
Process the responses in the queue.
bool octreeVisible
Flag whether the octree is visible or not.
Definition: OgreVolumeChunk.h:109
Defines a complete set of properties for a single object instance.
Definition: OgreProperty.h:274
@ CB_SET_TEXTURE_BUFFER_GS
Definition: OgreCbCommon.h:55
@ FFP_PS_ALPHA_TEST
Definition: OgreShaderFFPRenderState.h:64
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
virtual void destroyProbe(CubemapProbe *probe)
static ArrayMaskI Or(ArrayMaskI a, ArrayInt b)
Definition: OgreMathlibC.h:223
static MaterialManager & getSingleton(void)
Override standard Singleton retrieval.
hash< T * > MyBase
Definition: OgreSharedPtr.h:393
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.
virtual ForwardPlusMethods getForwardPlusMethod(void) const
Definition: OgreForwardClustered.h:116
uint8 _getSourceIndex(void) const
Source index reference assigned by the MultiSourceVertexBufferPool.
Definition: OgreVertexBufferPacked.h:131
Grid2DPageStrategy(PageManager *manager)
@ GCT_MATRIX_3X3
Definition: OgreGpuProgramParams.h:89
void doSet(void *target, const String &val)
@ ID_NO_GAMMA
Definition: OgreScriptCompiler.h:855
virtual void loadImpl()
overridden from Resource
ObjectData()
Definition: OgreObjectData.h:103
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.
bool getLoop(void) const
Returns current loop setting.
Definition: OgreSkeletonAnimation.h:129
void setFilenameConvention(const String &prefix, const String &extension)
Set the naming convention for file names in this terrain group.
void create(const String &name, unsigned int widthPt, unsigned int heightPt, bool fullScreen, const NameValuePairList *miscParams)
Overridden - see RenderWindow.
void update(bool synchronous=false)
Trigger the update process for all terrain instances.
virtual Animation * _getAnimationImpl(const String &name, const LinkedSkeletonAnimationSource **linker=0) const
Internal accessor for animations (returns null if animation does not exist)
bool createOctreeVisualization
Whether to create the octree debug visualization entity with false as default.
Definition: OgreVolumeChunk.h:65
RenderTargetViewDef * addRenderTextureView(IdString name)
size_t readLine(char *buf, size_t maxCount, const String &delim="\n")
Get a single line from the stream.
virtual ~ShaderProgramWriterGLSLFactory()
Definition: OgreShaderGLSLProgramWriter.h:127
ImageBlur2D separableBlur_sRGB_AXXX8888
Definition: OgreImageDownsampler.h:206
GLES2DefaultHardwareBufferManager()
Definition: OgreGLES2DefaultHardwareBufferManager.h:163
virtual void bindBufferGS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
virtual void postCommandBufferExecution(CommandBuffer *commandBuffer)
This gets called after executing the command buffer.
void clearCodePointRanges()
Clear the list of code point ranges.
Definition: OgreFont.h:363
@ SPC_POSITION_WORLD_SPACE
Position in world space.
Definition: OgreShaderParameter.h:84
GL3PlusHardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage, bool useShadowBuffer)
ID3D11Texture2D * getResolvedTexture2D()
Definition: OgreD3D11Texture.h:84
CbDrawCallIndexed(int baseInstanceAndIndirectBuffers, VertexArrayObject *_vao, void *_indirectBufferOffset)
SkeletonManager()
Constructor.
virtual void _placeBarriersAndEmulateUavExecution(BoundUav boundUavs[64], ResourceAccessMap &uavsAccess, ResourceLayoutMap &resourcesLayout)
Emulates the execution of a UAV to understand memory dependencies, and adds a memory barrier / resour...
ConstVectorIterator< MetaDataList > MetaDataIterator
Definition: OgreSceneManagerEnumerator.h:134
Window DefaultRootWindow(Display *nativeDisplayType)
void clear()
Definition: OgreCommon.h:604
@ RSC_TEXTURE_COMPRESSION_BC6H_BC7
Supports compressed textures in BC6H and BC7 format (DirectX feature level 11_0)
Definition: OgreRenderSystemCapabilities.h:156
void pointOrientedToScreen(Real orientedX, Real orientedY, int orientationMode, Real &screenX, Real &screenY)
Definition: OgreD3D9RenderWindow.h:38
virtual void setDatablock(HlmsDatablock *datablock)
Assigns a datablock (i.e. HLMS Material) to this renderable.
uint getCharacterSpacer(void) const
Gets the spacing to allocate for font characters to overlap each other.
Radian ArrayRadian
Definition: OgreArrayConfig.h:162
static bool getGenerateAllConstantDefinitionArrayEntries()
Indicates whether all array entries will be generated and added to the definitions map.
void assign(QueuedGeometry *qsm)
Assign geometry to this bucket.
@ SPFM_FREE
Use OGRE_FREE to free (only MEMCATEGORY_GENERAL supported)
Definition: OgreSharedPtr.h:50
static const IdString DetailOffsetsN0
Definition: OgreHlmsPbsMobile.h:132
void setTextureVScale(Real value)
As setTextureScale, but sets only V value.
virtual void loadImpl()
overridden from Resource
Definition: OgreX11EGLSupport.h:81
void setConstant(size_t index, const Matrix4 &m)
Sets a Matrix4 parameter to the program.
virtual ~D3D11ConstBufferPacked()
bool hasReservation(void) const
See PlanarReflections::reserve.
ParticleIterator _getIterator(void)
Returns an iterator for stepping through all particles in this system.
virtual void _setCurrentDeviceFromTexture(TextureGpu *texture)
Because Ogre doesn't (yet) have the notion of a 'device' or 'GL context', this function lets Ogre kno...
Real getMinimumDepthInputValue(void)
Gets the minimum (closest) depth value to be used when rendering using identity transforms.
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.
size_t sizeBytes
Definition: OgreCompositorPassUavDef.h:82
bool isDepthWriteEnabled(void) const
Is depth writing going to occur on this technique?
virtual bool getOption(const String &strKey, void *pDestValue)
Method for getting the value of an implementation-specific Scene Manager option.
Definition: OgreSceneManager.h:1800
uint8 getNumUvSets(void) const
Calculates the amount of UV sets used by the datablock.
GLuint getGLProgramPipelineHandle() const
GL Program Pipeline Handle.
Definition: OgreGLSLSeparableProgram.h:86
static CommandBufferExecuteFunc execute_setConstantBufferDS
Definition: OgreCommandBuffer.h:78
@ ACT_LIGHT_DIRECTION_VIEW_SPACE_ARRAY
Array of light directions in view space (count set by extra param)
Definition: OgreGpuProgramParams.h:1094
void prepare(StreamSerialiser &stream)
Prepare node from a stream.
virtual void beginGPUSampleProfile(const String &name, uint32 *hashCache)
vector< CompositorPass * >::type CompositorPassVec
Definition: OgreCompositorCommon.h:60
virtual D3D11FrameBufferDescMap & _getFrameBufferDescMap(void)
Definition: OgreD3D11RenderSystem.h:206
size_type size() const
Definition: OgreCommon.h:495
IdString resolveTextureName
Can be left blank if texture is implicitly resolved (will be filled automatically) But must be presen...
Definition: OgreTextureDefinition.h:57
void _buildBoneIndexMap(void)
Builds mBlendIndexToBoneIndexMap based on mBoneAssignments.
void swapBuffers()
Overridden - see RenderWindow.
virtual String doGet(const void *target) const =0
Definition: OgreD3D11RenderPassDescriptor.h:49
Implementation of CompositorPass This implementation will copy one DepthBuffer to another DepthBuffer...
Definition: OgreCompositorPassDepthCopy.h:57
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
virtual void copyFrom(const SubRenderState &rhs)
virtual v1::Entity * createEntity(const v1::MeshPtr &pMesh, SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC)
Create an Entity (instance of a discrete mesh).
void save(StreamSerialiser &stream)
Save this data to a stream.
VertexData * vertexData
Definition: OgreStaticGeometry.h:147
void removeListener(LogListener *listener)
T * iterator
Definition: OgreStackVector.h:55
ushort getGeometryProgramConstantIntCount(void) const
The number of integer constants geometry programs support.
Definition: OgreRenderSystemCapabilities.h:676
virtual ~EmscriptenEGLWindow()
static void WaitForThreads(size_t numThreadHandles, const ThreadHandlePtr *threadHandles)
Waits until all threads are finished.
This file configures Ogre's memory allocators.
AnimationState * getAnimationState(const String &name) const
Get an animation state by the name of the animation.
virtual void bindGpuProgramParameters(GpuProgramType gptype, GpuProgramParametersSharedPtr params, uint16 variabilityMask)=0
Bind Gpu program parameters.
GL3PlusOldVertexArrayObject()
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.
virtual ~GLES2ConstBufferPacked()
RenderSystem * getRenderSystemByName(const String &name)
Retrieve a pointer to the render system by the given name.
virtual void bindBufferGS(uint16 slot)
virtual void notifyTextureChanged(TextureGpu *texture, TextureGpuListener::Reason reason, void *extraData)
Called when a TextureGpu changed in a way that affects how it is displayed:
static const IdString ForwardPlusFineLightMask
Definition: OgreHlms.h:887
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
See HardwareBuffer.
SceneManager * getCreator(void) const
Gets the creator of this scene node.
Definition: OgreSceneNode.h:181
void setTessellationDomainProgramParameters(GpuProgramParametersSharedPtr params)
Sets the Tessellation Domain program parameters.
CamerasInProgress camerasInProgress
Definition: OgreSceneManager.h:763
virtual void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
bool mPaused
Definition: OgreParallaxCorrectedCubemapBase.h:58
Log * createLog(const String &name, bool defaultLog=false, bool debuggerOutput=true, bool suppressFileOutput=false)
Creates a new log with the given name.
size_t getBytesPerImage(uint8 mipLevel) const
Endian
The endianness of files.
Definition: OgreStreamSerialiser.h:75
bool operator<(const HlmsPassPso &other) const
Definition: OgreHlmsPso.h:133
vector< OldBone * >::type BoneList
Definition: OgreSkeleton.h:177
PbsBlendModes
Definition: OgreHlmsPbsPrerequisites.h:78
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.
bool degenerate
Indicates if this is a degenerate edge, ie it does not have 2 triangles.
Definition: OgreEdgeListBuilder.h:86
static void splitFilename(const String &qualifiedName, String &outBasename, String &outPath)
Method for splitting a fully qualified filename into the base name and path.
virtual ~GL3PlusTexBufferEmulatedPacked()
virtual void bindBufferPS(uint16 slot)
const String & getPreprocessorDefines(void) const
Sets the preprocessor defines use to compile the program.
Definition: OgreD3D9HLSLProgram.h:186
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.
static Vector3 getNormal(uint8 const *srcData, VertexElement2 vertexElement)
Definition: OgreVertexBufferDownloadHelper.h:158
RayResult(bool _hit, Terrain *_terrain, const Vector3 &_pos)
Definition: OgreTerrainGroup.h:387
virtual bool requiresTextureFlipping() const
Definition: OgreMetalNullTexture.h:107
void removePose(ushort index)
Destroy a pose by index.
virtual void _setDatablock(HlmsDatablock *datablock)
Sets the HLMS material this renderer must use; called by ParticleSystem.
~Grid3DPageStrategyData()
void swapBuffers()
Swaps the frame buffers to display the next frame.
Archive * createInstance(const String &name, bool readOnly)
Creates a new object.
Definition: OgreZip.h:119
SharedPtr< ShadowCameraSetup > ShadowCameraSetupPtr
Definition: OgrePrerequisites.h:398
value_type * pointer
Definition: OgreMemorySTLAllocator.h:87
NativeDisplayType getNativeDisplay()
int getInternalExecutionOrder() const
Get an internal execution order within a group of this function atom.
iterator erasePOD(iterator first, iterator last)
Definition: OgreFastArray.h:262
void loadFromSource(void)
Internal load implementation, must be implemented by subclasses.
bool frameStarted(const FrameEvent &evt)
Called when a frame is about to begin rendering.
void _getRenderOperation(RenderOperation &rend, ushort lodIndex, bool casterPass)
Returns a RenderOperation structure required to render this mesh.
virtual void detachAllBones(void)
Detaches all bones from from this SceneNode. It is safe to use directly.
static Real AngleUnitsToRadians(Real units)
Convert from the current AngleUnit to radians.
void enableClipPlane(ushort index, bool enable)
See RenderSystem.
void roll(const Radian &angle)
Rolls the camera anticlockwise, around its local z axis.
int backing_store
Definition: OgreX11EGLSupport.h:90
Vector4(const Vector3 &rhs)
Definition: OgreVector4.h:93
virtual void setFormat(PixelFormat pf)
Sets the pixel format for the texture surface; can only be set before load().
virtual void _autogenerateMipmaps(void)
Tells the API to let the HW autogenerate mipmaps.
void _destroyDepthBuffer(RenderWindow *pRenderWnd)
String doGet(const void *target) const
SceneManager * mCurrentSceneManager
Needs to be set directly before calling createInstance.
Definition: OgreParticleSystemRenderer.h:136
vector< IndexBufferInfo >::type IndexBufferInfoList
Definition: OgreLodData.h:147
virtual void setValue(const AnyNumeric &val)
Set the value at this keyframe.
void _setActiveSceneManager(SceneManager *sceneManager)
Set the active scene manager against which new render states are compiled.
virtual void setStrategy(const String &stratName)
Change the page strategy.
uint32 getPrimitiveCount(void) const
Definition: OgreVertexArrayObject.h:113
bool hasCorrectAntipodalityHandling()
Only applicable for dual quaternion skinning.
ImageBlur2D separableBlur_Signed_A8
Definition: OgreImageDownsampler.h:137
Definition: OgreNULLHardwarePixelBuffer.h:37
void _releaseManualHardwareResources()
Definition: OgreManualObject.h:127
virtual void notifyCamera(Camera *cam)
Notify a section of the current camera.
Definition: OgrePageContent.h:73
static double saturate(double t)
Definition: OgreMath.h:363
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 setEnabled(bool bEnabled)
Definition: OgreCompositorWorkspace.h:169
CSGCubeSource(const Vector3 &min, const Vector3 &max)
Constructor.
virtual void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
virtual void resourceGroupScriptingStarted(const String &groupName, size_t scriptCount)=0
This event is fired when a resource group begins parsing scripts.
float invDivisor
Definition: OgrePbsMobileShaderCreationData.h:49
void notifyControlPointBufferDeallocated(void)
Convenience method for telling the patch that the control points have been deleted,...
Definition: OgrePatchSurface.h:175
GLuint getGlTextureId(void) const
Definition: OgreGL3PlusTextureBuffer.h:79
virtual void setFSAA(uint fsaa, const String &fsaaHint, bool explicitResolve)
Set the level of multisample AA to be used if this texture is a rendertarget.
Definition: OgreTexture.h:207
bool getMipmapsHardwareGenerated(void) const
Are mipmaps hardware generated?
Definition: OgreTexture.h:158
EdgeData * getEdgeList() const
Definition: OgreStaticGeometry.h:351
String doGet(const void *target) const
virtual void getMemoryStats(MemoryStatsEntryVec &outStats, size_t &outCapacityBytes, size_t &outFreeBytes, Log *log) const
Retrieves memory stats about our GPU pools being managed.
@ PASS_COMPUTE
Definition: OgreCompositorPassDef.h:63
pthread_t _getOsHandle() const
Internal use.
Definition: OgreThreads.h:116
void * getDataPtr(size_t offset) const
Definition: OgreGL3PlusDefaultHardwareBufferManager.h:67
IDirect3DSurface9 * getDepthBufferSurface() const
virtual ~IsoSurface(void)
virtual void bindBufferVS(uint16 slot, size_t offset=0, size_t sizeBytes=0)=0
Binds the texture buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
static const IdString HasPlanarReflections
Definition: OgreUnlitProperty.h:49
void yaw(const Radian &angle)
Rotates the camera anticlockwise around it's local y axis.
LwString & a(const M &a0, const N &a1, const O &a2, const P &a3, const Q &a4, const R &a5, const S &a6, const S &a7)
Definition: OgreLwString.h:406
const String & getBaseKeyFrameAnimationName() const
If a base keyframe is being used, the Animation that provides that keyframe.
Definition: OgreLodData.h:69
String srcFile
Definition: OgreHlms.h:98
VertexElement2 element
Definition: OgreSubMesh2.h:290
Vector3 toVec3() const
Definition: OgreShaderPrimitives.h:61
virtual PlaneBoundedVolumeListSceneQuery * createPlaneBoundedVolumeQuery(const PlaneBoundedVolumeList &volumes, uint32 mask=QUERY_ENTITY_DEFAULT_MASK)
Creates a PlaneBoundedVolumeListSceneQuery for this scene manager.
void removeContentFactory(PageContentFactory *f)
Remove a PageContentFactory implementation.
D3D11VideoModeList * getVideoModeList()
TerrainIterator getTerrainIterator()
Get an iterator over the defined terrains.
size_t floatBufferSize
Total size of the float buffer required.
Definition: OgreGpuProgramParams.h:488
Definition: OgreGL3PlusDepthTexture.h:96
static const Aabb BOX_NULL
Definition: C/OgreAabb.h:163
ElementType elementType
Definition: OgreShaderParams.h:70
TexBufferPacked(size_t internalBufferStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface, PixelFormatGpu pf)
Definition: OgreTexBufferPacked.h:45
void bind(T *rep, SharedPtrFreeMethod inFreeMethod=SPFM_DELETE)
Binds rep to the SharedPtr.
Definition: OgreSharedPtr.h:278
virtual String getValue() const =0
Returns a string value depending on the type of the AbstractNode.
static const ArrayReal NEG_ONE
Definition: OgreMathlibC.h:48
void registerThread()
Register the an additional thread which may make calls to rendersystem-related objects.
virtual MaterialPtr generateForCompositeMap(const Terrain *terrain)
Generate a material for the given composite map of the terrain using the active profile.
Definition: OgreTerrainMaterialGenerator.h:305
TerrainSlotDefinition()
Definition: OgreTerrainGroup.h:311
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.
virtual bool isHardwareGammaEnabled() const
Gets whether this texture will be set up so that on sampling it, hardware gamma correction is applied...
Definition: OgreTexture.h:197
v1::MeshPtr createConvexHullMesh(const String &meshName, const String &resourceGroupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Mark vertices, which are visible from outside.
static CommandBufferExecuteFunc execute_setTextureBufferHS
Definition: OgreCommandBuffer.h:84
Real z
Definition: OgreVector3.h:54
@ ACT_INVERSE_VIEW_MATRIX
The current view matrix, inverted.
Definition: OgreGpuProgramParams.h:929
void _writeRawConstants(size_t physicalIndex, const double *val, size_t count)
Write a series of floating point values into the underlying float constant buffer at the given physic...
@ LBO_MODULATE
Multiply colour components together.
Definition: OgreBlendMode.h:63
AllocatedObject< ResourceAllocPolicy > ResourceAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:283
Vertex * collapseTo
Definition: OgreLodData.h:110
Archive(const String &name, const String &archType)
Constructor - don't call direct, used by ArchiveFactory.
Definition: OgreArchive.h:100
virtual void _clearSliceRTT(size_t zoffset)
Notify TextureBuffer of destruction of render target.
virtual ~TextureGpuManager()
virtual SampleDescription validateSampleDescription(const SampleDescription &sampleDesc, PixelFormatGpu format)
Returns supported sample description for requested FSAA mode, with graceful downgrading.
uint32 getAssignedSlot(void) const
Definition: OgreConstBufferPool.h:180
Definition: OgreGLES2NullTexture.h:37
ID3D11ComputeShader * getComputeShader(void) const
TextureGpu * getCurrentTarget(void) const
Definition: OgreViewport.h:174
GeneralAllocatedObject ProfilerAlloc
Definition: OgreMemoryAllocatorConfig.h:322
Definition: OgreLod0Stripifier.h:41
_OgreExport const uint32 LAYER_SHADOW_CASTER
Handles the management of mesh resources.
Definition: OgreMeshManager.h:60
CompositorPassScene(const CompositorPassSceneDef *definition, Camera *defaultCamera, const RenderTargetViewDef *rtv, CompositorNode *parentNode)
Constructor.
static const size_t MS_CORNERS_BACK[4]
To call Marching Squares with a cube on its back.
Definition: OgreVolumeIsoSurface.h:63
static Matrix4 getScale(Real s_x, Real s_y, Real s_z)
Gets a scale matrix - variation for not using a vector.
Definition: OgreMatrix4.h:499
bool ToEulerAnglesZXY(Radian &rfYAngle, Radian &rfPAngle, Radian &rfRAngle) const
@ ERR_INVALID_CALL
Definition: OgreException.h:117
SkeletonAnimationBlendMode
Definition: OgreSkeleton.h:49
void updatePassIterationUniforms(GpuProgramParametersSharedPtr params)
Updates program pipeline object uniforms using data from pass iteration GpuProgramParameters.
ArrayReal dotProduct(const ArrayVector3 &vec) const
Calculates the dot (scalar) product of this vector with another.
Real getLayerWorldSize(uint8 index) const
How large an area in world space the texture in a terrain layer covers before repeating.
unsigned int width
Definition: OgreRenderSystem.h:80
uint32 getWidth(void) const
Definition: OgreForwardClustered.h:128
D3D11VertexArrayObjectShared(const VertexBufferPackedVec &vertexBuffers, IndexBufferPacked *indexBuffer, OperationType opType, VertexBufferPacked *drawId)
static void startup(void)
Static method to startup and register the DDS codec.
virtual Real getHoldRadius()
Get the Holding radius.
void windowMovedOrResized()
RenderWindow::windowMovedOrResized
void optimiseShaderSource(GLSLESShader *gpuProgram)
ParticleEmitterTranslator()
OGRE_AUTO_MUTEX
Definition: OgreResource.h:83
void createSubsamples(void)
@ ET_INT
Definition: OgreGpuProgramParams.h:1416
Real getSurfaceShininess(void) const
AxisAlignedBox _calculateCurrentCastersBox(uint32 viewportVisibilityMask, uint8 firstRq, uint8 lastRq) const
virtual_l2 void pitch(const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around the X-axis.
@ M_TABLE_EXTREMES
Definition: OgreMeshFileFormat.h:334
Camera * camera
The camera with respect to which the level of detail has changed.
Definition: OgreLodListener.h:60
virtual void closeGaps(BindingIndexMap &bindingIndexMap)
Remove any gaps in the bindings.
ArrayVector3 getMaximum() const
Gets the maximum corner of the box.
unordered_map< String, ushort >::type SubMeshNameMap
A hashmap used to store optional SubMesh names.
Definition: OgreMesh.h:126
bool isCacheDirty(void) const
Returns true if the microcodecache changed during the run.
float constantHeight
If neither inputImage or inputFloat are supplied, the constant height at which the initial terrain sh...
Definition: OgreTerrain.h:376
void clear()
Definition: OgreMain/include/OgreSmallVector.h:350
size_t offset
Definition: OgreD3D11VaoManager.h:101
const CompositorChannelVec & getLocalTextures() const
Definition: OgreCompositorNode.h:222
void setUavStartingSlot(uint32 startingSlot)
In Direct3D11, UAV & RenderTargets share the same slots.
static D3D11StereoDriverBridge * getSingletonPtr(void)
ID3D11ShaderResourceView * getDepthTextureView() const
static CommandBufferExecuteFunc execute_drawCallIndexedEmulated
Definition: OgreCommandBuffer.h:69
@ ID_ALPHA_TO_COVERAGE
Definition: OgreScriptCompiler.h:685
static ParameterPtr createOutTexcoord2(int index, Parameter::Content content)
TextureLocation getBlankTexture(void) const
Returns the precreated blank texture.
static GLenum getClosestGLInternalFormat(PixelFormat mFormat, bool hwGamma)
Takes the OGRE pixel format and returns the type that must be provided to GL as internal format.
static const IdString TexMatrixCount5
Definition: OgreUnlitProperty.h:57
const ColourValue & getFogColour(void) const
Returns the fog colour for the scene.
void _setBufferInterface(BufferInterface *bufferInterface)
For internal use.
HlmsPropertyVec setProperties
Definition: OgreHlmsCommon.h:197
const UVRect & getGlyphTexCoords(CodePoint id) const
Returns the texture coordinates of the associated glyph.
Definition: OgreFont.h:275
D3D11Device & getDevice(void)
Definition: OgreD3D11TextureGpuManager.h:83
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
void _notifyOrigin(const String &origin)
Notify this overlay of it's origin.
Definition: OgreOverlay.h:262
virtual TexturePtr load(const String &name, const String &group, TextureType texType=TEX_TYPE_2D, int numMipmaps=MIP_DEFAULT, Real gamma=1.0f, bool isAlpha=false, PixelFormat desiredFormat=PF_UNKNOWN, bool hwGammaCorrection=false)
Loads a texture from a file.
virtual bool isBackgroundLoaded(void) const
Returns whether this Resource has been earmarked for background loading.
Definition: OgreResource.h:388
Definition: OgreD3D11VaoManager.h:97
This abstract node represents a script property.
Definition: OgreScriptCompiler.h:151
void setSpotlightRange(const Radian &innerAngle, const Radian &outerAngle, Real falloff=1.0)
Sets the range of a spotlight, i.e.
StencilOperation stencilFailOp
Definition: OgreCommon.h:121
virtual const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
virtual RenderTexture * getRenderTarget(size_t slice=0)
Get a render target for this PixelBuffer, or a slice of it.
virtual const String & getType() const
@ ID_EXP
Definition: OgreScriptCompiler.h:704
@ WFT_SINGLE_INTERSECTION
Return a single intersection point (typically RaySceneQuery only)
Definition: OgreSceneQuery.h:87
@ PT_CUBE
Definition: OgreSceneManager.h:1401
void setEnabled(bool bEnabled, uint32 maxWidth, uint32 maxHeight, PixelFormatGpu pixelFormat)
Enables/disables this ParallaxCorrectedCubemap system.
unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
ExternalTextureSource * getExternalTextureSource(const String &sTexturePlugInType)
Returns the plugin which registered itself with a specific name (eg.
@ PROP_COLOUR
Definition: OgreProperty.h:117
void destroyOverlayElement(OverlayElement *pInstance, bool isTemplate=false)
Destroys a OverlayElement.
static bool removeFile(const Ogre::String &path)
Delete a file.
@ PF_BYTE_A
Definition: OgrePixelFormat.h:55
bool mDepthWrite
Definition: OgreHlmsDatablock.h:81
String DriverDescription() const
String doGet(const void *target) const
Real getLength() const
Gets the total length of this animation (may be shorter than whole animation)
virtual ~ParticleAffector()
Virtual destructor essential.
PixelFormat getFormat() const
Gets the native pixel format of this buffer.
Definition: OgreHardwarePixelBuffer.h:195
virtual void setValue(T value)=0
String target
Definition: OgreScriptCompiler.h:166
static void softwareVertexPoseBlend(Real weight, const map< size_t, Vector3 >::type &vertexOffsetMap, const map< size_t, Vector3 >::type &normalsMap, VertexData *targetVertexData)
Performs a software vertex pose blend, of the kind used for morph animation although it can be used f...
LayerBlendType blendType
The type of blending (colour or alpha)
Definition: OgreBlendMode.h:143
Operand(const Operand &rhs)
Copy constructor.
virtual void _executeResourceTransition(ResourceTransition *resTransition)
void setLightCullingVisibility(bool collectLights, bool isCubemap)
When a camera is created via SceneManager::createCamera, there are two additional parameters.
size_t physicalIndex
The target (physical) constant index.
Definition: OgreGpuProgramParams.h:2485
void(* ErrorHandlerFunc)(void *iData, int iLine, const char *iError, const char *iToken, size_t iTokenLen)
An error handler function type.
Definition: OgreGLSLPreprocessor.h:526
virtual ~AutoParamDataSource()
void setManualValue(const Vector4 &value)
AliasTextureNamePairList * mAliases
Definition: OgreScriptCompiler.h:503
@ PFG_RG16_SINT
Definition: OgrePixelFormatGpu.h:85
void blitToMemory(const PixelBox &dst)
Convenience function that blits this entire buffer to a pixelbox.
Definition: OgreHardwarePixelBuffer.h:174
void XFlush(Display *nativeDisplayType)
~GLSLMonolithicProgramManager(void)
@ ID_SEPARATE_SCENE_BLEND
Definition: OgreScriptCompiler.h:665
void _setCamerasInProgress(const CamerasInProgress &cameras)
Definition: OgreSceneManager.h:1967
value_type & reference
Definition: OgreMemorySTLAllocator.h:89
TextureTypes::TextureTypes textureType
Definition: OgreImageCodec2.h:74
bool isSubtextureRegion(void) const
Returns true if this TextureBox does not represent a contiguous region of a single slice of full text...
Definition: OgreTextureBox.h:163
uint16 getDepthBufferPool() const
Returns the pool ID this RenderTarget should query from.
virtual const String & getSyntaxCode(void) const
Gets the syntax code for this program e.g.
Definition: OgreGpuProgram.h:269
GLuint getGLProgramHandle(void) const
Get the GL Handle for the program object.
Definition: OgreGLSLESProgramCommon.h:84
@ LBO_REPLACE
Replace all colour with texture with no adjustment.
Definition: OgreBlendMode.h:59
@ PZ
Definition: OgreTextureGpu.h:75
virtual_l1 SceneNodeList findSceneNodes(const String &name) const
Finds all the scene nodes with the name passed as parameter.
PageID getPageID(const Vector3 &worldPos, PagedWorldSection *section)
Get the page ID for a given world position.
void setRectSize(Vector2 planeDimensions, Real depth)
Helper function to set width, height and depth of the decal.
virtual ~Renderable()
Virtual destructor needed as class has virtual methods.
A tagged point on a skeleton, which can be used to attach entities to on specific other entities.
Definition: OgreTagPoint.h:61
void setBorderSize(Real sides, Real topAndBottom)
Sets the size of the border, with different sizes for vertical and horizontal borders.
@ ID_NUM_SPLITS
Definition: OgreScriptCompiler.h:1004
Any context
Definition: OgreScriptCompiler.h:101
String doGet(const void *target) const
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Override so we can attach the depth buffer to the FBO.
void setDatablockOrMaterialName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Sets the material to use for the whole of this Item.
#define OGRE_HLMS_TEXTURE_BASE_MAX_TEX
Definition: OgreHlmsPbsDatablock.h:36
void bindPassIterationParameters(GpuProgramParametersSharedPtr params)
Execute the pass iteration param binding functions for this shader.
void makeTransform(const ArrayVector3 &position, const ArrayVector3 &scale, const ArrayQuaternion &orientation)
Building a Matrix4 from orientation / scale / position.
Definition: OgreVertexShadowMapHelper.h:41
GpuProgramParametersSharedPtr getDefaultParameters(void)
Get a reference to the default parameters which are to be used for all uses of this program.
uint32 zoffset
Definition: OgreGL3PlusRenderTexture.h:47
@ TM_SOFTWARE
Interpolate vertex positions in software.
Definition: OgreAnimationTrack.h:609
Represents a layer which is rendered on top of the 'normal' scene contents.
Definition: OgreOverlay.h:71
Renderbuffer surface.
Definition: OgreGL3PlusHardwarePixelBuffer.h:86
void deleteVertex(size_t vertex)
Deletes a specific vertex.
void setRotationInterpolationMode(RotationInterpolationMode im)
Tells the animation how to interpolate rotations.
static String eventType
Definition: OgreScriptCompiler.h:535
virtual void setBoundingBox(const AxisAlignedBox &box)
Set the bounds of this section.
VectorSet< Edge, 8 > VEdges
Definition: OgreLodData.h:64
float getLightCastsShadows(size_t index) const
virtual const Vector3 & getOrigin() const
Retrieve the centre position of the grid of terrain.
Definition: OgreTerrainGroup.h:116
static const IdString DetailDiffuseSwizzle1
Definition: OgreHlmsPbsMobile.h:162
void swapBuffers()
Swap buffers - only useful when using multisample buffers.
bool checkHardwareSupport(bool autoManageTextureUnits, StringStream &compileErrors)
Internal method for checking hardware support.
Real y
Definition: OgreVector4.h:48
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:199
bool isResourceGroupInitialised(const String &name)
Checks the status of a resource group.
LayerBlendOperationEx
Expert list of valid texture blending operations, for use with TextureUnitState::setColourOperationEx...
Definition: OgreBlendMode.h:75
virtual TextureGpu * getEmissiveTexture(void) const
Returns the closest match for a emissive texture, if applicable by the actual implementation.
void getTextureTecPassStateLevel(int &t, int &p, int &s) const
Get currently selected Texture attribs.
Definition: OgreExternalTextureSource.h:131
BufferDefinitionVec & getLocalBufferDefinitionsNonConst(void)
Returns the local buffer definitions.
Definition: OgreTextureDefinition.h:454
virtual_l2 void translate(const Matrix3 &axes, Real x, Real y, Real z, TransformSpace relativeTo=TS_PARENT)
Moves the node along arbitrary axes.
UavBufferPacked * getDefinedBuffer(IdString bufferName) const
Returns the buffer pointer of a buffer based on it's name.
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
virtual void updateParams(const MaterialPtr &mat, const Terrain *terrain)
Update parameters for the given terrain using the active profile.
Definition: OgreTerrainMaterialGenerator.h:352
Space
Enumeration of relative spaces that you might want to use to address the terrain.
Definition: OgreTerrain.h:517
char * end()
Definition: OgreLwString.h:346
const CompositorPassDef * getDefinition(void) const
Definition: OgreCompositorPass.h:215
bool operator<(const SampleDescription &other) const
Definition: OgreCommon.h:967
Definition: OgreCbTexture.h:46
virtual void _initialize(TextureGpuManager *textureManager)
SkeletonInstance * getSkeletonInstance(void) const
Definition: OgreMovableObject.h:591
void _resolveComponents(LodConfig &lodConfig, LodCollapseCostPtr &cost, LodDataPtr &data, LodInputProviderPtr &input, LodOutputProviderPtr &output, LodCollapserPtr &collapser)
@ ERR_INVALIDPARAMS
Definition: OgreException.h:109
@ PF_COUNT
Definition: OgrePixelFormat.h:362
virtual bool isPaused() const =0
Return whether the queue is paused ie not sending more work to workers.
void _setTextureBlendMode(size_t unit, const LayerBlendModeEx &bm)
Sets the texture blend modes from a TextureUnitState record.
TextureGpu * getDecalsEmissive(void) const
Definition: OgreSceneManager.h:1301
virtual StagingBuffer * createStagingBuffer(size_t sizeBytes, bool forUpload)
Creates a new staging buffer and adds it to the pool.
GpuProgramParametersSharedPtr getParameters(void)
Gets the parameters being used here.
virtual bool isCompatible(RenderTarget *renderTarget) const
Returns whether the specified RenderTarget is compatible with this DepthBuffer That is,...
void setNumShadowTextureDefinitions(size_t numTex)
Reserves enough memory for all texture definitions.
bool getSaveMicrocodesToCache()
Get if the microcode of a shader should be saved to a cache.
@ FFP_VS_TEXTURING
Definition: OgreShaderFFPRenderState.h:49
uint32 getDefaultStagingBufferUnfencedTime(void) const
Definition: OgreVaoManager.h:475
OpSemantic getSemantic() const
Returns the operand semantic (do we read/write or both with the parameter).
Definition: OgreShaderFunctionAtom.h:142
virtual const String & getType() const
static const ArrayReal SIGN_MASK
Definition: OgreMathlibC.h:58
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
static void shutdown(void)
Static method to shutdown and unregister the DDS codec.
virtual void setFsaaResolved()
RenderTexture * getRenderTarget(size_t slice)
Get a render target for this PixelBuffer, or a slice of it.
@ 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:176
virtual int32 getCellRangeMinY() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid2DPageStrategy.h:190
GLuint getGLBufferId(void) const
Definition: OgreGL3PlusHardwareShaderStorageBuffer.h:67
static const IdString TexMatrixCount3
Definition: OgreUnlitProperty.h:55
void setValue(Real value)
const VertexOffsetMap & getVertexOffsets(void) const
Gets a const reference to the vertex offsets.
Definition: OgrePose.h:107
@ PFG_D24_UNORM
Definition: OgrePixelFormatGpu.h:92
Definition: OgreLodData.h:119
UnimplementedException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
static CommandBufferExecuteFunc execute_setConstantBufferCS
Definition: OgreCommandBuffer.h:79
const String * findResourceNameFromAlias(IdString aliasName) const
This is a class that is the DirectX9 implementation of hardware occlusion testing.
Definition: OgreD3D11HardwareOcclusionQuery.h:54
BoneArrayMemoryManager(uint16 depthLevel, size_t hintMaxNodes, size_t cleanupThreshold=100, size_t maxHardLimit=MAX_MEMORY_SLOTS, RebaseListener *rebaseListener=0)
Constructor.
virtual const Source * getSourceB(void) const
Gets the second operator source.
virtual ~TerrainPagedWorldSection()
@ SKELETON_BONE_PARENT
Definition: OgreSkeletonFileFormat.h:72
@ PFG_ASTC_RGBA_UNORM_8X8_sRGB
Definition: OgrePixelFormatGpu.h:259
void setNonVisibleUpdateTimeout(Real timeout)
Sets when the particle system should stop updating after it hasn't been visible for a while.
Pose * createPose(ushort target, const String &name=BLANKSTRING)
Create a new Pose for this mesh or one of its submeshes.
@ PoolOwner
For internal use.
Definition: OgreTextureGpu.h:157
void createGeneratedLodLevel(Ogre::Real distance, Real reductionValue, LodLevel::VertexReductionMethod reductionMethod=LodLevel::VRM_PROPORTIONAL)
static const IdString UvCount2
Definition: OgreHlms.h:836
GLSLESShader * vertexShader
Definition: OgreGLES2HlmsPso.h:63
bool getAutoAspectRatio(void) const
Retrieves if AutoAspectRatio is currently set or not.
Real getRightBorderSize(void) const
Gets the size of the right border.
Status
Definition: OgreAsyncTextureTicket.h:57
IndexMap mBlendIndexToBoneIndexMap
Dedicated index map for translate blend index to bone index.
Definition: OgreSubMesh2.h:94
void updateCompositeMapWithDelay(Real delay=2)
Performs an update on the terrain composite map based on its dirty region, but only at a maximum freq...
Definition: OgreImageDownsampler.h:223
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:158
@ ID_STENCIL
Definition: OgreScriptCompiler.h:874
@ StoreOrResolve
If texture is MSAA, has same effects as MultisampleResolve.
Definition: OgreRenderPassDescriptor.h:112
void setFog(FogMode mode=FOG_NONE, const ColourValue &colour=ColourValue::White, Real expDensity=0.001, Real linearStart=0.0, Real linearEnd=1.0)
Sets the fogging mode applied to the scene.
ParticleSystem & operator=(const ParticleSystem &rhs)
Assignment operator for copying.
void fromTransformationMatrix(const Matrix4 &kTrans)
Construct a dual quaternion from a 4x4 transformation matrix.
static Aabb newFromExtents(const Vector3 &min, const Vector3 &max)
Sets both minimum and maximum extents at once (static version).
virtual OldNode * createChild(const String &name, const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY)
Creates a new named OldNode as a child of this OldNode.
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:856
OptimisationLevel getOptimisationLevel() const
Gets the optimisation level to use.
Definition: OgreD3D9HLSLProgram.h:201
virtual bool getUseVertexColours(void) const
Gets whether vertex colour information should be included in the final buffers generated.
Definition: OgreBillboardChain.h:192
Definition: OgreEGLContext.h:40
float getMinDistance(void) const
Definition: OgreForward3D.h:108
SceneNode * getAutoTrackTarget(void) const
Get the auto tracking target for this camera, if any.
Definition: OgreCamera.h:587
Definition: OgreException.h:232
void loadGroupDefinition(const String &filename)
Load the group definition only in native form from a file.
Simplex Noise ported from public domain Java Implementation http://webstaff.itn.liu....
Definition: OgreVolumeSimplexNoise.h:43
virtual void addListener(Listener *s)
Add a listener which will get called back on scene manager events.
void removeSharedParameters(const String &sharedParamsName)
Stop using the named shared parameter set.
static String formatErrorCode(uint32 code)
@ FOG_EXP
Fog density increases exponentially from the camera (fog = 1/e^(distance * density))
Definition: OgreCommon.h:241
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:85
@ ID_PARTICLE_SYSTEM
Definition: OgreScriptCompiler.h:813
void _setNamedConstants(const GpuNamedConstantsPtr &constantmap)
Internal method for providing a link to a name->definition map for parameters.
@ GCT_FLOAT3
Definition: OgreGpuProgramParams.h:75
FileInfoListPtr listFileInfo(bool recursive=true, bool dirs=false)
List all files in the archive with accompanying information.
virtual ~D3D11AsyncTicket()
void store4x3(Matrix4 *dst) const
Assumes dst is aligned.
Definition: C/OgreArrayMatrixAf4x3.h:249
void load()
Loads the archive.
void setEnablePlanarReflection(uint8 textureUnit, bool bEnable)
Set to true if the texture at the given texture unit is a planar reflection texture.
static String eventType
Definition: OgreScriptCompiler.h:570
virtual const String & getType() const
Get the type of the collection, which will match it's factory.
VertexAnimationTrack * getVertexTrack(unsigned short handle) const
Gets a Vertex track by it's handle.
Definition: OgreImageResampler.h:56
static size_t getMemorySize(uint32 width, uint32 height, uint32 depth, int32 xdim, int32 ydim, PixelFormatGpu fmt)
Real mFrameRate
Definition: OgreSkeletonAnimation.h:61
void addEdge(const Edge &edge)
Iterator pointing to the position in the mCollapseCostSet, which allows fast remove.
CbVao(VertexArrayObject *_vao)
uint16 terrainSize
Terrain size (along one edge) in vertices; must be 2^n+1.
Definition: OgreTerrain.h:332
virtual void buildDiffList(uint16 level, const MemoryPoolVec &basePtrs, ArrayMemoryManager::PtrdiffVec &outDiffsList)
Called when the manager needs to grow it's memory pool to honour more node requests.
size_t uncompressedSize
Uncompressed size.
Definition: OgreArchive.h:64
virtual bool hasDefaultParameters(void) const
Returns true if default parameters have been set up.
Definition: OgreGpuProgram.h:409
virtual void _dispatch(const HlmsComputePso &pso)
virtual size_t getMemoryBudget(void) const
Get the limit on the amount of memory this resource handler may use.
static ArrayReal Cos4(ArrayReal x)
Returns the cosine of x.
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 ...
virtual void setFSAA(uint fsaa, const String &fsaaHint)
Set the level of multisample AA to be used if hardware support it.
Definition: OgreRenderTarget.h:353
virtual void _releaseTextureSlot(TextureGpu *texture, uint32 texSlot)
static int32 getProperty(const HlmsPropertyVec &properties, IdString key, int32 defaultVal=0)
Utility helper, mostly useful to HlmsListener implementations.
@ GCT_SAMPLER_STATE
Definition: OgreGpuProgramParams.h:124
static const ArrayVector3 NEGATIVE_UNIT_Z
Definition: C/OgreArrayVector3.h:351
void cleanerArrayVector3Zero(char *dstPtr, size_t indexDst, char *srcPtr, size_t indexSrc, size_t numSlots, size_t numFreeSlots, size_t elementsMemSize)
virtual const ColourValue & getColourChange(size_t chainIndex) const
Get the per-second fading amount.
GLint getMaxVertexAttribs(void) const
Definition: OgreGLES2VaoManager.h:250
@ PASS_INVALID
Definition: OgreCompositorPassDef.h:53
ArrayQuaternion planeNormals
Definition: OgrePlanarReflectionActor.h:62
@ OT_TRIANGLE_LIST
A list of triangles, 3 vertices per triangle.
Definition: OgreHlmsPso.h:54
virtual void removeRenderQueueListener(RenderQueueListener *delListener)
Removes a listener previously added with addRenderQueueListener.
String doGet(const void *target) const
NULLTextureGpuManager(VaoManager *vaoManager, RenderSystem *renderSystem)
void setSpecular(const Vector3 &specularColour)
Sets the specular colour.
uint32 mLightVisibilityMask
Used by Forward+ to determine which lights should be used (via Light::setVisibilityFlags)
Definition: OgreCompositorPassSceneDef.h:78
uint16 hazardousTexIdx
Definition: OgreCbTexture.h:48
@ BBR_TEXCOORD
Rotate the billboard's texture coordinates.
Definition: OgreBillboardSet.h:74
void doSet(void *target, const String &val)
void load(DataStreamPtr &stream, const String &type=BLANKSTRING)
Loads an image file from a stream.
void _datablockDestroyed(IdString name)
Internal function to inform us that the datablock with the input name has been destroyed.
SceneManagerIterator getSceneManagerIterator(void)
Get an iterator over all the existing SceneManager instances.
void postExtraThreadsStarted()
@ PFF_LUMINANCE
This is an intensity format instead of a RGB one.
Definition: OgrePixelFormat.h:384
void acquirePrograms(Pass *pass, TargetRenderState *renderState)
Acquire CPU/GPU programs set associated with the given render state and bind them to the pass.
PixelFormat getFormat(void) const
virtual StagingStallType uploadWillStall(size_t sizeBytes)
Returns true if our next call to @map() with the same parameters will stall.
Definition: OgreGL3PlusHardwarePixelBuffer.h:38
bool isBlank(void) const
Determines if this texture layer is currently blank.
void setViewportModifierMask(uint8 mask)
Definition: OgreCompositorWorkspace.h:357
ArrayMaskR contains(const ArrayAabb &other) const
Tests whether another box contained by this box.
virtual uint16 getDepthBufferPoolId(void) const
static std::pair< bool, Real > intersects(const Ray &ray, const StdList< Plane > &planeList, bool normalIsOutside)
Ray / convex plane list intersection test.
Shared pointer implementation used to share index buffers.
Definition: OgreHardwareIndexBuffer.h:82
GeometryAllocatedObject IndexDataAlloc
Definition: OgreMemoryAllocatorConfig.h:312
uint32 HashCombine(uint32 hashSoFar, const T &data)
Combine hashes with same style as boost::hash_combine.
Definition: OgreCommon.h:60
const String & getTitle(void) const
ImageDownsampler2D downscale2x_Float32_A
Definition: OgreImageDownsampler.h:149
uint8 source
The source sampler index of this element relative to LayerDeclaration's list.
Definition: OgreTerrainMaterialGenerator.h:73
virtual void calculateHash()
static void unbindAll(void)
void swap(Ogre::SmallVectorImpl< T > &LHS, Ogre::SmallVectorImpl< T > &RHS)
Implement std::swap in terms of SmallVector swap.
Definition: OgreMain/include/OgreSmallVector.h:802
@ ID_SRC_TEXTURE
Definition: OgreScriptCompiler.h:773
static GPUVendor vendorFromString(const String &vendorString)
Convert a vendor string to an enum.
bool hasScale() const
Determines if this matrix involves a scaling.
Definition: OgreMatrix4.h:528
virtual bool prequeueMovableObjectLodChanged(const MovableObjectLodChangedEvent &evt)
Called before a movable object's LOD has changed.
Definition: OgreLodListener.h:134
virtual void setChildrenProcessEvents(bool val)
Should this container pass events to their children.
Definition: OgreOverlayContainer.h:127
Predefined controller value for getting / setting a texture coordinate modifications (scales and tran...
Definition: OgrePredefinedControllers.h:101
virtual void setColour(const ColourValue &colour)
Sets the initial colour of particles emitted.
void setNumTargetPass(size_t numPasses)
Reserves enough memory for all passes.
Definition: OgreCompositorNodeDef.h:146
UnlitTextureTypes
Definition: OgreHlmsUnlitPrerequisites.h:56
void removeAllShadowNodeDefinitions(void)
Removes all shadow nodes defs.
struct _D3DCOLORVALUE D3DCOLORVALUE
@ ID_DIFFUSE
Definition: OgreScriptCompiler.h:649
@ TAM_CLAMP
Texture clamps at 1.0.
Definition: OgreHlmsSamplerblock.h:52
D3D11StagingBuffer(size_t sizeBytes, VaoManager *vaoManager, bool uploadOnly, ID3D11Buffer *stagingBuffer, D3D11Device &device)
Texture * _getCompositeMapRTT()
Definition: OgreTerrainMaterialGenerator.h:395
@ ID_AFFECTOR
Definition: OgreScriptCompiler.h:815
virtual void upload(const TextureBox &srcBox, TextureGpu *dstTexture, uint8 mipLevel, const TextureBox *cpuSrcBox=0, const TextureBox *dstBox=0, bool skipSysRamCopy=false)
Uploads a region of data in srcBox (which must have been created with mapRegion) into dstTexture.
IndexMap sharedBlendIndexToBoneIndexMap
Shared index map for translating blend index to bone index.
Definition: OgreMesh.h:354
size_t calculateSize(void) const
virtual void reposition(int32 left, int32 top)
const String & getName(void) const
Returns the name of the OldNode.
Definition: OgreHlmsDiskCache.h:146
uint32 uavSlot
Index of texture unit state to change.
Definition: OgreCompositorPassUavDef.h:56
void _notifyCleared(void)
Internal Use.
void taskToUnloadOrDestroy(TextureGpu *texture, const ScheduledTasks &task)
Implements TaskTypeResidencyTransition when doing any of the following transitions: Resident -> OnSto...
virtual void _setVertexArrayObject(const VertexArrayObject *vao)
Part of the low level rendering interface.
Plane::Side outside
Definition: OgrePlaneBoundedVolume.h:58
@ UNLIT_BLEND_SUBTRACT
Definition: OgreHlmsUnlitPrerequisites.h:67
String _getShaderLanguage() const
Definition: OgreTerrainMaterialGeneratorA.h:148
ManualParam mp
Definition: OgreShaderParams.h:86
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:196
PolygonMode mPolygonMode
Definition: OgreHlmsDatablock.h:114
virtual VertexDeclaration * createVertexDeclaration(void)
Creates a new vertex declaration.
vector< Bone * >::type BoneVec
Definition: OgreBone.h:64
@ PFG_R9G9B9E5_SHAREDEXP
Definition: OgrePixelFormatGpu.h:113
@ FT_TRUETYPE
Generated from a truetype (.ttf) font.
Definition: OgreFont.h:47
String getNameStr(void) const
Definition: OgreCompositorNodeDef.h:112
bool getAborted() const
Get the abort flag.
Definition: OgreWorkQueue.h:123
Real getOriginalFrameRate(void) const
Definition: OgreSkeletonAnimationDef.h:98
virtual const String & _getDefaultViewportMaterialScheme(void) const
Returns the default material scheme used by the render system.
void createManualLodLevel(Ogre::Real distance, const String &manualMeshName)
uint8 arrayIdx
Definition: OgreCompositorShadowNodeDef.h:61
virtual void getRenderOperation(RenderOperation &op, bool casterPass)
Overridden from MovableObject.
Definition: OgrePixelBox.h:44
bool _isManualTextureFlagPresent(void) const
virtual void update(SceneManager *sceneMgr)=0
Update the contents of this vertex buffer by rendering.
Any & operator=(const Any &rhs)
Definition: OgreAny.h:97
KeyType peekNextKey(void) const
Returns the next(=current) key element in the collection, without advancing to the next.
Definition: OgreIteratorWrapper.h:277
static const IdString TexMatrixCount2
Definition: OgreUnlitProperty.h:54
uint32 id
Identifier of the chunk (for example from makeIdentifier) (stored)
Definition: OgreStreamSerialiser.h:98
virtual void setVSync(bool vSync, uint32 vSyncInterval)
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
virtual bool supportsAsDepthBufferFor(TextureGpu *colourTarget) const
GpuProgramType mProgramType
Definition: OgreScriptCompiler.h:569
virtual void copyTo(BufferInterface *dstBuffer, size_t dstOffsetBytes, size_t srcOffsetBytes, size_t sizeBytes)
static const IdString TexMatrixCount7
Definition: OgreHlmsUnlitMobile.h:103
@ ERR_CANNOT_WRITE_TO_FILE
Definition: OgreException.h:107
void setRenderQueueGroup(uint8 queueID)
Sets which render queue group this renderer should target with it's output.
@ RSC_ANISOTROPY
Supports anisotropic texture filtering.
Definition: OgreRenderSystemCapabilities.h:86
Light::LightTypes getOnlyLightType() const
Gets the single light type this pass runs for if getIteratePerLight and getRunOnlyForOneLightType are...
Definition: OgrePass.h:759
virtual void _render(const v1::CbDrawCallIndexed *cmd)
Renders a V1 RenderOperation. Assumes _setRenderOperation has already been called.
@ ID_CUBIC_REFLECTION
Definition: OgreScriptCompiler.h:782
virtual void removeViewport(Viewport *vp)
Removes a viewport at a given Z-order.
uint16 slice
Definition: OgreRenderPassDescriptor.h:124
Vector3 mDirection
Direction (and speed)
Definition: OgreParticle.h:90
virtual GpuProgramParametersSharedPtr createParameters(void)
Creates a new parameters object compatible with this program definition.
static const String & getPointLightExtruderArbvp1(void)
Get extruder program source for point lights, compatible with arbvp1.
Definition: OgreShadowVolumeExtrudeProgram.h:233
@ ACT_PASS_NUMBER
provides the pass index number within the technique of the active materil.
Definition: OgreGpuProgramParams.h:1289
@ PFG_ASTC_RGBA_UNORM_12X10_sRGB
Definition: OgrePixelFormatGpu.h:264
virtual bool requiresTextureFlipping(void) const
Definition: OgreMetalDepthTexture.h:103
Font(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Constructor.
iterator insertPOD(iterator where, const_iterator otherBegin, const_iterator otherEnd)
otherBegin & otherEnd must not overlap with this->begin() and this->end()
Definition: OgreFastArray.h:210
const String & getInputName() const
Gets currently set input file name.
Definition: OgreExternalTextureSource.h:117
HlmsJsonPbs(HlmsManager *hlmsManager, TextureGpuManager *textureManager, HlmsJsonListener *listener, const String &additionalExtension)
void removeRenderTextureView(IdString name)
virtual bool requiresTextureFlipping() const =0
void setShadowFarClipDistance(Real farClip)
Set the far clip plane distance to be used by the shadow camera, if this light casts texture shadows.
Definition: OgreLight.h:462
Definition: OgreD3D9GpuProgramManager.h:37
float getHeightAtWorldPosition(const Vector3 &pos) const
Get the height data for a given world position (projecting the point down on to the terrain).
void setMaxDistance(Real maxDistance)
virtual ~GLSLESProgramProcessor()
Class destructor.
void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Overridden - see RenderTarget.
map< String, PagedWorldSectionFactory * >::type WorldSectionFactoryMap
Definition: OgrePageManager.h:267
@ FromStorageToSysRam
OnStorage -> OnSystemRam.
Definition: OgreTextureGpuListener.h:53
DefaultHardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage)
HlmsLowLevel * hlmsLowLevel
Definition: OgreCbLowLevelMaterial.h:38
bool createRenderWindows(const RenderWindowDescriptionList &renderWindowDescriptions, WindowList &createdWindows)
Creates multiple rendering windows.
static DWORD get(CullingMode cm, bool flip)
return a D3D9 equivalent for a Ogre CillingMode value
BillboardSet * getBillboardSet(void) const
Access BillboardSet in use.
Definition: OgreBillboardParticleRenderer.h:234
MapIteratorWrapper(IteratorType start, IteratorType last)
Constructor.
Definition: OgreIteratorWrapper.h:271
set< String >::type SyntaxCodes
Definition: OgreGpuProgramManager.h:52
D3D11AsyncTicket(BufferPacked *creator, StagingBuffer *stagingBuffer, size_t elementStart, size_t elementCount, D3D11Device &device)
A factory that enables creation of LayeredBlending instances.
Definition: OgreShaderFFPAlphaTest.h:44
static UniformParameterPtr createSampler(GpuConstantType type, int index)
static SceneManagerEnumerator * getSingletonPtr(void)
Override standard Singleton retrieval.
@ ID_DEPTH_READ_ONLY
Definition: OgreScriptCompiler.h:845
@ MAX_FORWARD_PLUS_LIGHTS
Definition: OgreLight.h:92
uint8 mLastRQ
Last Render Queue ID to render. Not inclusive.
Definition: OgreCompositorPassSceneDef.h:110
virtual time_t getModifiedTime(const String &filename)=0
Retrieve the modification time of a given file.
T pop_back_val()
Definition: OgreMain/include/OgreSmallVector.h:400
void _setPointSpritesEnabled(bool enabled)
Sets whether or not rendering points using OT_POINT_LIST will render point sprites (textured quads) o...
@ PROP_INT
Definition: OgreProperty.h:108
GL3PlusDefaultHardwareIndexBuffer(IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage)
void _setPointSpritesEnabled(bool enabled)
Sets whether or not rendering points using OT_POINT_LIST will render point sprites (textured quads) o...
virtual ~PanelOverlayElement()
static const IdString UvRoughness
Definition: OgreHlmsPbs.h:510
size_t _getIntConstantPhysicalIndex(size_t logicalIndex, size_t requestedSize, uint16 variability)
Gets the physical buffer index associated with a logical int constant index.
void setShadowMappingUseBackFaces(bool useBackFaces)
Sets whether or not shadow casters should be rendered into shadow textures using their back faces rat...
const String & getDependency(unsigned int index) const
Get the library name of the given index dependency.
ushort getWeightCount()
Returns the number of weights/bones affecting a vertex.
IdString getInputTextureName(void) const
Definition: OgreCompositorPassIblSpecularDef.h:87
@ RSC_TEXTURE_COMPRESSION_ASTC
Definition: OgreRenderSystemCapabilities.h:229
void getRenderOperation(v1::RenderOperation &op, bool casterPass)
See Renderable.
virtual GpuSharedParametersPtr createSharedParameters(const String &name)
Create a new set of shared parameters, which can be used across many GpuProgramParameters objects of ...
void clearDeviceStreams()
DEFINE_GUID(IID_ID3D11Device1, 0xa04bfb29, 0x08ef, 0x43d6, 0xa4, 0x9c, 0xa9, 0xbd, 0xbd, 0xcb, 0xe6, 0x86)
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:346
Real getFrameDelay(void) const
Gets the constant that is added to time lapsed between each frame.
float getCurrentBakingMultiplier(void) const
If you've set setBakingMultiplier but haven't yet called VctLighting::update with autoMultiplier = fa...
Definition: OgreVctLighting.h:246
Quaternion orientation
Definition: OgreSceneManager.h:67
String::const_iterator begin() const
Definition: OgreHlmsCommon.h:138
AllocatedObject< SceneCtlAllocPolicy > SceneCtlAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:281
static const char * Texture
Definition: OgreHlmsCompute.h:207
Specialised KeyFrame which references a Mesh::Pose at a certain influence level, which stores offsets...
Definition: OgreKeyFrame.h:187
virtual bool isActive(void) const
Overridden from RenderTarget, flags invisible windows as inactive.
Definition: OgreRenderWindow.h:182
virtual void notifyCamera(Camera *cam)
Notify a section of the current camera.
bool getEnableVpls(void) const
Definition: OgreForwardPlusBase.h:222
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
@ RSC_TEXTURE_COMPRESSION_ETC2
Supports compressed textures in the ETC2 format.
Definition: OgreRenderSystemCapabilities.h:152
void makeCeil(const Vector3 &cmp)
Sets this vector's components to the maximum of its own and the ones of the passed in vector.
Definition: OgreVector3.h:558
String getErrorDescription(long errorNumber) const
Returns a description of an error code.
map< ushort, ushort >::type BindingIndexMap
Definition: OgreHardwareVertexBuffer.h:549
D3D11VaoManager(bool supportsIndirectBuffers, D3D11Device &device, D3D11RenderSystem *renderSystem, const NameValuePairList *params)
virtual void requestOptions(Terrain *terrain)
Triggers the generator to request the options that it needs.
Definition: OgreTerrainMaterialGenerator.h:286
virtual Real getMinTimeToLive(void) const
Gets the minimum time each particle will live for.
void setToSubstr(const LwConstString &source, char *_start, char *_end)
Definition: OgreLwString.h:147
size_t getEnd(void) const
Definition: OgreHlmsCommon.h:136
virtual void _setVertexTexture(size_t unit, TextureGpu *tex)
Binds a texture to a vertex, geometry, compute, tessellation hull or tessellation domain sampler.
uint32 getSrcWidth(void) const
Returns the width of the original input texture (may differ due to hardware requirements).
Definition: OgreTexture.h:237
uint8 waitForTailFrameToFinish(void)
Returns the current frame # (which wraps to 0 every mDynamicBufferMultiplier times).
VectorIteratorWrapper(IteratorType start, IteratorType last)
c'tor
Definition: OgreIteratorWrapper.h:151
This class makes the usage of a vertex and fragment programs (low-level or high-level),...
Definition: OgreGpuProgramUsage.h:74
IndexPositionMode positionMode
Definition: OgreShaderExTextureAtlasSampler.h:228
virtual void bindBufferVS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Binds the texture buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
Represents UAV buffers (also known as SSBOs in OpenGL) Uav buffers are supported in DX10/DX10....
Definition: OgreUavBufferPacked.h:43
@ PF_BYTE_L
Definition: OgrePixelFormat.h:49
void setIndexOfRefraction(const Vector3 &refractionIdx, bool separateFresnel)
Calculates fresnel (F0 in most books) based on the IOR.
GLuint getBlankTextureGlName(TextureTypes::TextureTypes textureType) const
const Vector3 & getSnapSidesDeviationErrorMax(void) const
bool hasPassIterationNumber() const
Does this parameters object have a pass iteration number constant?
Definition: OgreGpuProgramParams.h:2414
vector< SkeletonTrack >::type SkeletonTrackVec
Definition: OgreSkeletonTrack.h:133
ManualObjectSection(ManualObject *parent, const String &datablockName, OperationType opType)
char * data
Data is already offseted. To get the vertex location, perform (data - offset);.
Definition: OgreVertexIndexData.h:243
void doSet(void *target, const String &shaderNames)
Technique * getTechnique(void) const
Definition: OgreHlmsPbs.h:448
bool getPagingOperationsEnabled() const
Get whether paging operations are currently allowed to happen.
Definition: OgrePageManager.h:433
uint8 uvSource[NUM_PBSM_SOURCES]
Definition: OgrePbsMobileShaderCreationData.h:55
Definition: OgreIndexBufferPacked.h:37
Real getLodValue(void) const
Get the LOD value.
Definition: OgreStaticGeometry.h:336
MetalRenderTexture(MetalDevice *ownerDevice, const String &name, v1::HardwarePixelBuffer *buffer, __unsafe_unretained id< MTLTexture > renderTexture, __unsafe_unretained id< MTLTexture > resolveTexture, PixelFormat format, uint32 depthPlane, uint32 slice, uint32 fsaa, uint32 mip, bool hwGamma)
virtual void prepareImpl(void)
std::string _StringBase
Definition: OgrePrerequisites.h:578
virtual void beginProfileEvent(const String &eventName)
This marks the beginning of an event for GPU profiling.
GpuResidency::GpuResidency getResidencyStatus(void) const
@ ACT_VERTEX_WINDING
-1 if the winding has been inverted (e.g.
Definition: OgreGpuProgramParams.h:1009
Stream(const Stream &rhs)
bool hasFlag(const ImageFlags imgFlag) const
Returns true if the image has the appropriate flag set.
virtual size_t calculateSize(void) const
Calculate the size of a resource; this will only be called after 'load'.
void blit(const HardwarePixelBufferSharedPtr &src, const Box &srcBox, const Box &dstBox)
Copies a box from another PixelBuffer to a region of the this PixelBuffer.
T top
Definition: OgreCommon.h:714
virtual float getViewPointToPixelScale() const
Many windowing systems that support HiDPI displays use special points to specify size of the windows ...
Definition: OgreWindow.h:113
Real getTop(void) const
Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0.
virtual ~SceneQueryListener()
IDirect3DTexture9 * getNormTexture()
retrieves a pointer to the normal 1D/2D texture
DefaultSceneManager(const String &name, size_t numWorkerThreads)
static const IdString DetailMap2
Definition: OgreHlmsPbs.h:474
static TextureAddressingMode parseTextureAddressingMode(const char *value)
virtual bool isLateMaterialResolving() const
Gets whether using late material resolving or not.
Definition: OgreSceneManager.h:2426
GLenum depthFunc
Definition: OgreGLES2HlmsPso.h:49
A group of edges sharing the same vertex data.
Definition: OgreEdgeListBuilder.h:104
virtual const AnimableValuePtr & getAssociatedAnimable(void) const
Returns a pointer to the associated animable object (if any).
virtual bool getDirPositionReferenceEnabled() const
Returns whether direction or position reference is used.
virtual void initGPUProfiling(void)
Real normalise()
Normalises the vector.
Definition: OgreVector3.h:452
v1::VertexData * vertexData
Definition: OgreCbDrawCall.h:90
void recalcTangents(void)
Recalculates the tangents associated with this spline.
void fireDeviceEvent(D3D11Device *device, const String &name, D3D11RenderWindowBase *sendingWindow=NULL)
Definition: OgreD3D11RenderSystem.h:200
size_t getRowSkip() const
Get the number of elements between one past the rightmost pixel of one row and the leftmost pixel of ...
virtual ~RandomValueProvider()
IndexData * indexData[NumVertexPass]
Face index data.
Definition: OgreSubMesh.h:94
static void setUseLocale(bool useLocale)
Definition: OgreStringConverter.h:298
pthread_key_t TlsHandle
Definition: OgreThreads.h:132
static const ColourValue White
Definition: OgreColourValue.h:62
@ ACT_LIGHT_SPECULAR_COLOUR
Light specular colour (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:1041
GLES2BufferInterface(size_t vboPoolIdx, GLuint vboName, GLES2DynamicBuffer *dynamicBuffer)
@ M_SUBMESH_M_GEOMETRY_VERTEX_BUFFER
Definition: OgreMeshFileFormat.h:94
Command object for setting the char height.
Definition: OgreTextAreaOverlayElement.h:147
bool checkGPURules(StringStream &errors)
Internal method for checking GPU vendor / device rules.
Real getVerticalTexelOffset(void)
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this r...
Definition: OgreGLES2RenderSystem.h:424
@ RSC_TEXTURE_SIGNED_INT
Supports signed integer textures.
Definition: OgreRenderSystemCapabilities.h:105
static LogManager * getSingletonPtr(void)
Override standard Singleton retrieval.
void doSet(void *target, const String &val)
virtual bool prequeueEntityMeshLodChanged(EntityMeshLodChangedEvent &evt)
Called before an entity's mesh LOD has changed.
Definition: OgreLodListener.h:162
GL3PlusSurfaceDesc requestRenderBuffer(GLenum format, uint32 width, uint32 height, uint fsaa)
Request a render buffer.
bool hasEdgeList(void)
Overridden member from ShadowCaster.
void compileShaderCode(ShaderCodeCache &codeCache)
Compiles input properties and adds it to the shader code cache.
static GLenum getGLInternalFormat(PixelFormat mFormat, bool hwGamma)
Takes the OGRE pixel format and returns the type that must be provided to GL as internal format.
String doGet(const void *target) const
void copyTo(BufferPacked *dstBuffer, size_t dstElemStart=0, size_t srcElemStart=0, size_t srcNumElems=std::numeric_limits< size_t >::max())
Copies the contents of this buffer to another, using GPU -> GPU transfers.
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:87
vector< Polygon * >::type PolygonList
Definition: OgreConvexBody.h:55
void prepare()
Prepare node and children (perform CPU tasks, may be background thread)
String doGet(const void *target) const
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.
PagedWorldSection * createSection(PageStrategy *strategy, SceneManager *sceneMgr, const String §ionName=BLANKSTRING)
Create a manually defined new section of the world.
@ PFG_B5G5R5A1_UNORM
Definition: OgrePixelFormatGpu.h:143
void storeToAoS(Matrix4 *RESTRICT_ALIAS dst) const
Converts these matrices contained in this ArrayMatrix to AoS form and stores them in dst.
virtual bool hasStaticGeometry(const String &name) const
Returns whether a static geometry instance with the given name exists.
void setFrameDelay(Real fd)
Sets a constant frame rate.
RequestID getID() const
Get the identifier of this request.
Definition: OgreWorkQueue.h:121
@ FFP_VS_FOG
Definition: OgreShaderFFPRenderState.h:50
Real getPointAttenuationConstant(void) const
Returns the constant coefficient of point attenuation.
void mapOutputBufferChannel(size_t outChannel, IdString bufferName)
Maps the output channel to the given buffer name which can be either a local buffer or a reference to...
static CommandBufferExecuteFunc execute_startV1LegacyRendering
Definition: OgreCommandBuffer.h:92
NULLTextureGpuRenderTarget(GpuPageOutStrategy::GpuPageOutStrategy pageOutStrategy, VaoManager *vaoManager, IdString name, uint32 textureFlags, TextureTypes::TextureTypes initialType, TextureGpuManager *textureManager)
const DriverVersion & getGLVersion(void) const
Get version information.
Definition: OgreGL3PlusSupport.h:78
virtual ~MultiSourceVertexBufferPool()
Definition: OgreMultiSourceVertexBufferPool.h:80
virtual void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
Definition: OgreLight.h:374
Definition: OgreHiddenAreaMeshVr.h:66
void shutdown(void)
See RenderSystem.
void flush()
Definition: OgreVertexIndexData.h:346
virtual ~PropertyBase()
Definition: OgreProperty.h:192
static std::pair< bool, Real > 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.
void Swap(ComPtr &other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:176
const DriverVersion & getGLVersion(void) const
Get version information.
Definition: OgreGLES2Support.h:82
uint32 getProfileGroupMask() const
Get the mask which all profiles must pass to be enabled.
Definition: OgreProfiler.h:513
@ GCT_DOUBLE2
Definition: OgreGpuProgramParams.h:100
const uint32 * getThreadsPerGroup(void) const
Definition: OgreHlmsComputeJob.h:179
const HlmsDatablockMap & getDatablockMap(void) const
Returns all datablocks owned by this Hlms, including the default one.
Definition: OgreHlms.h:659
Subclass of BillboardChain which automatically leaves a trail behind one or more Node instances.
Definition: OgreRibbonTrail.h:71
static DWORD get(HardwareBuffer::LockOptions options, HardwareBuffer::Usage usage)
Get lock options.
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:67
static const IdString NoReverseDepth
Definition: OgreHlms.h:915
virtual void frameStart(Real timeSinceLastFrame)
Called when the frame starts.
Definition: OgrePageContent.h:69
@ ThreadGroupsBasedOnUav
Based the number of thread groups on a UAV. See setNumThreadGroupsBasedOn.
Definition: OgreHlmsComputeJob.h:62
size_t physicalIndex
Physical start index in buffer (either float, double, int, or uint buffer)
Definition: OgreGpuProgramParams.h:157
ExternalTextureSource * getCurrentPlugIn(void) const
Returns currently selected plugin, may be null if none selected.
Definition: OgreExternalTextureSourceManager.h:67
virtual size_t _asyncDownload(BufferPacked *source, size_t srcOffset, size_t srcLength)=0
Copies the GPU data in BufferPacked to the StagingBuffer so that it can be later read by the CPU usin...
Block(size_t _offset, size_t _size)
Definition: OgreNULLVaoManager.h:55
bool mLoop
Definition: OgreSkeletonAnimation.h:64
bool hasSeparateFresnel(void) const
Whether the same fresnel term is used for RGB, or individual ones for each channel.
Codec specialized in images.
Definition: OgreImageCodec.h:48
static String eventType
Definition: OgreScriptCompiler.h:603
static void scale(const TextureBox &src, const TextureBox &dst)
Definition: OgreImageResampler.h:57
uint32 primCount
Definition: OgreCbDrawCall.h:106
TextureGpu * createOrRetrieveTexture(const String &name, const String &aliasName, GpuPageOutStrategy::GpuPageOutStrategy pageOutStrategy, uint32 textureFlags, TextureTypes::TextureTypes initialType, const String &resourceGroup=BLANKSTRING, uint32 filters=0, uint32 poolId=0)
virtual PageContentCollection * getContentCollection(size_t index)
Get a content collection.
NodeVecIterator getChildIterator(void)
Retrieves an iterator for efficiently looping through all children of this node.
void arrangeEfficient(bool halfPos, bool halfTexCoords, bool qTangents)
Rearranges the buffers in this Mesh so that they are more efficient for rendering with shaders.
@ VES_DIFFUSE
Diffuse colours.
Definition: OgreVertexElements.h:49
void setManuallyControlled(bool manuallyControlled)
Sets whether or not this bone is manually controlled.
CullFrustumRequest()
Definition: OgreSceneManager.h:115
~LodStrategyManager()
Destructor.
bool isCurrentlyMapped(void) const
Returns whether the buffer is currently mapped.
Definition: OgreHlms.h:946
void _validateStereo()
Validate the type of stereo that is enabled for this window.
RqSortMode
Definition: OgreRenderQueue.h:113
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
Create counter buffer.
void addWorldSectionFactory(PagedWorldSectionFactory *f)
Add a new PagedWorldSectionFactory implementation.
ColourValue getColourAt(size_t x, size_t y, size_t z, uint8 mipLevel=0) const
Get colour value from a certain location in the image.
DualQuaternion(const Matrix4 &rot)
Construct a dual quaternion from a transformation matrix.
Definition: OgreDualQuaternion.h:64
virtual void setMinTimeToLive(Real min)
Sets the minimum time each particle will live for.
virtual bool getPolygonModeOverrideable(void) const
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setti...
Definition: OgreRenderable.h:344
bool scissorsMatchViewport(void) const
Real dw
Definition: OgreDualQuaternion.h:166
virtual OldBone * getBone(const String &name) const
Gets a bone by it's name.
SubRenderStateFactory * getSubRenderStateFactory(const String &type)
Returns a sub render state factory by name.
static const ArrayReal FLOAT_MIN
Definition: OgreMathlibC.h:57
@ SHADOW_NODE_REUSE
Forces the PassScene to not recalculate the ShadowNode even if it should.
Definition: OgreCompositorPassSceneDef.h:59
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
float getRoughness(void) const
Definition: OgreDecal.h:132
virtual void _setVisible(bool visible)
Internal method to notify the window it has been obscured or minimized.
Definition: OgreD3D11Window.h:73
void addRenderables(RenderQueue *queue, uint8 group, size_t materialLod)
Add children to the render queue.
virtual void _restoreManualHardwareResources()
@ SPC_TEXTURE_COORDINATE7
Definition: OgreShaderParameter.h:295
virtual void notifyTextureChanged(TextureGpu *texture, TextureGpuListener::Reason reason, void *extraData)
Called when a TextureGpu changed in a way that affects how it is displayed:
CbTextures(uint16 _texUnit, uint16 _hazardousTexIdx, const DescriptorSetTexture *_descSet)
void ToAngleAxis(ArrayRadian &rfAngle, ArrayVector3 &rkAxis) const
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...
int Windowed
Definition: OgreD3D11LegacySDKEmulation.h:70
virtual void notifyCleared(void)
@See CompositorNode::_notifyCleared
virtual void _notifyCurrentCamera(const Camera *cam)
Overridden from MovableObject.
virtual ~FocusedShadowCameraSetup(void)
Default destructor.
virtual void destroyManualObject(ManualObject *obj)
Removes & destroys a ManualObject from the SceneManager.
Definition: OgreRenderQueue.h:50
bool isArray() const
Returns Whether this parameter is an array.
Definition: OgreShaderParameter.h:344
~TextureUnitState()
Default destructor.
MeshSerializerImpl_v1_8()
Matrix4 getTransposeWorldViewMatrix() const
static bool isInteger(PixelFormat format)
Shortcut method to determine if the format is integer.
Viewport * getCurrentViewport0(void) const
Gets the current viewport being rendered (advanced use only, only valid during viewport update.
Definition: OgreSceneManager.h:2633
static void fillConstBufferData(const CubemapProbe &probe, const Matrix4 &viewMatrix, const Matrix3 &invViewMat3, float *RESTRICT_ALIAS passBufferPtr)
TimeIndex(Real timePos, uint keyIndex)
Construct time index object by the given time position and global keyframe index.
Definition: OgreAnimationTrack.h:84
void setListener(MeshSerializerListener *listener)
Sets the listener used to control mesh loading through the serializer.
Real getOwnHeight(void) const
Retrieves the billboard's personal height, if hasOwnDimensions is true.
@ TEXTURE_TYPE_NON_COLOR_DATA
Definition: OgreHlmsTextureManager.h:140
static void messagePump()
list< IndexRemap >::type IndexRemapList
List of indexes that were remapped (split vertices).
Definition: OgreTangentSpaceCalc.h:73
SharedPtr< ControllerFunction< Real > > ControllerFunctionRealPtr
Definition: OgreControllerManager.h:51
Definition: OgreShaderExTextureAtlasSampler.h:46
ResourceLayout::Layout oldLayout
Definition: OgreResourceTransition.h:124
StdVector< IdString > IdStringVec
Definition: OgreIdString.h:332
Definition: OgreCommon.h:155
virtual bool addFunctionInvocations(ProgramSet *programSet)
virtual void frameStart(Real timeSinceLastFrame)
Called when the frame starts.
bool operator!=(STLAllocator< T, P > const &, STLAllocator< T2, P > const &)
determine equality, can memory from another allocator be released by this allocator,...
Definition: OgreMemorySTLAllocator.h:207
void setGLDisplay(EGLDisplay val)
virtual void setTextureCoordDirection(TexCoordDirection dir)
Sets the direction in which texture coords specified on each element are deemed to run along the leng...
@ CE_FEWERPARAMETERSEXPECTED
Definition: OgreScriptCompiler.h:211
unsigned int getColourDepth() const
@ PF_ASTC_SRGB8A8_10X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 10x5)
Definition: OgrePixelFormat.h:305
void setBoneRebaseListener(BySkeletonDef *l)
Definition: OgreBoneMemoryManager.h:162
bool isZeroLength(void) const
Returns true if this vector is zero length.
Definition: OgreVector3.h:720
@ RSC_AUTOMIPMAP
Supports generating mipmaps in hardware.
Definition: OgreRenderSystemCapabilities.h:83
Struct containing information about a material LOD change event for entities.
Definition: OgreLodListener.h:74
virtual ~UnimplementedException()
void _buildBoneAssignmentsFromVertexData(void)
Populates mBoneAssignments by reading the vertex data.
virtual_l2 void translate(const Vector3 &d, TransformSpace relativeTo=TS_PARENT)
Moves the node along the Cartesian axes.
void touch(void)
'Touches' the resource to indicate it has been used.
@ ID_PASS_OP
Definition: OgreScriptCompiler.h:972
T *RESTRICT_ALIAS_RETURN get()
Definition: OgreRawPtr.h:117
MapIterator< ParticleEmitterFactoryMap > ParticleEmitterFactoryIterator
Definition: OgreParticleSystemManager.h:334
static Degree Sign(const Degree &dValue)
Definition: OgreMath.h:351
@ ID_MIPMAPS
Definition: OgreScriptCompiler.h:868
void loadGroupDefinition(StreamSerialiser &stream)
Load the group definition only in native form from a serializing stream.
@ SPC_UNKNOWN
Unknown content.
Definition: OgreShaderParameter.h:78
bool _isManualLodLevel(unsigned short level) const
Internal methods for loading LOD, do not use.
GL3PlusDefaultHardwareVertexBuffer(size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage)
D3D9HardwareOcclusionQuery()
Default object constructor.
void unmap(UnmapOptions unmapOption, size_t flushStartElem=0, size_t flushSizeElem=0)
Unmaps or flushes the region mapped with.
const_iterator end() const
Definition: OgreFastArray.h:369
const String & getMovableType(void) const
IdString getName(void) const
Definition: OgreHlmsComputeJob.h:144
void _setTextureCoordSet(size_t unit, size_t index)
virtual void postExtraThreadsStarted()
virtual ~ResourceLoadingListener()
String getErrorDescription(const HRESULT hr=NO_ERROR) const
virtual bool isHardwareFilteringSupported(TextureType ttype, PixelFormat format, int usage, bool preciseFormatOnly=false)=0
Returns whether this render system has hardware filtering supported for the texture format requested ...
virtual OGRE_DEPRECATED void setUserAny(const Any &anything)
Definition: OgreRenderable.h:356
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.
virtual bool queryIsTransferDone(void)
@ 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:1375
Definition: OgreResourceTransition.h:134
void abortRequest() const
Set the abort flag.
Definition: OgreWorkQueue.h:111
const String & getTargetLanguage() const
Return the target shader language currently in use.
Definition: OgreShaderGenerator.h:147
StatFlags
Definition: OgreRenderTarget.h:67
struct _OgreVolumeExport Ogre::Volume::Vertex Vertex
Lightweight struct to represent a mesh vertex.
bool isVertexProgramInUse() const
Definition: OgreStaticGeometry.h:352
PropertyValueMap getValueMap() const
Gets an independently usable collection of property values from the current state.
virtual void setOrthoWindow(Real w, Real h)
Sets the orthographic window settings, for use with orthographic rendering only.
virtual void _update(void)
void removeTexUnit(uint8 slotIdx)
Destroys a given texture unit, displacing all the higher tex units.
bool isLocked(void) const
Returns whether or not this buffer is currently locked.
Definition: OgreHardwareBuffer.h:340
ArrayAabb intersection(const ArrayAabb &b2) const
Calculate the area of intersection of this box and another.
static Matrix4 parseMatrix4(const String &val, const Matrix4 &defaultValue=Matrix4::IDENTITY)
Parses a Matrix4 out of a String.
@ MAX_COMMAND_BUFFER
Definition: OgreCbCommon.h:71
static String eventType
Definition: OgreScriptCompiler.h:593
String resourceType
Definition: OgreResourceGroupManager.h:297
void removeAllSharedParameters()
Stop using all shared parameter sets.
void setViewportModifier(const Vector4 &modifier)
Definition: OgreCompositorWorkspace.h:359
static CommandBufferExecuteFunc execute_drawV1Strip
Definition: OgreCommandBuffer.h:97
virtual void unload()=0
Unloads the archive.
uint16 diffuseTexIdx
Definition: OgreVctMaterial.h:49
~SmallVectorImpl()
Definition: OgreMain/include/OgreSmallVector.h:340
virtual RenderWindow * createWindow(bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle)
bool lexemeEquals(const char *str) const
Definition: OgreScriptLexer.h:72
void updateParams(const MaterialPtr &mat, const Terrain *terrain)
Update params for a terrain.
Implementation of NULL as a rendering system.
Definition: OgreNULLRenderSystem.h:56
virtual void bindBufferCS(uint16 slot)
Real getTopBorderSize(void) const
Gets the size of the top border.
@ SBT_ADD
Add the texture values to the existing scene content.
Definition: OgreBlendMode.h:222
NamePair()
Definition: OgreHlmsTextureManager.h:160
bool hasEmissiveConstant(void) const
Returns true iif getEmissive is non-zero.
@ ID_FRONT
Definition: OgreScriptCompiler.h:961
bool getUseDpm2DArray(void) const
Definition: OgreParallaxCorrectedCubemapBase.h:95
Definition: OgreObjCmdBuffer.h:55
static size_t getVectorIDFromPointer(const std::vector< T, A > &vec, const T *pointer)
Definition: OgreLodData.h:174
Vector3 mC2
Definition: OgreVolumeDualGridGenerator.h:47
static const String & getDirectionalLightExtruderVs_glslesFinite(void)
Get FINITE extruder program source for directional lights, compatible with glsles.
Definition: OgreShadowVolumeExtrudeProgram.h:299
@ ID_KERNEL_RADIUS
Definition: OgreScriptCompiler.h:993
@ ST_EXTERIOR_FAR
Definition: OgreSceneManager.h:2838
void unloadPlugin(const String &pluginName)
Manually unloads a Plugin contained in a DLL / DSO.
virtual void copyTo(BufferInterface *dstBuffer, size_t dstOffsetBytes, size_t srcOffsetBytes, size_t sizeBytes)=0
SharedPtrInfo()
Definition: OgreSharedPtr.h:56
uint32 mMask
Definition: OgreParallaxCorrectedCubemapBase.h:59
virtual void _releaseManualHardwareResources()
Notifies that hardware resources were lost.
Definition: OgreOverlayElement.h:204
@ UNLIT_BLEND_MULTIPLY2X
Definition: OgreHlmsUnlitPrerequisites.h:69
GLenum getGlTarget(void) const
Definition: OgreGL3PlusTextureBuffer.h:78
void removeAllWorkspaceDefinitions(void)
_OgreExport friend std::ostream & operator<<(std::ostream &o, const Vector2 &v)
Function for writing to a stream.
~D3D11HardwareOcclusionQuery()
Object destructor.
~DefaultHardwareBufferManagerBase()
Specialised AnimationTrack for dealing with generic animable values.
Definition: OgreAnimationTrack.h:269
static ArrayMaskI TestFlags4(ArrayMaskI a, ArrayInt b)
Definition: OgreMathlibC.h:176
virtual void setFullscreen(bool fullScreen, unsigned int widthPt, unsigned int heightPt)
Alter fullscreen mode options.
Definition: OgreRenderWindow.h:115
~GL3PlusDefaultHardwareVertexBuffer()
size_t getVboPoolIndex(void)
Definition: OgreD3D11BufferInterfaceBase.h:56
@ CB_SET_TEXTURE_BUFFER_PS
Definition: OgreCbCommon.h:54
void setUseRayBoxDistanceCalculation(bool rb)
Sets whether to use an accurate ray / box intersection to determine distance from a terrain tile,...
Definition: OgreTerrain.h:2038
unsigned short getNumSubMeshes(void) const
Gets the number of sub meshes which comprise this mesh.
void getVector(Real x, Real y, Real z, Vector3 *outVec) const
Translate a vector into world space based on the alignment options.
~STLAllocator()
dtor
Definition: OgreMemorySTLAllocator.h:107
@ UNLIT_BLEND_GRAIN_MERGE
Definition: OgreHlmsUnlitPrerequisites.h:75
virtual void freeInternalResources(void)
Frees internal texture resources for this texture.
Real getIterationInterval(void) const
Gets a 'iteration interval' on this particle system.
Definition: OgreParticleSystem.h:427
void freeTagPoint(TagPoint *tagPoint)
Frees a TagPoint that already attached to a bone.
uint32 getDepth(void) const
For TypeCube & TypeCubeArray, this value returns 1.
virtual void resourceGroupScriptingEnded(const String &groupName)=0
This event is fired when a resource group finished parsing scripts.
FunctionType getFunctionType() const
get function type.
PbsMobileShaderCreationData()
Definition: OgrePbsMobileShaderCreationData.h:65
FastArray< ReadRequests > ReadRequestsArray
Definition: OgreVertexArrayObject.h:196
@ PFG_ASTC_RGBA_UNORM_10X5_sRGB
Definition: OgrePixelFormatGpu.h:260
virtual bool frameStarted(const FrameEvent &evt)
Called when a frame is about to begin rendering.
GLSL ES Language program processor class.
Definition: OgreShaderGLSLESProgramProcessor.h:47
virtual bool getDynamic() const
Gets whether this object is marked as dynamic.
Definition: OgreManualObject.h:178
virtual void regressFrame(void)
@ BY_DISTANCE
Definition: OgreTerrainAutoUpdateLod.h:70
void setMaterialName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
update the material name in use
uint64 getMicroseconds()
Returns microseconds since initialisation or last reset.
@ PF_ASTC_RGBA_10X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 10x5)
Definition: OgrePixelFormat.h:277
Specialised AnimationTrack for dealing with node transforms.
Definition: OgreAnimationTrack.h:330
void setWorkQueue(WorkQueue *queue)
Replace the current work queue with an alternative.
virtual void _setUavCS(uint32 slotStart, const DescriptorSetUav *set)
bool useCompression
If enabled, it allows up to 50% smaller index buffers by storing once shared faces with frame shiftin...
Definition: OgreLodConfig.h:152
Real getDetailMapWeight(uint8 detailMap) const
static int8 floatToSnorm8(float v)
Definition: OgreBitwise.h:440
bool isDirty() const
True if this parameter set is dirty (values have been modified, but the render system has not updated...
Definition: OgreGpuProgramParams.h:703
@ PF_X8R8G8B8
32-bit pixel format, 8 bits for red, 8 bits for green, 8 bits for blue like PF_A8R8G8B8,...
Definition: OgrePixelFormat.h:84
IdString getName(void) const
Definition: OgreCompositorNodeDef.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 _unlinkRenderable(Renderable *renderable)
This is a listener for the compiler.
Definition: OgreScriptCompiler.h:367
virtual void _restoreManualHardwareResources()
Notifies the scene manager that hardware resources should be restored.
Ogre::MapIterator< PropertyMap > PropertyIterator
Definition: OgreProperty.h:301
Definition: OgreSharedPtr.h:385
Vector3 mC5
Definition: OgreVolumeDualGridGenerator.h:50
bool getInheritParentEntityOrientation(void) const
Returns true if this TagPoint is affected by orientation applied to the parent entity.
VertexElement2VecVec convertToV2(void)
Definition: OgreGL3PlusUavBufferPacked.h:40
@ FBT_COLOUR
Definition: OgreCommon.h:322
IdString getName(void) const
Definition: OgreSkeletonAnimation.h:118
@ M_POSES
Definition: OgreMeshFileFormat.h:146
@ None
No alpha blending. Default.
Definition: OgreHlmsPbsDatablock.h:175
ArrayMaskR contains(const ArrayVector3 &v) const
Tests whether the given point contained by this box.
TextureGpu ** getLightVoxelTextures(void)
Definition: OgreVctLighting.h:327
uint32 meshIndex
This index is set to 0 by default.
Definition: OgreRenderOperation.h:56
const Vector3 & getNormal(void) const
Returns the polygon normal.
TRect & merge(const TRect &rhs)
Definition: OgreCommon.h:748
virtual bool isClosed(void) const =0
Indicates whether the window has been closed by the user.
Class for providing backwards-compatibility for loading version 1.4 of the .mesh format.
Definition: OgreMeshSerializerImpl.h:264
virtual bool isSyntaxSupported(const String &syntaxCode) const
Returns whether a given syntax code (e.g.
void seek(size_t pos)
Repositions the read point to a specified byte.
MetalTextureGpuManager(VaoManager *vaoManager, RenderSystem *renderSystem, MetalDevice *device)
@ RSC_TEXTURE_2D_ARRAY
TEX_TYPE_2D_ARRAY is supported.
Definition: OgreRenderSystemCapabilities.h:205
static const IdString DetailOffsetsN2
Definition: OgreHlmsPbsMobile.h:134
virtual void shutdown()=0
Perform any tasks the plugin needs to perform when the system is shut down.
Real getPointAttenuationLinear(void) const
Returns the linear coefficient of point attenuation.
@ GCT_INT1
Definition: OgreGpuProgramParams.h:94
virtual bool frameStarted(const FrameEvent &evt)
Called when a frame is about to begin rendering.
Vertex * vertex[3]
Definition: OgreLodData.h:120
void setActiveDomainShader(GLSLShader *domainGpuProgram)
Set the active domain(evaluation) shader for the next rendering state.
RenderWindow * _createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
VertexReductionMethod
Type of the reduction.
Definition: OgreLodConfig.h:59
virtual bool isHidden() const
Indicates whether the window was set to hidden (not displayed)
Definition: OgreD3D11Window.h:75
HlmsUnlitMobileDatablock OverlayUnlitDatablock
Definition: OgreOverlayPrerequisites.h:81
void fillBuffer(Ogre::v1::VertexData *data)
virtual void releaseVertexBufferCopy(const HardwareVertexBufferSharedPtr &bufferCopy)
Manually release a vertex buffer copy for others to subsequently use.
Definition: OgreHardwareBufferManager.h:502
virtual RenderSystemCapabilities * createRenderSystemCapabilities() const =0
Query the real capabilities of the GPU and driver in the RenderSystem.
virtual Animation * getAnimation(const String &name) const
Returns the named vertex Animation object.
Definition: OgreScriptTranslator.h:333
void addResourceLocation(const String &name, const String &locType, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, bool recursive=false)
Adds a location to the list of searchable locations for a Resource type.
Real getShadowFarClipDistance() const
Get the far clip plane distance to be used by the shadow camera, if this light casts texture shadows.
Definition: OgreLight.h:470
virtual void read(Vector4 *vec, size_t count=1)
static PropertyType getTypeForValue(const ColourValue &val)
Definition: OgreProperty.h:166
SkeletonInstance(const SkeletonDef *skeletonDef, BoneMemoryManager *boneMemoryManager)
static CompareFunction reverseCompareFunction(CompareFunction depthFunc)
Reverts the compare order e.g.
PropertyIterator getPropertyIterator()
Get an iterator over the available properties.
void setFragmentProgramConstantIntCount(ushort c)
The number of integer constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:749
size_t mBatchCount
Definition: OgreRenderSystem.h:118
Implementation of HardwareBufferManager for D3D9.
Definition: OgreD3D9HardwareBufferManager.h:38
map< FrameBufferDescKey, MetalFrameBufferDescValue >::type MetalFrameBufferDescMap
Definition: OgreMetalRenderPassDescriptor.h:55
void _setRawAutoConstant(size_t physicalIndex, AutoConstantType acType, size_t extraInfo, uint16 variability, size_t elementSize=4)
As setAutoConstant, but sets up the auto constant directly against a physical buffer index.
void setPreferDepthTexture(bool preferDepthTexture)
Whether this RT should be attached to a depth texture, or a regular depth buffer.
#define OGRE_MAX_TEXTURE_COORD_SETS
Define number of texture coordinate sets allowed per vertex.
Definition: OgreConfig.h:73
Defines a PipelineStateObject as required by Vulkan, Metal & DX12.
Definition: OgreHlmsPso.h:176
virtual ~ParallaxCorrectedCubemapBase()
void _setVaoManager(VaoManager *vaoManager)
@ UpperDistance
Definition: OgreArrayMemoryManager.h:386
This struct represents a token, which is an ID'd lexeme from the parsing input stream.
Definition: OgreScriptLexer.h:67
#define OGRE_HLMS_NUM_SAMPLERBLOCKS
Definition: OgreHlmsManager.h:58
Specialisation of ParticleSystemRenderer to render particles using a BillboardSet.
Definition: OgreBillboardParticleRenderer.h:53
void unregisterThread()
Unregister an additional thread which may make calls to rendersystem-related objects.
virtual void _updateTransforms(void)
Updates all the derived transforms in the skeleton.
@ ID_LIGHT_SCISSOR
Definition: OgreScriptCompiler.h:686
@ ID_COMPOSITOR_NODE
Definition: OgreScriptCompiler.h:824
@ CNT_RBRACE
Definition: OgreScriptCompiler.h:60
void saveJob(const HlmsComputeJob *job, String &outString)
virtual void removeAndDestroyAllChildren(void)
Removes and destroys all children of this node.
Definition: OgreMetalRenderTexture.h:39
const String & getShaderCachePath(void) const
Get shader cache path.
Definition: OgreGLES2Support.h:90
void useCustomRenderSystemCapabilities(RenderSystemCapabilities *capabilities)
Requests active RenderSystem to use custom RenderSystemCapabilities.
GLenum cullMode
Definition: OgreGLES2HlmsPso.h:50
static const IdString BlendModeIdx1
Definition: OgreHlmsUnlitMobile.h:126
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:286
bool isHidden(void) const
RenderWindow::isHidden
Definition: OgreGLXWindow.h:84
TerrainSlotDefinition def
Definition used to load the terrain.
Definition: OgreTerrainGroup.h:328
void setHighQuality(bool highQuality)
Sets the quality of the Hlms.
void updateUniforms(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program pipeline object uniforms using named and indexed parameter data from GpuProgramParame...
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,...
void _calcBoundsFromVertexBuffer(VertexData *vertexData, AxisAlignedBox &outAABB, Real &outRadius, bool updateOnly=false)
Calculates.
@ ACT_WORLDVIEWPROJ_MATRIX
view matrices.
Definition: OgreGpuProgramParams.h:986
virtual void writeSourceCode(std::ostream &os, Program *program)
ID3D11Texture3D * GetTex3D()
Definition: OgreD3D11Texture.h:82
String doGet(const void *target) const
static ArchiveManager & getSingleton(void)
Override standard Singleton retrieval.
Definition: OgreTextureDefinition.h:145
void setLoadingListener(ResourceLoadingListener *listener)
Sets a new loading listener.
ComPtr< ID3D11UnorderedAccessView > createUav(const DescriptorSetUav::TextureSlot &texSlot) const
@ SPC_POSITION_LIGHT_SPACE0
Position in light space index 0-7.
Definition: OgreShaderParameter.h:93
@ MeshesV1
Definition: OgreSceneFormatBase.h:65
virtual void setClipPlanesImpl(const PlaneList &clipPlanes)
Internal method used to set the underlying clip planes when needed.
String atlasTextureName
Definition: OgreShaderExTextureAtlasSampler.h:64
bool readOnly
Assume attachment is read only (it's a hint, not an enforcement)
Definition: OgreRenderPassDescriptor.h:155
virtual void _notifyParticleResized(void)
Optional callback notified when particles are resized individually.
Definition: OgreParticleSystemRenderer.h:82
virtual void removeListener(Listener *lis)
Remove a listener on this resource.
NSView * ogreView() const
Definition: OgreOSXCocoaWindow.h:75
IdString(const std::string &string)
Definition: OgreIdString.h:118
static const size_t MaterialSizeInGpu
Definition: OgreHlmsUnlitDatablock.h:235
GLES2FBOManager * getManager()
Definition: OgreGLES2FrameBufferObject.h:83
D3D11DynamicBuffer * getDynamicBuffer(void) const
Definition: OgreD3D11BufferInterface.h:58
@ BB_FLAG_VERTEX
Definition: OgreBufferPacked.h:95
bool operator<(const VertexElement2 &_r) const
Warning: Beware a VertexElement2Vec shouldn't be sorted.
Definition: OgreVertexBufferPacked.h:72
void getRenderOperation(RenderOperation &op, bool casterPass)
Gets the render operation required to send this object to the frame buffer.
void _notifyOrigin(const String &origin)
Notify this particle system of it's origin.
Definition: OgreParticleSystem.h:530
bool allowWriteAfterWrite
Definition: OgreCompositorPassDef.h:198
Real getPointSize(void) const
Gets the point size of the pass.
void unbind(RenderTarget *target)
Unbind a certain render target.
Definition: OgreGLES2FBORenderTexture.h:82
TerrainLayerSampler(const String &aliasName, PixelFormat fmt)
Definition: OgreTerrainMaterialGenerator.h:120
@ PFG_RG32_SINT
Definition: OgrePixelFormatGpu.h:67
static ProgramWriterManager * getSingletonPtr()
Override standard Singleton retrieval.
virtual const String & getFsaaHint() const
@ TU_DYNAMIC
same as HardwareBuffer::HBU_DYNAMIC
Definition: OgreTexture.h:53
@ SPC_POSTOLIGHT_VIEW_SPACE1
Definition: OgreShaderParameter.h:148
virtual_l2 void detachObject(MovableObject *obj)
Detaches an object by pointer.
void setBoundsPaddingFactor(Real paddingFactor)
Sets the factor by which the bounding box of an entity is padded.
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
@ ID_NOT_EQUAL
Definition: OgreScriptCompiler.h:681
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)
GLuint getDepthBuffer() const
Definition: OgreGLES2DepthBuffer.h:68
virtual void _releaseManualHardwareResources()
@ SPC_LIGHTDIRECTION_WORLD_SPACE1
Definition: OgreShaderParameter.h:178
#define OGRE_THREAD_WORKER_INHERIT
Definition: OgreThreadDefinesBoost.h:78
@ VSOCP_MEDIUM
Definition: OgreShaderPrerequisites.h:89
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 ...
StaticGeometry * getParent(void) const
Definition: OgreStaticGeometry.h:401
PagedWorld * createWorld(const String &name=BLANKSTRING)
Create a new PagedWorld instance.
void FromEulerAnglesXYZ(const Radian &fYAngle, const Radian &fPAngle, const Radian &fRAngle)
Real getHorizontalTexelOffset(void)
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this...
Alignment terrainAlign
The alignment of the terrain.
Definition: OgreTerrain.h:330
v1::RenderOperation * renderOp
General render operation structure, fallback if nothing else is available.
Definition: OgreSceneQuery.h:117
Real getVolumeSpaceToWorldSpaceFactor(void) const
Gets a factor to come from volume coordinate to world coordinate.
void setShadowNearClipDistance(Real nearClip)
Set the near clip plane distance to be used by the shadow camera, if this light casts texture shadows...
Definition: OgreLight.h:438
virtual void getCustomAttribute(IdString name, void *pData, uint32 extraParam)
virtual void setSourceFile(const String &filename)
Sets the filename of the source assembly for this program.
void _setBlendMaskData(const float *blendMaskData)
Set the blend mask data (might be dangerous)
virtual ~LodWorkQueueInjectorListener()
Definition: OgreLodWorkQueueInjectorListener.h:41
virtual void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)=0
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
T get(void) const
Definition: OgreAtomicObject.h:63
Vector2 randomDeviant(Radian angle) const
Generates a new random vector which deviates from this vector by a given angle in a random direction.
Definition: OgreVector2.h:511
void bindPassIterationParameters(GpuProgramParametersSharedPtr params)
Execute the pass iteration param binding functions for this shader.
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.
static void shutdown(void)
Static method to shutdown and unregister the ETC codec.
void updatePoseReference(ushort poseIndex, Real influence)
Update the influence of a pose reference.
ImageBlur2D separableBlur_sRGB_XXXA8888
Definition: OgreImageDownsampler.h:205
IdString getName(void) const
Definition: OgreCompositorNode.h:161
Matrix4 getVrViewMatrix(size_t eyeIdx) const
@ RSC_HWRENDER_TO_TEXTURE
Supports hardware render-to-texture (bigger than framebuffer)
Definition: OgreRenderSystemCapabilities.h:119
Timer * getTimer()
Retrieves the timer for the profiler.
virtual bool getForceDisableColourWrites(void) const
Used by depth texture views which need to disable colour writes when rendering to it PF_NULL targets ...
Definition: OgreGL3PlusDepthTexture.h:108
ID3D11ShaderResourceView * getBlankTextureSrv(TextureTypes::TextureTypes textureType) const
void removeCamera(Camera *c)
Tells the paging system to stop tracking a given camera.
T * constructN(T *basePtr, size_t count)
Utility function for constructing an array of objects with placement new, without using new[] (which ...
Definition: OgreMemoryAllocatorConfig.h:373
const String & getName() const
Get the name of this strategy.
Definition: OgreLodStrategy.h:109
bool getBuildParametersFromReflection(void) const
Definition: OgreGpuProgram.h:304
Entity * getManualLodLevel(size_t index) const
Gets a pointer to the entity representing the numbered manual level of detail.
virtual bool getUseIdentityWorldMatrix(void) const
Overriden from Renderable.
uint8 getMaxNumMipmaps() const
Definition: OgrePlanarReflections.h:275
uint32 getRenderQueueId(void) const
Definition: OgreVertexArrayObject.h:102
virtual void allWorkspacesBeginUpdate(void)
Called from CompositorManager2 (not CompositorWorkspace) when we're about to update all the workspace...
void setLightMask(uint32 lightMask)
Set a bitwise mask which will filter the lights affecting this object.
static const String & getProgramName(Light::LightTypes lightType, bool finite, bool debug)
virtual void setUseVertexColours(bool use)
Sets whether vertex colour information should be included in the final buffers generated.
@ ANT_UNKNOWN
Definition: OgreScriptCompiler.h:81
@ V1_LEGACY
This is the slowest mode.
Definition: OgreRenderQueue.h:93
void _initialize(void)
Internal function that initializes a lot of structures that can't be done in the constructor due to h...
HardwareOcclusionQuery * createHardwareOcclusionQuery(void)
Create an object for performing hardware occlusion queries.
size_t rowPitchAlwaysBytes(void) const
Returns rowPitch, but always in bytes.
PixelFormatGpu format
Definition: OgreImageCodec2.h:75
@ BLOCK_MACRO
Definition: OgreHlmsDatablock.h:46
@ GCT_MATRIX_DOUBLE_4X3
Definition: OgreGpuProgramParams.h:110
void _load(void)
Load this usage (and ensure program is loaded)
virtual void deinitGPUProfiling(void)
void addPoseReference(ushort poseIndex, Real influence)
Add a new pose reference.
Vector2()
Default constructor.
Definition: OgreVector2.h:60
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.
bool _validateDevice()
Validate the device for this window.
void _releaseSlotFromTexture(TextureGpu *texture)
Must be called from main thread.
void _writeRawConstants(size_t physicalIndex, const uint *val, size_t count)
Write a series of unsigned integer values into the underlying integer constant buffer at the given ph...
virtual void cameraDestroyed(Camera *cam)
Called when the camera is being destroyed.
Definition: OgreCamera.h:121
VertexElement2(VertexElementType type, VertexElementSemantic semantic)
Definition: OgreVertexBufferPacked.h:51
virtual bool getInterpolatedKeyFrame(const AnimationTrack *t, const TimeIndex &timeIndex, KeyFrame *kf)=0
Get an interpolated keyframe for this track at the given time.
void setLodTransition(float t)
Manually set the current LOD transition state, intended for internal use only.
void doSet(void *target, const String &val)
virtual bool _prepareProceduralPage(Page *page, PagedWorldSection *section)
Give a provider the opportunity to prepare page content procedurally.
Real mSpreadThreshold
Definition: OgreInstantRadiosity.h:160
eTexturePlayMode
Enum for type of texture play mode.
Definition: OgreExternalTextureSource.h:61
@ HBU_WRITE_ONLY
Indicates the application will never read the contents of the buffer back, it will only ever write da...
Definition: OgreHardwareBuffer.h:98
Definition: OgreHlmsJson.h:44
static const IdString BlendModeIndex9
Definition: OgreUnlitProperty.h:120
@ ACT_FOV
This variable provides the field of view as a floating point value.
Definition: OgreGpuProgramParams.h:1276
@ VpShadow
Definition: OgreCommon.h:68
virtual void _notifyBillboardRotated(void)
Internal callback used by Billboards to notify their parent that they have been rotated.
static void createTextures(const TextureDefinitionVec &textureDefs, CompositorChannelVec &inOutTexContainer, IdType id, const TextureGpu *finalTarget, RenderSystem *renderSys)
Utility function to create the textures based on a given set of texture definitions and put them in a...
static String FACTORY_TYPE_NAME
Definition: OgreItem.h:270
static CommandBufferExecuteFunc execute_setConstantBufferPS
Definition: OgreCommandBuffer.h:75
bool prepare(StreamSerialiser &stream)
Prepare terrain data from saved data.
Template version of cache based on static array.
Definition: OgreDataStream.h:44
@ PFF_INTEGER
This is an integer format.
Definition: OgrePixelFormat.h:386
void removeQueryFlags(uint32 flags)
As setQueryFlags, except the flags passed as parameters are removed from the existing flags on this o...
Wrap-around class that contains multiple ArrayMemoryManager, one per hierarchy depth.
Definition: OgreBoneMemoryManager.h:57
virtual TextureGpu * _acquireTextureSlot(uint16 &outTexSlot)
Acquires a texture with a given slot.
RenderToVertexBufferSharedPtr createRenderToVertexBuffer(void)
Create a render to vertex buffer.
virtual ~IntersectionSceneQuery()
void setDecalsEmissive(TextureGpu *tex)
See SceneManager::setDecalsDiffuse.
Pose * getPose(const String &name)
Retrieve an existing Pose by name.
HRESULT As(ComPtr< U > *res) const ASSUME_NOEXCEPT
Definition: OgreComPtr.h:237
virtual void notifyRecreated(const UavBufferPacked *oldBuffer, UavBufferPacked *newBuffer)
void removeRenderable(Renderable *renderable)
@ SBF_ONE_MINUS_SOURCE_ALPHA
Definition: OgreBlendMode.h:245
AllocatedObject< SceneCtlAlignPolicy > SceneCtlAlignedObject
Definition: OgreMemoryAllocatorConfig.h:288
void setNormalMapWeight(Real weight)
@See setDetailNormalWeight. This is the same, but for the main normal map.
ID3D11ShaderResourceView * getDefaultDisplaySrv(void) const
Definition: OgreD3D11TextureGpu.h:107
Definition of a property of an object.
Definition: OgreProperty.h:132
Separate SceneQuery class to query for pairs of objects which are possibly intersecting one another.
Definition: OgreSceneQuery.h:509
Real valueAngleUnits() const
Definition: OgreMath.h:777
Definition: OgreX11EGLSupport.h:80
bool isLanguageSupported(const String &lang)
Returns whether a given high-level language is supported.
Vertex(const Vector3 &v, const Vector3 &n)
Convenience constructor.
Definition: OgreVolumeMeshBuilder.h:68
virtual void destroyContent(PageContent *coll)
Destroy a PageContent within this page.
const String & getPreprocessorDefines(void) const
Sets the preprocessor defines use to compile the program.
Definition: OgreGLSLShader.h:167
void removeAnimation(const String &name)
Removes an Animation from this skeleton.
virtual void _setIndirectBuffer(IndirectBufferPacked *indirectBuffer)
bool IsWindows8Point1OrGreater()
Definition: OgreOSVersionHelpers.h:78
TextureDefinition(IdString _name)
Definition: OgreTextureDefinition.h:135
FastArray< VisibleObjectsPerRq > VisibleObjectsPerThreadArray
Definition: OgreSceneManager.h:71
MeshChunkID
Definition of the OGRE .mesh file format.
Definition: OgreMeshFileFormat.h:57
@ ID_INCLUDE
Definition: OgreScriptCompiler.h:645
virtual Vector3 getComputeGroupDimensions(void) const
Returns the number of process groups dispatched by this compute program.
Definition: OgreGpuProgram.h:393
void removeReferenceCount(void)
Decreases the reference count by one.
RenderSystem * getRenderSystem(void) const
Definition: OgreHlms.h:809
Listener interface so you can be notified of Camera events.
Definition: OgreCamera.h:107
virtual void abortAllRequests()=0
Abort all previously issued requests.
size_t find(const LwConstString *val, size_t pos=0) const
Definition: OgreLwConstString.h:115
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, see setRenderQueueGroup for full details.
UINT DirtyRectsCount
Definition: OgreD3D11LegacySDKEmulation.h:73
@ ParentNode
Definition: OgreBoneArrayMemoryManager.h:62
Billboard * createBillboard(const Vector3 &position, const ColourValue &colour=ColourValue::White)
Creates a new billboard and adds it to this set.
void setSpotlightOuterAngle(const Radian &val)
Sets the angle covered by the spotlights outer cone.
static const IdString UvCount5
Definition: OgreHlms.h:839
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 / from a .material script.
Definition: OgreMaterialSerializer.h:62
void setGLBufferBinding(GLint binding)
const Any & getData() const
Get the user details of this request.
Definition: OgreWorkQueue.h:117
bool hasProperty(const String &name) const
Reports whether this property set contains a named property.
GLenum getGLES2TextureTarget(void) const
void setSamplerblock(const HlmsSamplerblock &samplerblock)
Set samplerblock for every texture unit in every Pass.
const ContentFactoryMap & getContentFactories() const
Get a reference to the registered strategies.
GeneralAllocatedObject RootAlloc
Definition: OgreMemoryAllocatorConfig.h:326
Real _deriveShadowFarClipDistance(const Camera *maincam) const
Derive a shadow camera far distance from either the light, or from the main camera if the light doesn...
Factory object for creating BillboardSet instances.
Definition: OgreBillboardSet.h:838
ElementType
Definition: OgreShaderParams.h:56
virtual void performCleanup(uint16 level, const MemoryPoolVec &basePtrs, size_t const *elementsMemSizes, size_t startInstance, size_t diffInstances)
Called when too many nodes were destroyed in a non-LIFO fashion.
AtomicObject()
Definition: OgreAtomicObject.h:55
Definition: OgreGLXGLSupport.h:39
virtual void beginProfileEvent(const String &eventName)
This marks the beginning of an event for GPU profiling.
@ ACT_SURFACE_DIFFUSE_COLOUR
Surface diffuse colour, as set in Pass::setDiffuse.
Definition: OgreGpuProgramParams.h:1020
const CompositorPassVec & _getPasses() const
Definition: OgreCompositorNode.h:262
bool isPointInside(const Vector3 &point) const
Determines if a point is inside the polygon.
ChunkTreeSharedData(const ChunkParameters *params)
Constructor.
Definition: OgreVolumeChunk.h:125
bool intersects(const AxisAlignedBox &box) const
Returns whether or not this sphere intersects a box.
Definition: OgreSphere.h:84
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.
uint8 getShadowMapLightTypeMask(uint32 shadowMapIdx) const
Do not call this if isShadowMapIdxActive == false or isShadowMapIdxInValidRange == false.
static bool findFirstAppearance(const GeometryVec &geom, const VertexData *vertexBuffer, size_t &outVaoIdx)
Predefined type.
Definition: OgreIteratorRange.h:186
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:1088
Command object for setting optimisation level.
Definition: OgreD3D9HLSLProgram.h:76
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:526
UserObjectBindings & getUserObjectBindings()
Return an instance of user objects binding associated with this class.
Definition: OgreNode.h:774
@ BBO_CENTER
Definition: OgreBillboardSet.h:62
ParameterType
List of parameter types available.
Definition: OgreStringInterface.h:52
@ FFP_PS_SAMPLING
Definition: OgreShaderFFPRenderState.h:59
ushort getNumVertexTextureUnits(void) const
Get the number of vertex texture units supported.
Definition: OgreRenderSystemCapabilities.h:824
Real getShadowRenderingDistance(void) const
Gets the distance at which batches are no longer casting shadows.
Class for providing backwards-compatibility for loading version 1.41 of the .mesh format.
Definition: OgreMeshSerializerImpl.h:246
float vOffset
Definition: OgreHlmsUnlitMobileDatablock.h:78
HlmsJson(HlmsManager *hlmsManager, HlmsJsonListener *listener)
@ ACT_TEXTURE_MATRIX
Provides the current transform matrix of the texture unit (index determined by setAutoConstant call),...
Definition: OgreGpuProgramParams.h:1362
~GL3PlusDefaultHardwareCounterBuffer()
const UserObjectBindings & getUserObjectBindings() const
Return an instance of user objects binding associated with this class.
Definition: OgreNode.h:780
void setNamedConstant(const String &name, Real val)
Sets a single value constant floating-point parameter to the program.
unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
@ TEXTURE
Definition: OgreScriptCompiler.h:515
bool getVertexAnimationIncludesNormals() const
Whether the vertex animation (if present) includes normals.
void setHeight(uint32 h)
Set the height of the texture; can only do this before load();.
Definition: OgreTexture.h:245
static const IdString FresnelSeparateDiffuse
Definition: OgreHlmsPbs.h:567
static GTKGLSupport * getSingletonPtr(void)
Override standard Singleton retrieval.
Definition: OgreD3D11NullTexture.h:101
virtual void notifyTextureChanged(TextureGpu *texture, TextureGpuListener::Reason reason, void *extraData)
Called when a TextureGpu changed in a way that affects how it is displayed:
virtual void removeListener(Listener *l)
Remove a listener to the custom events that this render system can raise.
@ PFG_BC3_UNORM_SRGB
Definition: OgrePixelFormatGpu.h:132
virtual bool isMicrocodeAvailableInCache(const String &source) const
Check if a microcode is available for a program in the microcode cache.
CompositorShadowMapTargetTranslator()
ResourceAccess::ResourceAccess access
Access.
Definition: OgreDescriptorSetUav.h:74
virtual void _firePreparingComplete(bool wasBackgroundLoaded)
Firing of preparing complete event.
static void unpackColour(float *r, float *g, float *b, float *a, PixelFormat pf, const void *src)
Unpack a colour value from memory.
bool hasShadowCasterFragmentProgram(void) const
Returns true if this pass uses a shadow caster fragment program.
Definition: OgrePass.h:200
void _setLodInfo(unsigned short numLevels)
Internal methods for loading LOD, do not use.
Real squaredLength() const
Returns the square of the length(magnitude) of the vector.
Definition: OgreVector2.h:345
bool enablePrimitiveRestart
Definition: OgreHlmsPso.h:187
void _notifySkeleton(SkeletonPtr &pSkel)
Internal notification, used to tell the Mesh which Skeleton to use without loading it.
vector< GLAtomicCounterReference >::type GLAtomicCounterReferenceList
Definition: OgreGLSLProgram.h:73
D3D11 will share groups of ID3D11RenderTargetView all D3D11RenderPassDescriptor that share the same R...
Definition: OgreD3D11RenderPassDescriptor.h:62
int _findnext(intptr_t id, struct _finddata_t *data)
void setSubdivision(Real factor)
uint32 getNumBlocksY(void) const
Definition: OgreIrradianceVolume.h:121
virtual void build(void)
Build the geometry.
void setDisplayMode(DisplayMode d)
Set the display mode for the overlay.
Definition: OgreProfiler.h:390
Animation * getParent() const
Returns the parent Animation object for this track.
Definition: OgreAnimationTrack.h:244
Node * getParentNode(void) const
Returns the node to which this object is attached.
Definition: OgreMovableObject.h:194
In Ogre 2.2 reading data from GPU back to CPU is asynchronous.
Definition: OgreAsyncTextureTicket.h:54
static ArrayQuaternion nlerpShortest(ArrayReal fT, const ArrayQuaternion &rkP, const ArrayQuaternion &rkQ)
@See Quaternion::nlerp
void() ImageBlur2D(uint8 *_tmpPtr, uint8 *_srcDstPtr, int32 width, int32 height, int32 bytesPerRow, const uint8 kernel[5], const int8 kernelStart, const int8 kernelEnd)
Range is [kernelStart; kernelEnd].
Definition: OgreImageDownsampler.h:94
void Cmov4(ArrayMaskR mask, const ArrayVector3 &replacement)
Conditional move update.
const String & getDescription() const
Get the description of this function.
Definition: OgreShaderFunction.h:64
bool getPoseNormals() const
static const size_t SERIALIZATION_CHUNK_SIZE
The amount of items being written as one chunk during serialization.
Definition: OgreVolumeSource.h:74
size_t _getInternalBufferStart(void) const
Definition: OgreStagingTextureBufferImpl.h:75
CompositorShadowMapTargetTypeTranslator()
void setNumTextureUnits(ushort num)
Definition: OgreRenderSystemCapabilities.h:513
void addReference(const BasicBlock *block)
Increments the reference count for the block, despite being const.
Quaternion(Real fW, Real fX, Real fY, Real fZ)
Construct from an explicit list of values.
Definition: OgreQuaternion.h:65
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:235
@ RSC_MIPMAP_LOD_BIAS
Supports mipmap LOD biasing.
Definition: OgreRenderSystemCapabilities.h:133
@ PROP_SHORT
Definition: OgreProperty.h:106
virtual void allWorkspacesBeforeBeginUpdate(void)
Called from CompositorManager2 (not CompositorWorkspace) when we're about to begin updating all the w...
void setTexture(uint8 texUnit, const String &name, const HlmsSamplerblock *refParams=0)
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.
virtual bool grouplessResourceExists(const String &name)=0
Gets called when a groupless manager (like TextureGpuManager) wants to check if there's a resource wi...
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>"),...
@ LB_BlendColorDodge
Definition: OgreShaderExLayeredBlending.h:65
static const IdString NumUavSlots
Definition: OgreHlmsCompute.h:209
GpuConstantDefinitionIterator getConstantDefinitionIterator(void) const
Gets an iterator over the named GpuConstantDefinition instances as defined by the user.
void setDiffuseTextureRaw(TextureGpu *diffuseTex, uint32 sliceIdx)
Call this family of functions if the input texture is managed by hand by you.
void setLoop(bool bLoop)
Loop setting.
Definition: OgreSkeletonAnimation.h:125
#define UNPACK(dst, x, y, z)
MapIterator< SettingsBySection > SectionIterator
Definition: OgreConfigFile.h:94
Definition: OgreX11EGLSupport.h:87
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.
VertexData * vertexData
Vertex source data.
Definition: OgreRenderOperation.h:59
virtual uint32 fillBuffersForV2(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)
virtual bool setDrawBuffer(ColourBufferType colourBuffer)
iterator insert(iterator I, ItTy From, ItTy To)
Definition: OgreMain/include/OgreSmallVector.h:532
vector< unsigned >::type indexMap
Definition: OgreLod0Stripifier.h:96
const_iterator end() const
Definition: OgreMain/include/OgreSmallVector.h:187
@ Decals
Definition: OgreSceneFormatBase.h:76
Definition: OgreMetalTextureGpuWindow.h:39
HDC getHDC() const
Definition: OgreWin32Window.h:96
v1::AnimationStateIterator getAnimationStateIterator(void)
Returns a specialised MapIterator over all animation states in the scene.
Definition: OgreSceneManager.h:2289
void loadImage(const Image &img)
overridden from Texture
const ColourValue getLightDiffuseColourWithPower(size_t index) const
virtual size_t getNumSlicesFor(TextureGpu *texture, TextureGpuManager *textureManager)
Ogre normally puts Textures into pools (a Type2DArray texture) for efficient rendering Note that only...
@ SPC_TANGENT_OBJECT_SPACE
Tangent in object space.
Definition: OgreShaderParameter.h:246
TextureAtlasRecord(const String &texOriginalName, const String &texAtlasName, const float texPosU, const float texPosV, const float texWidth, const float texHeight, const size_t texIndexInAtlas)
Definition: OgreShaderExTextureAtlasSampler.h:47
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
the standard rebind mechanism
Definition: OgreMemorySTLAllocator.h:98
@ CAPS_CATEGORY_COUNT
Placeholder for max value.
Definition: OgreRenderSystemCapabilities.h:73
Real getRenderingDistance(void) const
Gets the distance at which batches are no longer rendered.
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
bool intersects(const Sphere &sphere) const
Intersection test with Sphere.
Definition: OgrePlaneBoundedVolume.h:99
const BoneBlendMask * getBlendMask() const
Get the current blend mask (const version, may be 0)
Definition: OgreAnimationState.h:166
const UserObjectBindings & getUserObjectBindings() const
Return an instance of user objects binding associated with this class.
Definition: OgreTechnique.h:541
void parseCapabilitiesFromArchive(const String &filename, const String &archiveType, bool recursive=true)
@ PROP_VECTOR2
Definition: OgreProperty.h:114
bool getDisplaySkeleton(void) const
Returns whether or not the entity is currently displaying its skeleton.
void _removeChild(const String &name)
@ ID_LINEAR
Definition: OgreScriptCompiler.h:703
FastArray(size_t reserveAmount)
Creates an array reserving the amount of elements (memory is not initialized)
Definition: OgreFastArray.h:145
Pass & operator=(const Pass &oth)
Operator = overload.
bool getShadowFilter(void) const
Definition: OgreHlmsUnlit.h:136
size_t getNumVertices(void) const
Get the number of vertices in this buffer.
Definition: OgreHardwareVertexBuffer.h:76
Definition: OgreHlms.h:94
void setSkipAnimationStateUpdate(bool skip)
Entity's skeleton's AnimationState will not be automatically updated when set to true.
Definition: OgreEntity.h:688
virtual void destroy(void)
Destroys the window.
void setDeactivateOnFocusChange(bool deactivate)
Indicates whether the window will automatically deactivate itself when it loses focus.
void unmap(const Destination &destination)
Unmaps the mapped region and copies the data to the given region. @See Destination.
Definition: OgreStagingBuffer.h:262
virtual void reposition(int left, int top)
Reposition the window.
bool lessThanExcludePassData(const HlmsPso &_r) const
Compares if this <= _r. See equalExcludePassData.
Definition: OgreHlmsPso.h:277
virtual void propertiesMergedPreGenerationStep(const String &shaderProfile, const HlmsCache &passCache, const HlmsPropertyVec &renderableCacheProperties, const PiecesMap renderableCachePieces[NumShaderTypes], const HlmsPropertyVec &properties, const QueuedRenderable &queuedRenderable)
Similar to HlmsListener::shaderCacheEntryCreated, but it gets called before creating any shader.
Definition: OgreHlmsListener.h:76
const AxisAlignedBox & getAABB() const
Get the AABB (local coords) of this node.
void setRenderingDistance(Real dist)
Sets the distance at which the object is no longer rendered.
static SceneBlendFactor parseBlendFactor(const char *value)
void doSet(void *target, const String &val)
virtual bool removeRenderWindow(const String &renderWindowName)=0
IntegratedPSSM3()
Class default constructor.
TextureTypes::TextureTypes getTextureType(void) const
uint8 kernel[5]
Definition: OgreImageDownsampler.h:224
void setNamedConstant(const String &name, const Vector2 &vec)
Sets a Vector2 parameter to the program.
@ GCT_MATRIX_DOUBLE_2X2
Definition: OgreGpuProgramParams.h:103
static const IdString TexMatrixCount1
Definition: OgreUnlitProperty.h:53
uint16 texUnit
Definition: OgreCbTexture.h:56
static CullingMode parseCullMode(const char *value)
ThresholdVec textureArraysTresholds
Only used when packingMethod == TextureArrays.
Definition: OgreHlmsTextureManager.h:115
Definition: OgreCompositorPassComputeDef.h:54
Real getHorizontalTexelOffset(void)
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this...
Definition: OgreGL3PlusRenderSystem.h:448
AnimationAllocatedObject AnimationAlloc
Definition: OgreMemoryAllocatorConfig.h:297
@ CB_SET_CONSTANT_BUFFER_PS
Definition: OgreCbCommon.h:47
ConcreteNode * parent
Definition: OgreScriptCompiler.h:75
Vector3 getRelativeOrigin(void) const
Returns the current relative origin. (Only when non-permanent)
static Real getDefaultNonVisibleUpdateTimeout(void)
Get the default nonvisible timeout for all ParticleSystem instances.
Definition: OgreParticleSystem.h:464
uint32 adapterId
For multi-GPU support.
Definition: OgreHlmsPso.h:112
virtual void requestFullscreenSwitch(bool goFullscreen, bool borderless, uint32 monitorIdx, uint32 widthPt, uint32 heightPt, uint32 frequencyNumerator, uint32 frequencyDenominator)
Requests to toggle between fullscreen and windowed mode.
bool hasValidShadowMappingBuffers(void) const
Returns true if the mesh is ready for rendering with valid shadow mapping buffers Otherwise prepareFo...
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:206
GL3PlusVaoManager(bool supportsArbBufferStorage, bool emulateTexBuffers, bool supportsIndirectBuffers, bool _supportsBaseInstance, bool supportsSsbo, const NameValuePairList *params)
virtual void _setToDisplayDummyTexture(void)
void makeCeil(const ArrayVector3 &cmp)
Sets this vector's components to the maximum of its own and the ones of the passed in vector.
@ PF_ASTC_SRGB8A8_10X10_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 10x10)
Definition: OgrePixelFormat.h:311
const String & getMaterialGroup(void) const
Retrieve the material group in use.
Definition: OgreManualObject.h:435
virtual ~LodWorkQueueWorker()
void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
Real getShadowFarDistance(void) const
Gets the maximum distance away from the camera that shadows by this light will be visible.
@ BlinnPhongLegacyMath
Implements traditional / the original non-PBR blinn phong:
Definition: OgreHlmsPbsDatablock.h:141
void _setViewport(Viewport *vp)
See RenderSystem.
GLES2DepthBuffer(uint16 poolId, GLES2RenderSystem *renderSystem, GLES2Context *creatorContext, GLenum depthFormat, GLenum stencilFormat, uint32 width, uint32 height, uint32 fsaa, uint32 multiSampleQuality, PixelFormat pixelFormat, bool isDepthTexture, bool isManual)
void removeTemplatesByResourceGroup(const String &resourceGroup)
Removes all templates that belong to a secific Resource Group from the ParticleSystemManager.
virtual bool isMsaaPatternSupported(MsaaPatterns::MsaaPatterns pattern)
A 'canvas' which can receive the results of a rendering operation.
Definition: OgreRenderTarget.h:64
IteratorType const_iterator
Typedef to fulfill container interface.
Definition: OgreIteratorWrapper.h:83
@ ACT_TEXTURE_WORLDVIEWPROJ_MATRIX_ARRAY
Array of world/view/projection matrices of the first n texture projection frustums.
Definition: OgreGpuProgramParams.h:1163
@ GCT_BOOL2
Definition: OgreGpuProgramParams.h:117
void doSet(void *target, const String &val)
@ PASS_CUSTOM
Definition: OgreCompositorPassDef.h:64
GeometryAllocatedObject VertexDataAlloc
Definition: OgreMemoryAllocatorConfig.h:342
void setCurrentCamera(const Camera *cam)
Updates the current camera.
static uint8 getMaxMipmapCount(uint32 maxResolution)
Returns the maximum number of mipmaps given the resolution e.g.
Definition: OgreLodOutputProviderCompressedMesh.h:42
uint getKeyIndex(void) const
Definition: OgreAnimationTrack.h:100
@ M_MESH
Definition: OgreMeshFileFormat.h:60
@ NoDepthBuffer
Definition: OgreHlmsPso.h:160
static const IdString DetailDiffuseSwizzle3
Definition: OgreHlmsPbsMobile.h:164
String doGet(const void *target) const
Vector3 interpolate(Real t) const
Returns an interpolated point based on a parametric value over the whole series.
static String eventType
Definition: OgreScriptCompiler.h:556
Class for providing backwards-compatibility for loading version 1.2 of the .mesh format.
Definition: OgreMeshSerializerImpl.h:300
@ CMPF_ALWAYS_FAIL
Definition: OgreCommon.h:87
@ LB_BlendExclusion
Definition: OgreShaderExLayeredBlending.h:60
Manages threaded compilation of scripts.
Definition: OgreScriptCompiler.h:406
virtual bool getForceDisableColourWrites(void) const
Used by depth texture views which need to disable colour writes when rendering to it PF_NULL targets ...
Definition: OgreD3D11DepthTexture.h:119
virtual void write(const String *string)
virtual void bindBufferPS(uint16 slot, size_t offset=0, size_t sizeBytes=0)=0
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
const Matrix4 & getViewMatrix(void) const
virtual ParticleSystem * createParticleSystem(size_t quota=500, const String &resourceGroup=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Create a blank particle system.
void addUavBuffer(uint32 slotIdx, IdString bufferName, ResourceAccess::ResourceAccess access, size_t offset=0, size_t sizeBytes=0)
virtual void _render(const CbDrawCallStrip *cmd)=0
bool hasEnabledAnimationState(void) const
Tests if exists enabled animation state in this set.
Definition: OgreAnimationState.h:255
virtual void _setRenderOperation(const v1::CbRenderOp *cmd)=0
static const IdString NeedsReflDir
Definition: OgreHlmsPbs.h:574
@ REAL
Definition: OgreAnimable.h:82
virtual void postqueueMovableObjectLodChanged(const MovableObjectLodChangedEvent &evt)
Called after a movable object's LOD has changed.
Definition: OgreLodListener.h:143
static const IdString UvAtlas2
Definition: OgreHlmsUnlitMobile.h:145
virtual void _setTextures(uint32 slotStart, const DescriptorSetTexture *set, uint32 hazardousTexIdx)
virtual void addNode(Node *n)
Add a node to be tracked.
void initialiseFromRenderSystemCapabilities(RenderSystemCapabilities *caps, Window *primary)
See RenderSystem.
void parseScript(DataStreamPtr &stream, const String &groupName)
Parse a script file.
virtual unsigned long getResponseProcessingTimeLimit() const
Get the time limit imposed on the processing of responses in a single frame, in milliseconds (0 indic...
Definition: OgreWorkQueue.h:461
bool hasAttachment(const TextureGpu *texture) const
static GLenum getGLInternalFormat(PixelFormat format, bool hwGamma)
Takes the OGRE pixel format and returns the type that must be provided to GL as internal format.
IdString getRenderTargetName() const
Definition: OgreCompositorPassDef.h:278
GeometryFlags
Definition: OgreRectangle2D2.h:45
virtual ~NodeMemoryManager()
void copyToTexture(TexturePtr &target)
overridden from Texture
Real volume(void) const
Calculate the volume of this box.
Definition: OgreAxisAlignedBox.h:606
AsyncTicketPtr ticket
If this is nullptr, see origElements comment.
Definition: OgreVertexBufferDownloadHelper.h:75
bool getReceiveDynamicShadowsDepth() const
Whether to use depth shadows (default false).
Definition: OgreTerrainMaterialGeneratorA.h:137
void setEmitting(bool v)
This is used to turn on or off particle emission for this system.
static const IdString Colour
Definition: OgreHlms.h:826
~UnifiedHighLevelGpuProgram()
TexCoordDirection
The direction in which texture coordinates from elements of the chain are used.
Definition: OgreBillboardChain.h:155
@ UNLIT_BLEND_DIFFERENCE
Definition: OgreHlmsUnlitPrerequisites.h:76
SimpleMatrixAf4x3(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: C/OgreArrayMatrixAf4x3.h:198
static const IdString ForwardPlusCoversEntireTarget
Definition: OgreHlms.h:888
Definition: OgreX11EGLWindow.h:38
bool isContainer() const
Overridden from OverlayElement.
Definition: OgreOverlayContainer.h:119
SubMesh * createSubMesh(const String &name)
Creates a new SubMesh and gives it a name.
static const ArrayReal fSqEpsilon
Definition: OgreMathlibC.h:53
void setNormaliseNormals(bool normalise)
TexturePtr getTerrainNormalMap() const
Get the (global) normal map texture.
Definition: OgreTerrain.h:1559
Real getHorizontalTexelOffset(void)
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this...
Definition: OgreGLES2RenderSystem.h:423
void CmovRobust(ArrayMaskR mask, const ArrayVector3 &replacement)
Conditional move update.
virtual int getExecutionOrder() const
virtual PageStrategyData * createData()=0
Create a PageStrategyData instance containing the data specific to this PageStrategy.
@ MEMCATEGORY_RESOURCE
Other resources.
Definition: OgreMemoryAllocatorConfig.h:172
void setCurrentLod(int lod)
Manually set the current LOD, intended for internal use only.
v1::HardwareVertexBufferSharedPtr getGlobalInstanceVertexBuffer() const
Returns the global instance vertex buffer.
PixelFormat getFormat(void) const
GLXFBConfig selectFBConfig(const int *minAttribs, const int *maxAttribs)
Select an FBConfig given a list of required and a list of desired properties.
virtual void resourcePrepareStarted(const ResourcePtr &resource)
This event is fired when a declared resource is about to be prepared.
Definition: OgreResourceGroupManager.h:132
@ PF_X24_S8_UINT
Depth texture format. 8 bits for stencil.
Definition: OgrePixelFormat.h:342
GLuint getBufferName(void) const
Definition: OgreGLES2StagingBuffer.h:121
virtual void notifyOnDeviceLost(IDirect3DDevice9 *d3d9Device)
@ TT_SCALE_U
Definition: OgreTextureUnitState.h:119
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.
void doSet(void *target, const String &val)
virtual void beginUpdate(size_t sectionIndex)
Start the definition of an update to a part of the object.
static bool isSubroutine(GpuConstantType c)
Definition: OgreGpuProgramParams.h:316
GLES2DefaultHardwareIndexBuffer(IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage)
void transformAffine(const ArrayMatrix4 &matrix)
Transforms the box according to the matrix supplied.
T & operator*() const
Definition: OgreThreadDefinesSTD.h:74
virtual void _buildMapBoneByHandle(const Skeleton *source, BoneHandleMap &boneHandleMap) const
Build the bone handle map to use with Skeleton::_mergeSkeletonAnimations.
virtual bool windowClosing(Window *rw)
Definition: OgreWindowEventUtilities.h:95
void setConstBuffer(uint8 slotIdx, ConstBufferPacked *constBuffer)
Sets a const/uniform bufferat the given slot ID.
virtual void bindBufferCS(uint16 slot)=0
FrustumPlane
Worldspace clipping planes.
Definition: OgreFrustum.h:71
Plane(const Vector3 &rkNormal, const Vector3 &rkPoint)
virtual void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer=FB_AUTO)
Copies the current contents of the render target to a pixelbox.
void resize(unsigned int widthPt, unsigned int heightPt)
Overridden - see RenderWindow.
size_type max_size() const
Definition: OgreMain/include/OgreSmallVector.h:200
virtual ~RenderPassDescriptor()
@ PFG_ASTC_RGBA_UNORM_10X6_sRGB
Definition: OgrePixelFormatGpu.h:261
static const IdString BlendModeIdx9
Definition: OgreHlmsUnlitMobile.h:134
void removeFactory(HighLevelGpuProgramFactory *factory)
Remove a factory object for high-level programs of a given language.
@ ACT_TIME_0_1_PACKED
Vector of "Time0_1", "SinTime0_1", "CosTime0_1", "TanTime0_1".
Definition: OgreGpuProgramParams.h:1218
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:63
@ CB_DRAW_CALL_STRIP
Definition: OgreCbCommon.h:45
virtual void prepare(bool backgroundThread=false)
Prepares the resource for load, if it is not already.
IndexBufferInfoList mIndexBufferInfoList
Definition: OgreLodData.h:161
static const IdString UsePrePassMsaa
Definition: OgreHlms.h:878
void _makeOrthoMatrix(const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
See RenderSystem.
virtual void _renderSingleObject(Renderable *pRend, const MovableObject *pMovableObject, bool casterPass, bool dualParaboloid)
void _memoryRebased(void)
Internal use. Called from BoneMemoryManager's rebases (i.e. cleanups, grows)
static void _removeRenderWindow(Window *window)
Factory class for Unified programs.
Definition: OgreUnifiedHighLevelGpuProgram.h:168
GLuint getGLID(bool &outIsFsaa)
Returns the GL Id of the texture.
Definition: OgreGL3PlusTexture.h:70
RenderTexture implementation for D3D9.
Definition: OgreD3D9Texture.h:223
void setBottomRightBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the bottom-right corner of the border.
bool pointIntersectsNode(long x, long y)
Returns true if the given point is in the terrain area that this node references.
@ DontCare
Discard the contents after we're done with the current pass.
Definition: OgreRenderPassDescriptor.h:94
LodValueIterator getLodValueIterator(void) const
Gets an iterator over the list of values transformed by the LodStrategy at which each LOD comes into ...
virtual void _descriptorSetTexture2Destroyed(DescriptorSetTexture2 *set)
Definition: OgreRenderSystem.h:839
Node(const Transform &transformPtrs)
Don't use this constructor unless you know what you're doing.
static const int HlmsTypeMask
Definition: OgreHlms.h:962
void removeWorldSectionFactory(PagedWorldSectionFactory *f)
Remove a PagedWorldSectionFactory implementation.
StringVector atlasNamesPerMip
Definition: OgreHlmsTexturePack.h:61
static FontManager * getSingletonPtr(void)
Override standard Singleton retrieval.
void _setTextureUnitFiltering(size_t unit, FilterType ftype, FilterOptions filter)
Descriptor sets describe what uavs should be bound together in one place.
Definition: OgreDescriptorSetUav.h:54
virtual void copyFrom(const SubRenderState &rhs)
static const int RendarebleHlmsTypeMask
Definition: OgreHlms.h:961
@ VET_BYTE4_SNORM
Definition: OgreVertexElements.h:104
@ VAT_POSE
Pose animation is made up of a single delta pose keyframe.
Definition: OgreAnimationTrack.h:596
TextureSourceTranslator()
void setTextureUScale(Real value)
As setTextureScale, but sets only U value.
Areas of Interest are defined by both AABB and distance (can be 0).
Definition: OgreInstantRadiosity.h:183
@ MIP_UNLIMITED
Generate mipmaps up to 1x1.
Definition: OgreTexture.h:109
SkeletonPtr pSkeleton
Definition: OgreSkeleton.h:469
void _renderingFrameEnded(void)
virtual void remove(const ResourcePtr &r)
Remove a single resource.
virtual void restoreFromClearScene(void)
void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
virtual void bindBufferHS(uint16 slot)
uint8 mCustomParameter
Only valid when using low level materials.
Definition: OgreRenderable.h:446
virtual void lodUpdateImpl(const size_t numNodes, ObjectData t, const Camera *camera, Real bias) const =0
void clearFrameData(void)
Clears temporary buffers and other data that needs to live every frame.
virtual void applyRebase(uint16 level, const MemoryPoolVec &newBasePtrs, const PtrdiffVec &diffsList)=0
Called when the manager already grew it's memory pool to honour more node requests.
@ RSC_TEXTURE_COMPRESSION_ATC
Supports compressed textures in the ATC format.
Definition: OgreRenderSystemCapabilities.h:148
static const IdString DualParaboloidMapping
Definition: OgreHlms.h:858
unsigned int getLastQuerysPixelcount()
Definition: OgreD3D11HardwareOcclusionQuery.h:78
bool getUseMinPixelSize() const
Returns whether to use min display size calculations.
Definition: OgreCamera.h:710
const_reverse_iterator rbegin() const
Definition: OgreMain/include/OgreSmallVector.h:195
@ ID_PSSM_SPLIT_BLEND
Definition: OgreScriptCompiler.h:1007
@ ID_CONNECT_EXTERNAL
Definition: OgreScriptCompiler.h:822
ResourceCreateOrRetrieveResult createOrRetrieve(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *params=0, HardwareBuffer::Usage vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexBufferShadowed=true, bool indexBufferShadowed=true)
Create a new mesh, or retrieve an existing one with the same name if it already exists.
virtual const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
bool isFullscreen(void) const
Returns true if we are currently in fullscreen mode.
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:2784
void setSourceRenderable(Renderable *source)
Set the source renderable of this object.
Definition: OgreRenderToVertexBuffer.h:118
void setRefractionStrength(float strength)
Sets the strength of the refraction, i.e.
HlmsDiskCache(HlmsManager *hlmsManager)
In D3D11, const buffers can't be bound by offset.
Definition: OgreD3D11CompatBufferInterface.h:56
virtual const String & getLanguage(void) const =0
Get the name of the language this factory creates programs for.
void _setCustomCullCamera(Camera *camera)
Definition: OgreCompositorPassScene.h:104
bool hasEnded(void) const
Returns true if the animation has reached the end and is not looping.
AbstractNode * parent
Definition: OgreScriptCompiler.h:100
Listener()
Definition: OgreResource.h:87
static Degree Sqrt(const Degree &fValue)
Square root function.
Definition: OgreMath.h:429
const AnimationList & getAnimations() const
Returns a const version of the animation list.
Definition: OgreSceneManager.h:2287
ImageDownsampler2D downscale2x_sRGB_A8
Definition: OgreImageDownsampler.h:184
UavBufferPacked * getUavBuffer(uint8 slotIdx) const
ID3D11Buffer * getD3DIndexBuffer(void) const
Get the D3D-specific index buffer.
virtual void processResponses()
Process the responses in the queue.
bool hasCompileError(void) const
Did this program encounter a compile error when loading?
virtual const Vector3 & getInitialScale(void) const
Gets the initial position of this OldNode, see setInitialState for more info.
uint16 resolveSlice
Definition: OgreTextureDefinition.h:62
void setBoundsAutoUpdated(bool autoUpdate, Real stopIn=0.0f)
Sets whether the bounds will be automatically updated for the life of the particle system.
virtual void destroyInstance(MovableObject *obj)=0
Destroy an instance of the object.
size_t startLightIdx
Definition: OgreSceneManager.h:167
void _updateViewportCullPhase01(Viewport *viewport, Camera *renderCamera, Camera *cullCamera, const Camera *lodCamera, uint8 firstRq, uint8 lastRq)
virtual ~OldNodeAnimationTrack()
Destructor.
void queueDownload(const VertexArrayObject *vao, const VertexElementSemanticFullArray &semanticsToDownload, size_t elementStart=0, size_t elementCount=0)
Creates AsyncTickets to download GPU -> CPU the requested VertexElementSemantics from one or multiple...
static void startup(void)
Static method to startup and register the ASTC codec.
bool useVertexNormals
Use vertex normals to improve quality.
Definition: OgreLodConfig.h:155
void initialiseFromRenderSystemCapabilities(RenderSystemCapabilities *caps, RenderTarget *primary)
See RenderSystem.
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:115
XWMHints * XAllocWMHints()
virtual void clearFrameBuffer(RenderPassDescriptor *renderPassDesc, TextureGpu *anyTarget, uint8 mipLevel)=0
Immediately clears the whole frame buffer on the selected RenderPassDescriptor.
void removeAllItems(void)
Removes all items added via VctVoxelizer::addItem.
virtual ~StaticGeometry()
Destructor.
IDirect3DVertexBuffer9 * getD3D9VertexBuffer(void)
Get D3D9-specific vertex buffer.
iterator insert(iterator pos, const T &t)
Definition: OgreCommon.h:567
UniformParameterPtr resolveAutoParameterInt(GpuProgramParameters::AutoConstantType autoType, size_t data, size_t size=0)
Resolve uniform auto constant parameter with associated int data of this program.
bool intersects(const AxisAlignedBox &box) const
Intersection test with AABB.
Definition: OgrePlaneBoundedVolume.h:68
Abstract IsoSurface.
Definition: OgreVolumeIsoSurface.h:42
set< TextureGpu * >::type TextureGpuSet
Definition: OgreRenderSystem.h:59
virtual void setListener(Listener *listener)
Sets a listener for this Node.
static PropertyType getTypeForValue(const int &val)
Definition: OgreProperty.h:157
ClipResult
Generic result of clipping.
Definition: OgreCommon.h:898
void notifyOnDeviceLost(IDirect3DDevice9 *d3d9Device)
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
Definition: OgreBorderPanelOverlayElement.h:337
const String & getName(void) const
Definition: OgreIesLoader.h:86
bool isFullScreen() const
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...
const_reverse_iterator rend() const
Definition: OgreCommon.h:494
unsigned int * pint
Definition: OgreLodData.h:135
void _setNextResidencyStatus(GpuResidency::GpuResidency nextResidency)
void setActiveGeometryShader(GLSLShader *geometryGpuProgram)
Set the active geometry shader for the next rendering state.
void unlock(void)
Override HardwareBuffer to turn off all shadowing.
virtual const String & getTargetLanguage() const
Return the target language of this processor.
Definition: OgreShaderGLSLESProgramProcessor.h:60
void _notifyNeedsRecompile(void)
Tells the technique that it needs recompilation.
BuildLightListRequest()
Definition: OgreSceneManager.h:169
void setOverlap(const Vector3 &overlap)
PccPerPixelGridPlacement will subdivide in mNumProbes[i] probes along each axis, creating a 3D grid.
OrientationMode getViewportOrientationMode(void) const
Gets the orientation mode of the destination viewport.
ImageDownsamplerCube downscale2x_X8_cube
Definition: OgreImageDownsampler.h:79
Implementation without lighting or skeletal animation specfically designed for OpenGL 3+,...
Definition: OgreHlmsUnlit.h:57
All variables are read-only for the worker threads.
Definition: OgreSceneManager.h:94
static const uint32_t Seed
Definition: OgreIdString.h:97
@ MEMCATEGORY_GENERAL
General purpose.
Definition: OgreMemoryAllocatorConfig.h:162
static const String & getPointLightExtruderVs_glslesFinite(void)
Get FINITE extruder program source for point lights, compatible with glsles.
Definition: OgreShadowVolumeExtrudeProgram.h:289
Function * getEntryPointFunction()
Get the entry point function of this program.
Definition: OgreShaderProgram.h:145
@ FFT_INTERNAL
Definition: OgreShaderFunction.h:53
unsigned int line
Definition: OgreScriptCompiler.h:98
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create uniform buffer.
Definition: OgreHardwareBufferManager.h:452
bool isBlendIndicesGpuRedundant() const
Returns whether blend indices information needs to be passed to the GPU see setBlendIndicesGpuRedunda...
Definition: OgreRoot.h:1023
String doGet(const void *target) const
static const IdString UvDetail2
Definition: OgreHlmsPbsMobile.h:145
static DXGI_FORMAT getFormat(v1::HardwareIndexBuffer::IndexType itype)
Get index type.
const String & getLanguage(void) const
Overridden from GpuProgram.
void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Copies the current contents of the render target to a pixelbox.
StagingStallType
Definition: OgreStagingBuffer.h:41
void throwIfFailed(HRESULT hr, const char *desc, const char *src)
virtual void unmap(UnmapOptions unmapOption, size_t flushStartElem=0, size_t flushSizeElem=0)
DefaultMipmapGen::DefaultMipmapGen getDefaultMipmapGeneration(void) const
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)
@ ReadyForRendering
This Reason is called when TextureGpu::notifyDataIsReady is called.
Definition: OgreTextureGpuListener.h:100
@ ID_INVERSE_SAWTOOTH
Definition: OgreScriptCompiler.h:798
float getLocalRadius(void) const
See getLocalAabb and getWorldRadius.
uint32 getLightMask() const
Get a bitwise mask which will filter the lights affecting this object.
void install()
Perform the plugin initial installation sequence.
ArrayMatrixAf4x3()
Definition: C/OgreArrayMatrixAf4x3.h:74
void resetAllNumPassesLeft(void)
Resets the number of passes left for every pass (.
uint32 getIndexToContiguousShadowMapTex(size_t shadowMapIdx) const
ArrayReal getMaxComponent() const
Returns the biggest value between x, y, z; max( x, y, z )
uint32 length
Length of the chunk data in bytes, excluding the header of this chunk (stored)
Definition: OgreStreamSerialiser.h:102
Resource location entry.
Definition: OgreResourceGroupManager.h:307
void destroy(HighLevelGpuProgram *prog)
IdString mCameraName
Definition: OgreCompositorPassQuadDef.h:107
void removeAllEffects(void)
Removes all effects applied to this texture layer.
virtual NodeMemoryManager * getDefaultNodeMemoryManager(SceneMemoryMgrTypes sceneType)
As Node::getDebugRenderable, except scaling is automatically determined.
@ PF_ASTC_RGBA_6X6_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 6x6)
Definition: OgrePixelFormat.h:269
ConstMapIterator< OldNodeTrackList > OldNodeTrackIterator
Definition: OgreAnimation.h:401
Real getMinDistance() const
Definition: OgreShadowCameraSetup.h:82
@ TEX_TYPE_2D
2D texture, used in combination with 2D texture coordinates (default)
Definition: OgreTexture.h:93
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:347
bool getVisible(void) const
Gets this object whether to be visible or not, if it has a renderable component.
virtual void setVisible(bool visible, bool cascade=true)
Makes all objects attached to this node become visible / invisible.
bool StripLod0Vertices(const v1::MeshPtr &mesh, bool stableVertexOrder=false)
Definition: OgreLod0Stripifier.h:307
std::basic_stringstream< char, std::char_traits< char >, std::allocator< char > > _StringStreamBase
Definition: OgrePrerequisites.h:584
Definition: OgreGLES2NullTexture.h:91
bool exists(const String &filename)
Find out if the named file exists (note: fully qualified filename required)
void regressFrame(void)
Performs the opposite of.
bool ToEulerAnglesXZY(Radian &rfYAngle, Radian &rfPAngle, Radian &rfRAngle) const
Definition: OgreHiddenAreaMeshVr.h:49
String validateConfig()
Make sure all the extra options are valid.
void nodeDestroyed(Transform &outTransform, size_t depth)
Releases current memory.
bool _fireFrameEnded()
Method for raising frame ended events.
OperationType getOperationType() const
What type of primitives does this object generate?
Definition: OgreRenderToVertexBuffer.h:80
@ GPU_NVIDIA
Definition: OgreRenderSystemCapabilities.h:308
Predefined controller value for getting / setting the frame number of a texture layer.
Definition: OgrePredefinedControllers.h:77
@ PF_R8G8_UINT
16-bit pixel format, 8 bits red (unsigned int), 8 bits blue (unsigned int).
Definition: OgrePixelFormat.h:162
TimeIndex _getTimeIndex(Real timePos) const
Internal method used to convert time position to time index object.
void postDeltaCalculation(const Rect &rect)
Notify the node (and children) that deltas have finished being calculated.
void setConfigOptions(const String &name, const String &value)
@ CB_SET_PSO
Definition: OgreCbCommon.h:60
virtual void _suppressRenderStateChanges(bool suppress)
Indicates to the SceneManager whether it should suppress changing the RenderSystem states when render...
Matrix3(const Matrix3 &rkMatrix)
Definition: OgreMatrix3.h:80
virtual void apply(const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)
Applies an animation track to the designated target.
void setFrom(Vector3 from)
Setter for the from-part of this cell.
Definition: OgreVolumeOctreeNode.h:157
UniformParameterPtr getParameterByAutoType(GpuProgramParameters::AutoConstantType autoType)
Get parameter by a given auto constant type.
uint32 mMipmapBias
Definition: OgreInstantRadiosity.h:221
static const IdString NumShadowMapTextures
Definition: OgreHlms.h:862
static GLenum get(PixelFormatGpu pf)
Returns GL internal format.
virtual bool preRender(SceneManager *sm, RenderSystem *rsys)
Called just prior to the Renderable being rendered.
Definition: OgreRenderable.h:113
const value_type * const_pointer
Definition: OgreMemorySTLAllocator.h:88
DXGI_SCALING Scaling
Definition: OgreD3D11LegacySDKEmulation.h:61
void sort(TContainer &container, TFunction func)
Main sort function.
Definition: OgreRadixSort.h:246
void _writeRawConstant(size_t physicalIndex, bool val)
Write a single boolean parameter to the program.
bool pullOcclusionQuery(unsigned int *NumOfFragments)
void flush(size_t ticket, size_t start, size_t count)
Flushes the region of the given ticket. start is 0-based.
For D3D11, most (if not all) buffers, can be treated with the same code.
Definition: OgreD3D11BufferInterfaceBase.h:42
void getPointFromSelfOrNeighbour(long x, long y, Vector3 *outpos) const
Get a Vector3 of the world-space point on the terrain, aligned as per options.
SkeletonInstance * createSkeletonInstance(const SkeletonDef *skeletonDef, size_t numWorkerThreads)
Creates an instance of a skeleton based on the given definition.
virtual void read(Ray *ray, size_t count=1)
@ MESH_VERSION_1_4
OGRE version v1.4+.
Definition: OgreMeshSerializer.h:57
GL3PlusTexture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, GL3PlusSupport &support)
T & back()
Definition: OgreFastArray.h:342
static const IdString UvDiffuseSwizzle13
Definition: OgreUnlitProperty.h:107
Definition: OgreX11EGLSupport.h:86
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:289
virtual const String & getMovableType(void) const
Returns the type name of this object.
size_t mGlobalIndex
Index in the vector holding this MO reference (could be our parent node, or a global array tracking a...
Definition: OgreMovableObject.h:143
ProgramSet()
Class default constructor.
ConstVectorIterator< ObjectVec > ConstObjectIterator
Definition: OgreSceneNode.h:61
virtual const String & getLanguage(void) const
Returns a string that specifies the language of the gpu programs as specified in a material script.
void unbind(void)
Unbind the shader in OpenGL.
virtual uint32 getWidth() const
Specialisation of HardwareBufferManagerBase to emulate hardware buffers.
Definition: OgreDefaultHardwareBufferManager.h:159
Vector2 uvLength
Definition: OgreCompositorShadowNodeDef.h:60
@ PROP_UNSIGNED_INT
Definition: OgreProperty.h:109
virtual void removeKeyFrame(unsigned short index)
Removes a KeyFrame by it's index.
virtual void requestOptions(Terrain *terrain)=0
Request the options needed from the terrain.
void setForTextureDefinition(const String &texName, TextureDefinitionBase::TextureDefinition *texDef)
Convenience routine to setup an RTV that renders directly to a texture defined by the provided Textur...
virtual void removeBuffer(IdString name)
Remove a buffer. Buffer can come from an input channel, or a locally defined one.
void setBlendblock(const HlmsBlendblock *blendblock, bool casterBlock=false)
Sets the blendblock from the given pointer that was already retrieved from the HlmsManager.
@ SPC_COLOR_DIFFUSE
Diffuse color.
Definition: OgreShaderParameter.h:270
PropertyType propType
Definition: OgreProperty.h:264
virtual void _setCurrentDeviceFromTexture(TextureGpu *texture)
Because Ogre doesn't (yet) have the notion of a 'device' or 'GL context', this function lets Ogre kno...
@ SHADOW_NODE_CASTER_PASS
Definition: OgreCompositorPassSceneDef.h:69
VctMaterial(IdType id, VaoManager *vaoManager, CompositorManager2 *compositorManager, TextureGpuManager *textureGpuManager)
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...
Real getViewportAspectRatio(void) const
float b
Definition: OgreColourValue.h:76
@ M_POSE
Definition: OgreMeshFileFormat.h:147
Definition: OgreVoxelVisualizer.h:15
bool getPassFogStates(void) const
Returns whether a fragment program wants fog state to be passed through fixed pipeline low level API ...
@ LB_BlendLinearDodge
Definition: OgreShaderExLayeredBlending.h:67
ConcreteNodeType type
Definition: OgreScriptCompiler.h:73
size_t mGlobalIndex
Index in the vector holding this node reference (could be our parent node, or a global array tracking...
Definition: OgreNode.h:183
void _makeProjectionMatrix(const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
See RenderSystem.
VertexPass
Definition: OgreCommon.h:66
Log(const String &name, bool debugOutput=true, bool suppressFileOutput=false)
virtual void setFlipCullingOnNegativeScale(bool n)
Set whether to automatically flip the culling mode on objects whenever they are negatively scaled.
Definition: OgreSceneManager.h:2581
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:97
virtual void _notifyBuffer(BufferPacked *buffer)
Definition: OgreBufferInterface.h:61
MetalDepthTextureTarget(MetalDepthTexture *ultimateTextureOwner, const String &name, v1::HardwarePixelBuffer *buffer, uint32 zoffset)
const_pointer data() const
data - Return a pointer to the vector's buffer, even if empty().
Definition: OgreMain/include/OgreSmallVector.h:209
@ SPC_POSTOLIGHT_TANGENT_SPACE0
Light vector in tangent space index 0-7.
Definition: OgreShaderParameter.h:157
@ SPC_POSTOLIGHT_WORLD_SPACE2
Definition: OgreShaderParameter.h:139
@ ID_PASS
Definition: OgreScriptCompiler.h:617
map< Hash, Microcode >::type MicrocodeMap
Definition: OgreGpuProgramManager.h:72
@ LB_BlendScreen
Definition: OgreShaderExLayeredBlending.h:61
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:164
uint32 *RESTRICT_ALIAS mLightMask
The light mask defined for this movable.
Definition: OgreObjectData.h:101
Abstract class defining the density function.
Definition: OgreVolumeSource.h:40
bool prepare(const String &filename)
Prepare the terrain from a standalone file.
FastArray< VertexElementSemanticFull > VertexElementSemanticFullArray
Definition: OgreVertexBufferDownloadHelper.h:52
String originalTextureName
Definition: OgreShaderExTextureAtlasSampler.h:63
EntityFactory()
Definition: OgreEntity.h:744
virtual void _initParticle(Particle *pParticle)
Method called to allow the affector to initialize all newly created particles in the system.
Definition: OgreParticleAffector.h:95
SubMesh * getSubMesh(unsigned short index) const
Gets a pointer to the submesh indicated by the index.
void setDimensions(Real width, Real height)
Sets the width and height for this billboard.
virtual const String & getFunctionAtomType()
Definition: OgreShaderFunctionAtom.h:201
~D3D9HardwareVertexBuffer()
uint32 getNumSlices(void) const
For TypeCube this value returns 6.
void removeQueryFlags(uint32 flags)
Definition: OgreTerrain.h:2019
@ OPT_DEFAULT
default - no optimisation in debug mode, OPT_1 in release mode
Definition: OgreD3D9HLSLProgram.h:150
void _syncGpuResidentToSystemRam(void)
Forces downloading data from GPU to CPU, usually because the data on GPU changed and we're in strateg...
@ SPC_POSTOLIGHT_TANGENT_SPACE5
Definition: OgreShaderParameter.h:162
static void gaussFilterY(float *RESTRICT_ALIAS dstData, float *RESTRICT_ALIAS srcData, size_t texWidth, size_t texHeight, size_t texDepth, const float *RESTRICT_ALIAS kernel, int kernelStart, int kernelEnd)
virtual StagingStallType uploadWillStall(size_t sizeBytes)
Returns true if our next call to @map() with the same parameters will stall.
bool getAlphaTestShadowCasterOnly(void) const
virtual ~ETCCodec()
Definition: OgreETCCodec.h:60
This class allows you to plug in new ways to define the camera setup when rendering and projecting sh...
Definition: OgreShadowCameraSetup.h:67
@ PFG_AI44
Definition: OgrePixelFormatGpu.h:174
virtual void beginGPUSampleProfile(const String &name, uint32 *hashCache)
Degree operator*(Real f) const
Definition: OgreMath.h:120
Class representing a general-purpose OldNode an articulated scene graph.
Definition: OgreOldNode.h:68
GpuProgramParametersSharedPtr getTessellationDomainProgramParameters(void) const
Gets the Tessellation Domain program parameters used by this pass.
Implement a sub render state which performs hardware skinning.
Definition: OgreShaderExLinearSkinning.h:50
void reserve(uint8 activeActorSlot, PlanarReflectionActor *actor)
Reserves a particular slot (i.e.
RenderSysAllocatedObject BufferAlloc
Definition: OgreMemoryAllocatorConfig.h:300
~GLSLESProgramManagerCommon(void)
static StringVector getExtensions(void)
Gets the file extension list for the registered codecs.
SkeletonPtr create(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Create a new skeleton.
FastArray< MovableObject * > MovableObjectArray
@See SceneManager::cullFrustum
Definition: OgreMovableObject.h:268
@ DebugVisualizationColour
Definition: OgreIrradianceField.h:147
GLAtomicCounterReferenceList::iterator GLAtomicCounterReferenceIterator
Definition: OgreGLSLProgram.h:74
virtual ~GpuSharedParameters()
virtual void setHlmsPassProperties(Hlms *hlms)
TextureSource(uint32 _uavSlot, IdString _textureName, bool _isExternal, ResourceAccess::ResourceAccess _access, int32 _mipmapLevel, PixelFormatGpu _pixelFormat)
Definition: OgreCompositorPassUavDef.h:66
vector< SkeletonAnimation * >::type ActiveAnimationsVec
Definition: OgreSkeletonInstance.h:39
MemoryDataStream(const String &name, void *pMem, size_t size, bool freeOnClose=false, bool readOnly=false)
Wrap an existing memory chunk in a named stream.
vector< Terrain * >::type TerrainList
Definition: OgreTerrainGroup.h:420
#define HS_MAX_WEIGHT_COUNT
Definition: OgreShaderExHardwareSkinning.h:35
void importNamedConstants(DataStreamPtr &stream, GpuNamedConstants *pDest)
virtual void setFsaaResolveDirty(void)
Null buffers never resolve; only colour buffers do.
Definition: OgreGLES2NullTexture.h:107
See AsyncTextureTicket.
Definition: OgreGL3PlusAsyncTextureTicket.h:41
void copyFrom(void *srcData, uint32 _width, uint32 _height, uint32 _bytesPerRow)
Definition: OgreTextureBox.h:244
A class that represents an atomic code section of shader based program function.
Definition: OgreShaderFunctionAtom.h:47
MultiRenderTarget for GL ES 2.x.
Definition: OgreGLES2FBOMultiRenderTarget.h:41
Definition: OgreVaoManager.h:46
Definition: OgreMeshLodGenerator.h:46
map< size_t, GpuLogicalIndexUse >::type GpuLogicalIndexUseMap
Definition: OgreGpuProgramParams.h:579
Cache-friendly container of 4x4 matrices represented as a SoA array.
Definition: C/OgreArrayMatrix4.h:70
const Ogre::String getWritablePath(const Ogre::String &filename) const
Find a path where the given filename can be written to.
Definition: OgreFileSystemLayer.h:110
@ ANIMBLEND_CUMULATIVE
Animations are applied by calculating a weighted cumulative total.
Definition: OgreSkeleton.h:53
GLenum getGLFormat()
Definition: OgreGLES2HardwarePixelBuffer.h:80
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create uniform buffer.
float getBlendValue(size_t x, size_t y)
Get a single value of blend information, in image space.
static PropertyType getTypeForValue(const long &val)
Definition: OgreProperty.h:159
DataStreamListPtr openResources(const String &pattern, const String &groupName=DEFAULT_RESOURCE_GROUP_NAME)
Open all resources matching a given pattern (which can contain the character '*' as a wildcard),...
static const IdString PsoClipDistances
Definition: OgreHlms.h:856
@ CNT_COLON
Definition: OgreScriptCompiler.h:61
uint32 width
Definition: OgreTextureGpuManager.h:251
Class for loading & managing textures.
Definition: OgreTextureManager.h:61
virtual void destroyHardwareOcclusionQuery(HardwareOcclusionQuery *hq)
Destroy a hardware occlusion query object.
virtual void _getClippingRegion(RealRect &clippingRegion)
Gets the clipping region of the element.
virtual ~VertexDeclaration()
Grid3DPageStrategy(PageManager *manager)
virtual const Camera * getLodCamera() const
Get a pointer to the camera which should be used to determine LOD settings.
int release
Definition: OgreRenderSystemCapabilities.h:280
Command object for setting the output operation type (geometry shader only)
Definition: OgreGLSLShader.h:88
virtual void _startLegacyV1Rendering(void)
May override the current VertexArrayObject!
bool isClosed() const
Indicates whether the window has been closed by the user.
Definition: OgreD3D11RenderWindow.h:64
static const IdString TexMatrixCount7
Definition: OgreUnlitProperty.h:59
size_t mInstanceCount
Definition: OgreRenderSystem.h:122
void copyFromTemplate(OverlayElement *templateOverlay)
void start()
Start anything special.
void _initAnimationState(AnimationStateSet *animSet)
Initialise an animation set suitable for use with this mesh.
virtual void triangleRemoved(LodData *data, LodData::Triangle *tri)
Any mData
Data associated with the result of the process.
Definition: OgreWorkQueue.h:137
HlmsManager * getHlmsManager(void)
const GlyphInfo & getGlyphInfo(CodePoint id) const
Gets the information available for a glyph corresponding to a given code point, or throws an exceptio...
#define OGRE_ALLOC_T(T, count, category)
Allocate a block of memory for a primitive type, and indicate the category of usage.
Definition: OgreMemoryAllocatorConfig.h:455
@ HLMS_COMPUTE
Definition: OgreHlmsCommon.h:190
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
@ M_GEOMETRY_VERTEX_BUFFER_DATA
Definition: OgreMeshFileFormat.h:224
GL3PlusNullPixelBuffer(GL3PlusNullTexture *parentTexture, const String &baseName, uint32 width, uint32 height, uint32 Null, PixelFormat format)
bool isReferenceViewEnabled() const
Determine if use of the reference view is enabled.
static const IdString UvDiffuse14
Definition: OgreUnlitProperty.h:91
bool isTextureLoadFailing() const
Tests if the texture associated with this unit has failed to load.
Definition: OgreTextureUnitState.h:973
virtual void bindBufferVS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Binds the texture buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
@ ACT_INVERSE_UAV_SIZE
Provides inverse uav size of the uav unit (index determined by setAutoConstant call).
Definition: OgreGpuProgramParams.h:1341
LoadAction::LoadAction mLoadActionStencil
Definition: OgreCompositorPassDef.h:132
Technique(Material *parent)
Constructor.
void setTime(Real time)
Sets the animation to a particular time.
Definition: OgreSkeletonAnimation.h:98
reverse_iterator rbegin()
Definition: OgreCommon.h:486
@ RSC_TESSELLATION_DOMAIN_PROGRAM
Supports hardware tessellation domain programs.
Definition: OgreRenderSystemCapabilities.h:190
MemoryDataStream(const String &name, DataStream &sourceStream, bool freeOnClose=true, bool readOnly=false)
Create a named stream which pre-buffers the contents of another stream.
Structure recording the use of an automatic parameter.
Definition: OgreGpuProgramParams.h:2480
virtual void applyDeltaValue(const Quaternion &)
Apply delta value.
Definition: OgreAnimable.h:213
void removeInjectorListener()
Definition: OgreLodWorkQueueInjector.h:63
void _notifyManager(HlmsManager *manager)
Definition: OgreHlms.h:457
void setVSyncInterval(unsigned int interval)
Set the vertical sync interval.
void addPoseWeight(const Ogre::String &poseName, float w)
void setColour(const ColourValue &diffuse)
Sets a new colour value. Asserts if mHasColour is false.
virtual ~ForwardClustered()
virtual void bindBufferDS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
@ ID_UAV_BUFFER
Definition: OgreScriptCompiler.h:978
void setDefaultAtlasingAttributes(IndexPositionMode mode, ushort offset, bool autoAdjustBorders)
Set the default attributes concerning atlas texture processing.
PropertyBase * getProperty(const String &name) const
Gets the property object for a given property name.
Real x
X coordinate of the position.
Definition: OgreVolumeMeshBuilder.h:45
@ PF_ASTC_RGBA_10X10_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 10x10)
Definition: OgrePixelFormat.h:283
uint16 SceneTypeMask
Bitmask containing scene types.
Definition: OgreSceneManager.h:2829
virtual void initCollapseCosts(LodData *data)
This is called after the LodInputProvider has initialized LodData.
static TextureSlot makeEmpty(void)
Definition: OgreDescriptorSetTexture.h:217
static bool allBitsSet(bool mask0[1], bool mask1[1])
Returns true if alls bit in mask0[i] and mask1[i] are set.
size_t calculateSize(void) const
Definition: OgreHlmsDatablock.h:53
ForwardPlusMethods
Definition: OgreForwardPlusBase.h:56
static String frgProgramName
Definition: OgreShadowVolumeExtrudeProgram.h:222
virtual void materialEventRaised(MaterialSerializer *ser, MaterialSerializer::SerializeEvent event, bool &skip, const Material *mat)
@ ID_MIN
Definition: OgreScriptCompiler.h:668
bool getDebugPssmSplits(void) const
Definition: OgreHlmsPbs.h:308
const String & getName() const
Get the name of the shared parameter set.
Definition: OgreGpuProgramParams.h:853
const String & getFriendlyName(void) const
See RenderSystem.
static unsigned short getTypeCount(VertexElementType etype)
Utility method which returns the count of values in a given type.
void setCurrentRenderSystem(RenderSystem *renderSystem)
PixelBox(uint32 width, uint32 height, uint32 depth, PixelFormat pixelFormat, void *pixelData=0)
Constructor providing width, height and depth.
Definition: OgrePixelBox.h:70
RenderSysAllocatedObject ViewportAlloc
Definition: OgreMemoryAllocatorConfig.h:344
virtual ~D3D11VendorExtension()
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:192
Definition: OgreGLSLShaderManager.h:41
static Vector3 calculateBasicFaceNormalWithoutNormalize(const Vector3 &v1, const Vector3 &v2, const Vector3 &v3)
Calculate a face normal without normalize, no w-information.
ExternalTextureSourceManager()
Constructor.
@ ID_LIGHT
Definition: OgreScriptCompiler.h:1016
static const IdString DetailDiffuseSwizzle2
Definition: OgreHlmsPbsMobile.h:163
Base class that users can derive from in order to implement custom passes for the compositor.
Definition: OgreCompositorPassProvider.h:76
const String & getResourceGroup() const
Get the resource group to use when loading / saving.
Definition: OgreTerrain.h:677
virtual void getRenderOperation(v1::RenderOperation &op, bool casterPass)
Gets the render operation required to send this object to the frame buffer.
static const uint32 TERRAINLAYERSAMPLER_CHUNK_ID
Definition: OgreTerrain.h:284
ProfileSessionListener should be used to visualize profile results.
Definition: OgreProfiler.h:361
static Real Cos(Real fValue, bool useTables=false)
Cosine function.
Definition: OgreMath.h:321
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.
virtual void removeAndDestroyChild(SceneNode *sceneNode)
This method removes and destroys the child and all of its children.
void setSpecularColour(Real red, Real green, Real blue)
Sets the colour of the specular light given off by this source.
const Matrix4 * _getBoneMatrices(void) const
Internal method for retrieving bone matrix information.
Definition: OgreEntity.h:477
@ SOP_INCREMENT
Increase the stencil value by 1, clamping at the maximum value.
Definition: OgreCommon.h:108
@ BP_TYPE_INDIRECT
Definition: OgreBufferPacked.h:89
virtual void setOrientation(const Quaternion &q)
Sets the orientation of this OldNode via a quaternion.
static const IdString GLES
Definition: OgreHlms.h:923
@ PFF_COMPRESSED
This format is compressed.
Definition: OgrePixelFormat.h:374
Vector3 getRight(void) const
Gets the camera's right vector.
A sphere.
Definition: OgreVolumeCSGSource.h:43
IdString const * uvSourceSwizzle
Definition: OgreUnlitProperty.h:134
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.
SkeletonDef const * skeletonDef
Definition: OgreSkeletonAnimManager.h:51
void enableProfile(const String &profileName)
Enables a previously disabled profile.
@ GVA_BOTTOM
Definition: OgreOverlayElement.h:83
void registerHlms(Hlms *provider, bool deleteOnExit=true)
Registers an HLMS provider.
virtual void destroyRenderWindow(Window *window)
Destroys a render window.
size_t find(const char *value, size_t pos=0) const
Definition: OgreHlmsCommon.h:79
Definition: OgreD3D11TextureGpu.h:122
uint32 getRtIndex(void) const
Definition: OgreCompositorPassDef.h:281
void setColourTop(const ColourValue &col)
Sets the colour of the top of the letters.
HlmsCompute(AutoParamDataSource *autoParamDataSource)
virtual IntersectionSceneQuery * createIntersectionQuery(uint32 mask=QUERY_ENTITY_DEFAULT_MASK)
Creates an IntersectionSceneQuery for this scene manager.
void addToSwitchingFullscreenCounter()
Definition: OgreD3D11RenderSystem.h:181
VertexArrayObject * vao
Definition: OgreCbDrawCall.h:37
Definition: OgreVertexShadowMapHelper.h:125
_OgreExport friend std::ostream & operator<<(std::ostream &o, const StaticFaceGroup &s)
Definition: OgreStaticFaceGroup.h:113
~GL3PlusHardwareCounterBuffer()
void unlock(void)
Override HardwareBuffer to turn off all shadowing.
void setBillboardRotationType(BillboardRotationType rotationType)
Sets billboard rotation type.
WireBoundingBox(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager)
bool operator<=(const Degree &d) const
Definition: OgreMath.h:127
const String & getType(void) const
Get the type of the object to be created.
#define _OgrePropertyExport
Definition: OgrePropertyPrerequisites.h:58
@ PBSM_DETAIL1
Definition: OgreHlmsPbsPrerequisites.h:64
void _updateFromShadow(void)
See HardwareBuffer.
bool isMorphAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform morph animation.
const Aabb & getAabb(void) const
Get the axis-aligned bounding box for this mesh.
virtual void flushUAVs(void)
Forces to take effect all the queued UAV binding requests.
void prepareForShadowVolume(void)
This method prepares the mesh for generating a renderable shadow volume.
ID3D11Buffer * getVboName(void) const
Definition: OgreD3D11DynamicBuffer.h:82
Pass * getPass(void)
Don't make this const (useful for compile-time multithreading errors) Pointer can be null if using HL...
Definition: OgreCompositorPassQuad.h:108
@ TEXTURE_INPUT
Definition: OgreTextureDefinition.h:87
virtual ~UserObjectBindings()
Class destructor.
bool queryResult(MovableObject *first)
Self-callback in order to deal with execute which returns collection.
ushort getMaximumResolution3D(void) const
Maximum resolution (width or height)
Definition: OgreRenderSystemCapabilities.h:771
Definition: OgreOSXCocoaWindow.h:42
bool intersects(const Vector3 &v) const
Tests whether the vector point is within this box.
Definition: OgreAxisAlignedBox.h:652
void _applyBaseKeyFrame(const KeyFrame *base)
Internal method to re-base the keyframes relative to a given keyframe.
const vector< Real >::type & getPssmBlends(size_t shadowMapIdx) const
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:589
static PropertyType getTypeForValue(const bool &val)
Definition: OgreProperty.h:167
TexBufferPacked * globalLightListBuffer
Definition: OgreForwardPlusBase.h:65
ArrayRay()
Definition: OgreArrayRay.h:42
map< String, PropertyDef >::type PropertyDefMap
Map from property name to shared definition.
Definition: OgreProperty.h:183
bool hasCustomParameter(size_t index) const
Checks whether a custom value is associated with this Renderable at the given index.
Definition: OgreRenderable.h:276
Quaternion Exp() const
Apply to unit-length quaternion.
static float saturate(float t)
Definition: OgreMath.h:357
uint32 width
Definition: OgreTextureBox.h:45
@ SPC_POSTOLIGHT_WORLD_SPACE5
Definition: OgreShaderParameter.h:142
virtual void writeSourceCode(std::ostream &os, Program *program)
Definition: OgreNULLTextureGpu.h:47
Vector2 midPoint(const Vector2 &vec) const
Returns a vector at a point half way between this and the passed in vector.
Definition: OgreVector2.h:426
virtual v1::Animation * getAnimation(const String &name) const
Looks up an Animation object previously created with createAnimation.
static const int MacroblockShift
Definition: OgreRenderQueue.h:303
virtual void _initialize(TextureGpuManager *textureGpuManager)
VertexElementType getColourVertexElementType(void) const
See RenderSystem.
void removeStagingTexture(StagingTexture *stagingTexture)
void setCompositeMapDistance(Real c)
Set the distance at which to start using a composite map if present.
Definition: OgreTerrain.h:1965
static FORCEINLINE uint16 bswap16(uint16 arg)
Returns value with reversed bytes order.
Definition: OgreBitwise.h:72
void fromString(const String &versionString)
A staging buffer is a buffer that resides on the GPU and be written to/from both CPU & GPU However th...
Definition: OgreStagingBuffer.h:79
GpuLogicalIndexUseMap map
Map from logical index to physical buffer location.
Definition: OgreGpuProgramParams.h:586
NodeAnimationTrack * createNodeTrack(void)
Creates a NodeAnimationTrack for animating a OldNode.
static const int DepthShift
Definition: OgreRenderQueue.h:307
Real timeSinceLastFrame
Elapsed time in seconds since the last event of the same type, i.e.
Definition: OgreFrameListener.h:60
bool isManual() const
Manual DepthBuffers are cleared in RenderSystem's destructor.
@ PF_PVRTC2_2BPP
PVRTC (PowerVR) Version 2, 2 bpp.
Definition: OgrePixelFormat.h:154
ParticleSystemRenderer * _createRenderer(const String &rendererType, SceneManager *sceneManager)
Internal method for creating a new renderer from a factory.
virtual HardwareOcclusionQuery * createHardwareOcclusionQuery(void)
Create an object for performing hardware occlusion queries.
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
TextureDefinition * addTextureDefinition(const String &name)
Creates a TextureDefinition with a given name, must be unique.
bool getUseTextures(void) const
Definition: OgreInstantRadiosity.h:336
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:2016
void setManualValue(int32 value)
void setAmbient(Real red, Real green, Real blue)
Sets the ambient colour reflectance properties for every Pass in every Technique.
void _setViewMatrix(const Matrix4 &m)
Sets the view transform matrix.
@ TID_LBRACKET
Definition: OgreScriptLexer.h:52
void setDatablockOrMaterialName(String materialName, String groupName)
First tries to see if an HLMS datablock exist with the given name, if not, tries to search among low ...
void loadJob(const rapidjson::Value &json, const HlmsJson::NamedBlocks &blocks, HlmsComputeJob *job, const String &jobName, const String &resourceGroup)
@ ID_FAIL_OP
Definition: OgreScriptCompiler.h:964
void waitForPendingUserScalableTask()
Blocks until the the task from processUserScalableTask finishes.
Vector3 position
Definition: OgreStaticGeometry.h:167
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.
@ PFG_ETC2_RGBA8_UNORM
Definition: OgrePixelFormatGpu.h:218
@ PF_BYTE_RGBA
4 byte pixel format, 1 byte for red, 1 byte for green, 1 byte for blue, and one byte for alpha
Definition: OgrePixelFormat.h:96
uint16 maxBatchSize
Maximum batch size (along one edge) in vertices; must be 2^n+1 and <= 65.
Definition: OgreTerrain.h:338
void getBonesPerDepth(vector< size_t >::type &out) const
@ RSC_TYPED_UAV_LOADS
DX11 has this annoying requirement that "typed UAV loads" are not allowed.
Definition: OgreRenderSystemCapabilities.h:244
static void setDefaultLightMask(uint32 mask)
Set the default light mask for all future MovableObject instances.
Definition: OgreMovableObject.h:561
static const SimpleMatrixAf4x3 IDENTITY
Definition: C/OgreArrayMatrixAf4x3.h:284
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:80
@ PBSM_EMISSIVE
Definition: OgreHlmsPbsPrerequisites.h:71
virtual void getInterpolatedKeyFrame(const TimeIndex &timeIndex, KeyFrame *kf) const
Gets a KeyFrame object which contains the interpolated transforms at the time index specified.
MappingState getMappingState(void) const
Definition: OgreStagingBuffer.h:187
void setSkeletonName(const String &skelName)
Sets the name of the skeleton this Mesh uses for animation.
virtual void startDeflate(size_t avail_in=0)
Start (un)compressing data.
MaterialPtr clone(const String &newName, bool changeGroup=false, const String &newGroup=BLANKSTRING) const
Creates a new copy of this material with the same settings but a new name.
void fillIrradianceVolume(IrradianceVolume *volume, Vector3 cellSize, Vector3 volumeOrigin, Real lightMaxPower, bool fadeAttenuationOverDistance)
const std::int64_t m_LocalID
Definition: OgreThreadDefinesSTD.h:80
bool isDecalsDiffuseEmissiveMerged(void) const
static Boolean _getDictionaryBoolean(CFDictionaryRef dict, const void *key)
void setGLBufferBinding(GLint binding)
float mClearDepth
Definition: OgreCompositorPassDef.h:128
bool hasOldNodeTrack(unsigned short handle) const
Does a track exist with the given handle?
static const int TextureShift
Definition: OgreRenderQueue.h:306
@ PFG_R10G10B10_XR_BIAS_A2_UNORM
Definition: OgrePixelFormatGpu.h:148
Real getScrollX(void) const
Gets the current X scroll value.
virtual void destroyVertexBufferBinding(VertexBufferBinding *binding)
Destroys a VertexBufferBinding.
Definition: OgreHardwareBufferManager.h:481
static const IdString BlendModeIndex5
Definition: OgreUnlitProperty.h:116
void addAnimationsFromSkeleton(const String &skelName, const String &groupName)
Add all animation clips found in skelName.
Sphere getAsSphere(size_t index) const
Prefer using.
Definition: C/OgreArraySphere.h:87
virtual ~ParticleSystemRenderer()
Destructor.
Definition: OgreParticleSystemRenderer.h:57
AbstractNodeList children
Definition: OgreScriptCompiler.h:135
String doGet(const void *target) const
Abstract class defining the interface to be implemented by creators of ParticleAffector subclasses.
Definition: OgreParticleAffectorFactory.h:56
Wrapper class for operating as an STL container allocator.
Definition: OgreMemorySTLAllocator.h:65
virtual String getDataType() const =0
Returns the type of the data that supported by this codec as a String.
static TextureManager * getSingletonPtr(void)
Override standard Singleton retrieval.
static PropertyType getTypeForValue(const unsigned short &val)
Definition: OgreProperty.h:156
@ Uav
Definition: OgreResourceTransition.h:54
~GL3PlusHardwarePixelBuffer()
@ TEXCALC_ENVIRONMENT_MAP_REFLECTION
Definition: OgreRenderSystem.h:70
virtual void unload()=0
Unload - will be called in main thread.
RemapInfo()
Definition: OgreLod0Stripifier.h:66
virtual void savingChangeTextureNameOitd(String &inOutFilename, TextureGpu *texture)
Definition: OgreHlmsDatablock.h:239
ArrayVector3 midPoint(const ArrayVector3 &vec) const
Returns a vector at a point half way between this and the passed in vector.
@ M_SUBMESH_M_GEOMETRY_VERTEX_DECLARATION
Definition: OgreMeshFileFormat.h:89
Managing constant and texture buffers for sending shader parameters is a very similar process to most...
Definition: OgreHlmsBufferManager.h:72
static D3D11_BLEND_OP get(SceneBlendOperation sbo)
return a D3D11 equivalent for a Ogre SceneBlendOperation value
virtual ~RibbonTrail()
destructor
~D3D11RenderWindowSwapChainBased()
Definition: OgreD3D11RenderWindow.h:111
CompositorWorkspace * getWorkspace(void) const
Definition: OgreCubemapProbe.h:230
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
static const IdString UvDiffuseSwizzle10
Definition: OgreUnlitProperty.h:104
static const String & getDirectionalLightExtruderVs_glslDebug(void)
Get extruder program source for debug directional lights, compatible with glsl.
Definition: OgreShadowVolumeExtrudeProgram.h:270
@ ID_MATERIAL
Definition: OgreScriptCompiler.h:612
@ SkyCubemap
Definition: OgreSceneManager.h:514
Abstract class containing any additional data required to be associated with a particle to perform th...
Definition: OgreParticle.h:54
void exportMesh(const Mesh *pMesh, const String &filename, Endian endianMode=ENDIAN_NATIVE)
Exports a mesh to the file specified, in the latest format.
bool operator()(const IdObject &left, const IdObject &right)
Definition: OgreId.h:81
IDirect3DDevice9 * getD3D9Device()
void setPreprocessorDefines(const String &defines)
Sets the preprocessor defines use to compile the program.
Definition: OgreGLSLShader.h:165
Negates the given volume.
Definition: OgreVolumeCSGSource.h:337
ChunkParameters(void)
Constructor.
Definition: OgreVolumeChunk.h:96
void detachFromParent(void)
Detaches an object from a parent SceneNode if attached.
RECT * pDirtyRects
Definition: OgreD3D11LegacySDKEmulation.h:74
static void toLowerCase(String &str)
Lower-cases all the characters in the string.
static const IdString SignedIntTex
Definition: OgreHlmsPbsMobile.h:104
~Grid2DPageStrategyData()
virtual void regressFrame(void)
@ ID_DECREMENT
Definition: OgreScriptCompiler.h:967
SceneNode * getParentSceneNode(void) const
Gets the parent of this SceneNode.
virtual Real getFogStart(void) const
Returns the fog start distance for the scene.
BufferType getBufferType(void) const
virtual const VertexElement * findElementBySemantic(VertexElementSemantic sem, unsigned short index=0) const
Finds a VertexElement with the given semantic, and index if there is more than one element with the s...
virtual void _detachDepthBuffer()
Detaches DepthBuffer without notifying it from the detach.
D3D11MultiRenderTarget(const String &name)
void doSet(void *target, const String &val)
SubMesh * createSubMesh(size_t index=~0u)
Creates a new SubMesh.
void doSet(void *target, const String &val)
void setComputeProgramConstantBoolCount(ushort c)
The number of boolean constants compute programs support.
Definition: OgreRenderSystemCapabilities.h:952
void _computeBoneBoundingRadius()
Compute the bone bounding radius by looking at the vertices, vertex-bone-assignments,...
GpuConstantType constType
Data type.
Definition: OgreGpuProgramParams.h:155
@ SM_DIRECTION
Sort by direction of the camera.
Definition: OgreCommon.h:315
PccPerPixelGridPlacement()
@ OT_PATCH_1_CONTROL_POINT
Patch control point operations, used with tessellation stages.
Definition: OgreHlmsPso.h:60
@ ReadWrite
Definition: OgreResourceTransition.h:115
virtual ~GL3PlusDepthTexture()
SceneMemoryMgrTypes
The types of NodeMemoryManager & ObjectMemoryManagers.
Definition: OgreCommon.h:425
void setAutomaticBatching(bool automaticBatching)
When a texture is used by both PBS datablocks and V1 materials it can lead to a few issues:
static const int HlmsTypeBits
Definition: OgreHlms.h:952
D3D11BufferInterface(size_t vboPoolIdx, ID3D11Buffer *d3dBuffer, D3D11DynamicBuffer *dynamicBuffer)
size_t getVertexCount(size_t poly) const
Returns the number of vertices for a polygon.
void doSet(void *target, const String &val)
void(* unspecified_bool_type)(SharedPtr ***)
Definition: OgreSharedPtr.h:301
void setBox(const AxisAlignedBox &box)
Sets the size of the box you wish to query.
DecodeResult decode(DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
const SubMeshNameMap & getSubMeshNameMap(void) const
Gets a reference to the optional name assignments of the SubMeshes.
Definition: OgreMesh.h:909
virtual void destroyAllManualObjects(void)
Removes & destroys all ManualObjects from the SceneManager.
@ BuildInstantRadiosity
Only used for importing.
Definition: OgreSceneFormatBase.h:70
SceneCtlAllocatedObject SceneMgtAlloc
Definition: OgreMemoryAllocatorConfig.h:330
vector< v1::HardwareCounterBufferSharedPtr >::type GLCounterBufferList
Definition: OgreGLSLProgram.h:78
static size_t getMaxMipmaps(size_t width, size_t height, size_t depth, PixelFormat format)
Returns the maximum number of Mipmaps that can be generated until we reach the mininum format possibl...
virtual void requestResolution(uint32 width, uint32 height)
Requests a change in resolution.
void setDecalsDiffuse(TextureGpu *tex)
Sets the decal texture for diffuse.
bool operator<(const VertexBoneAssignment &_r) const
Definition: OgreVertexBoneAssignment.h:81
bool isLoaded(void) const
Is this loaded?
float2()
Definition: OgreShaderPrimitives.h:70
virtual void setFocused(bool focused)
bool getPassTransformStates(void) const
Overridden.
std::pair< size_t, size_t > getTextureDimensions(unsigned int frame=0) const
Returns the width and height of the texture in the given frame.
@ ID_READ
Definition: OgreScriptCompiler.h:981
const ColourValue & getLightDiffuseColour(size_t index) const
@ ID_RECEIVE_SHADOWS
Definition: OgreScriptCompiler.h:629
MeshSerializer(VaoManager *vaoManager)
void TransferOwnership(ComPtr< ID3D11Device > &device)
virtual ~FreeImageCodec2()
Definition: OgreFreeImageCodec2.h:62
bool has(const T &item)
Definition: OgreVectorSetImpl.h:100
virtual void _setNullDatablock(void)
Sets the datablock to a null pointer.
GpuProgramParameters(const GpuProgramParameters &oth)
Copy constructor.
virtual Animation * getAnimation(const String &name, const LinkedSkeletonAnimationSource **linker) const
Returns the named Animation object.
const VertexBoneAssignmentList & getBoneAssignments()
Gets a const reference to the list of bone assignments.
Definition: OgreSubMesh.h:194
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
@ PFG_ASTC_RGBA_UNORM_4X4_sRGB
ASTC (ARM Adaptive Scalable Texture Compression RGBA_UNORM sRGB, block size 4x4)
Definition: OgrePixelFormatGpu.h:252
@ FILTER_BICUBIC
Definition: OgreImage.h:456
AxisAlignedBox(Extent e)
Definition: OgreAxisAlignedBox.h:97
GL3PlusSupport()
Definition: OgreGL3PlusSupport.h:43
Represents a convex volume bounded by planes.
Definition: OgrePlaneBoundedVolume.h:53
MemoryTypes
Definition: OgreArrayMemoryManager.h:304
Definition of a parameter supported by a StringInterface class, for introspection.
Definition: OgreStringInterface.h:71
@ GPU_ARM
Definition: OgreRenderSystemCapabilities.h:320
@ VET_FLOAT4
Definition: OgreVertexElements.h:75
Ogre::Real getValue(void) const
@ PFG_PVRTC_RGBA2
PVRTC (PowerVR) RGBA 2 bpp.
Definition: OgrePixelFormatGpu.h:198
void removeLodLevels(void)
Internal methods for loading LOD, do not use.
bool isManualTexture(void) const
AutoConstantIterator getAutoConstantIterator(void) const
Gets an iterator over the automatic constant bindings currently in place.
GL3PlusFBORenderTexture(GL3PlusFBOManager *manager, const String &name, const GL3PlusSurfaceDesc &target, bool writeGamma, uint fsaa)
@ SPC_NORMAL_VIEW_SPACE
Normal in view space.
Definition: OgreShaderParameter.h:109
void * getTopLeftFrontPixelPtr() const
Return a data pointer pointing to top left front pixel of the pixel box.
const Vector3 & getPosition(void) const
Retrieves the camera's position.
float mVpWidth
Definition: OgreCompositorPassDef.h:101
virtual void destroyAllWireAabbs(void)
Removes & destroys all WireAabbs.
PageContentCollection(PageContentCollectionFactory *creator)
D3D11HLSLProgram * vertexShader
Definition: OgreD3D11HlmsPso.h:52
@ ID_UNLIMITED
Definition: OgreScriptCompiler.h:732
virtual void _placeBarriersAndEmulateUavExecution(BoundUav boundUavs[64], ResourceAccessMap &uavsAccess, ResourceLayoutMap &resourcesLayout)
Emulates the execution of a UAV to understand memory dependencies, and adds a memory barrier / resour...
virtual void _hlmsMacroblockCreated(HlmsMacroblock *newBlock)
Definition: OgreRenderSystem.h:830
static const IdString DiffuseMapCount0
Definition: OgreHlmsUnlitMobile.h:108
unsigned short targetBufferIndex
Definition: OgreVertexIndexData.h:97
void setPrimitiveRange(uint32 primStart, uint32 primCount)
Limits the range of triangle primitives that is rendered.
@ PFG_Y416
Definition: OgrePixelFormatGpu.h:165
Real scale
Definition: OgreSkeleton.h:470
virtual uint32 fillBuffersFor(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)
Allows the rendering of a wireframe bounding box.
Definition: OgreWireBoundingBox.h:50
CompositorPassDef * addPass(CompositorPassType passType, IdString customId=IdString())
virtual bool getCastsShadows(void) const
Method which reports whether this renderable would normally cast a shadow.
Rectangle2DFactory()
Definition: OgreRectangle2D.h:106
void extractUniformsFromProgram(GLuint programObject, const GpuConstantDefinitionMap *vertexConstantDefs, const GpuConstantDefinitionMap *fragmentConstantDefs, GLUniformReferenceList &uniformList, GLUniformBufferList &uniformBufferList)
Populate a list of uniforms based on an OpenGL program object.
virtual void bindBufferDS(uint16 slot)
static const Vector2 NEGATIVE_UNIT_Y
Definition: OgreVector2.h:588
static const uint32 TERRAINLAYERDECLARATION_CHUNK_ID
Definition: OgreTerrain.h:282
virtual ~ParallaxCorrectedCubemapAutoListener()
ConstMapIterator< GpuConstantDefinitionMap > GpuConstantDefinitionIterator
Definition: OgreGpuProgramParams.h:482
void cleanerFlat(char *dstPtr, size_t indexDst, char *srcPtr, size_t indexSrc, size_t numSlots, size_t numFreeSlots, size_t elementsMemSize)
virtual void _autogenerateMipmaps(void)
Tells the API to let the HW autogenerate mipmaps.
Definition: OgreNULLTexture.h:77
virtual void setCellRangeMinY(int32 minY)
Set the index range of all cells (values outside this will be ignored)
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:300
void registerComputeHlms(HlmsCompute *provider)
String doGet(const void *target) const
Command object for setting delegate (can set more than once)
Definition: OgreUnifiedHighLevelGpuProgram.h:68
void setIgnoreMissingParams(bool state)
Tells the program whether to ignore missing parameters or not.
Definition: OgreGpuProgramParams.h:2060
const MaterialPtr & getMaterial(void) const
See Renderable.
GLES2DepthTexture(bool shareableDepthBuffer, ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, GLES2Support &support)
virtual void abortRequest(RequestID id)
Abort a previously issued request.
float mVpLeft
Definition: OgreCompositorPassDef.h:99
UniformParameterPtr getParameterByName(const String &name)
Get parameter by a given name.
@ PFG_ASTC_RGBA_UNORM_6X6_LDR
Definition: OgrePixelFormatGpu.h:240
virtual size_t _asyncDownload(BufferPacked *source, size_t srcOffset, size_t srcLength)
Copies the GPU data in BufferPacked to the StagingBuffer so that it can be later read by the CPU usin...
A 3D box aligned with the x/y/z axes.
Definition: OgreAxisAlignedBox.h:54
virtual void _mergeSkeletonAnimations(const Skeleton *source, const BoneHandleMap &boneHandleMap, const StringVector &animations=StringVector())
Merge animations from another Skeleton object into this skeleton.
LodCollapseCostProfiler(LodProfile &profile, LodCollapseCostPtr &costCalculator)
Definition: OgreLodCollapseCostProfiler.h:45
Image()
Standard constructor.
SharedPtr< AbstractNode > AbstractNodePtr
Definition: OgreScriptCompiler.h:89
@ UO_KEEP_PERSISTENT
When unmapping, unmap() will keep persistent buffers mapped.
Definition: OgreBufferPacked.h:79
ConstEnabledAnimationStateIterator getEnabledAnimationStateIterator(void) const
Get an iterator over all the enabled animation states in this set.
Real getDetailNormalWeight(uint8 detailNormalMapIdx) const
Returns the detail normal maps' weight.
Controller< Real > * createFrameTimePassthroughController(const ControllerValueRealPtr &dest)
Creates a new controller use frame time source and passthrough controller function.
virtual ushort getDesiredFloatBitDepth(void) const
gets desired bit depth for float pixel format textures.
virtual bool hasSameAttachments(const RenderPassDescriptor *otherPassDesc) const
@ PCF_3x3
Good quality. Still quite fast on most modern hardware.
Definition: OgreHlmsPbs.h:67
void read(T *pT, size_t count=1)
Catch-all method to read primitive types.
Definition: OgreStreamSerialiser.h:301
@ OT_PATCH_31_CONTROL_POINT
Definition: OgreHlmsPso.h:90
Locking helper.
Definition: OgreHardwareBuffer.h:356
DXGI_SAMPLE_DESC getD3dSampleDesc(void) const
Definition: OgreD3D11Texture.h:90
vector< RenderTexture * >::type BoundSufaceList
Definition: OgreRenderTexture.h:120
LodCollapseCostOutside(LodCollapseCostPtr costCalculator, Real outsideWeight, Real outsideWalkAngle)
HlmsUnlit(Archive *dataFolder, ArchiveVec *libraryFolders)
@ ACT_VIEWPORT_SIZE
Packed of "ViewportWidth", "ViewportHeight", "ViewportWidthInverse", "ViewportHeightInverse".
Definition: OgreGpuProgramParams.h:1258
void updateAllDirtyProbes(void)
By default the probes will be constructed when the user enters the vecinity of non-static probes,...
static const IdString DetailNormalSwizzle2
Definition: OgreHlmsPbsMobile.h:168
Specialisation of HardwareVertexBuffer for OpenGL.
Definition: OgreGL3PlusHardwareVertexBuffer.h:39
CompositorPassClearDef(CompositorTargetDef *parentTargetDef)
By default clear all buffers.
Definition: OgreCompositorPassClearDef.h:57
Real getNearClipDistance() const
void setGLMapBufferThreshold(const size_t value)
Definition: OgreGL3PlusHardwareBufferManager.h:155
Definition: OgreD3D11NullTexture.h:37
bool unique() const
Definition: OgreSharedPtr.h:284
@ ID_CUBIC_NORMAL
Definition: OgreScriptCompiler.h:783
virtual void bindBufferCS(uint16 slot)
EdgeList edges
The edges themselves.
Definition: OgreEdgeListBuilder.h:117
void setDevice(D3D9Device *device)
ID3D11DeviceN * get()
Definition: OgreD3D11Device.h:63
virtual const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
bool mFlushCommandBuffers
Whether to flush the command buffer at the end of the pass.
Definition: OgreCompositorPassDef.h:175
const BoundSufaceList & getBoundSurfaceList() const
Get a list of the surfaces which have been bound.
Definition: OgreRenderTexture.h:122
virtual void unmap(UnmapOptions unmapOption, size_t flushStartElem=0, size_t flushSizeElem=0)
String doGet(const void *target) const
virtual bool _prepareProceduralPage(Page *page)
Give a section the opportunity to prepare page content procedurally.
VctLighting * getVctLighting(void)
Definition: OgreHlmsPbs.h:395
Time index object used to search keyframe at the given position.
Definition: OgreAnimationTrack.h:54
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:170
Specialisation of GLSLProgram to provide support for separable programs via the OpenGL program pipeli...
Definition: OgreGLSLSeparableProgram.h:74
Definition: OgreLodConfig.h:126
@ ID_SAMPLES_PER_ITERATION
Definition: OgreScriptCompiler.h:997
virtual void destroyStaticGeometry(const String &name)
Remove & destroy a StaticGeometry instance.
void setRenderQueueSubGroup(uint8 subGroup)
void doSet(void *target, const String &val)
static ArrayMaskR CompareGreaterEqual(ArrayReal a, ArrayReal b)
Returns the result of "a >= b".
Definition: OgreMathlibC.h:263
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:166
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.
_OgreTerrainExport friend std::ostream & operator<<(std::ostream &o, const LoadLodRequest &r)
Definition: OgreTerrainLodManager.h:73
@ PFG_V208
Definition: OgrePixelFormatGpu.h:180
SharedPtr< TerrainMaterialGenerator > TerrainMaterialGeneratorPtr
Definition: OgreTerrainMaterialGenerator.h:414
SubMesh * getSubMesh(void) const
Accessor method to read mesh data.
@ StoreAndMultisampleResolve
Resolve MSAA rendering into resolve texture.
Definition: OgreRenderPassDescriptor.h:104
void freeMemory()
Delete all the memory held by this image, if owned by this image (not dynamic)
static const IdString UvDetailNm1
Definition: OgreHlmsPbsMobile.h:149
void _destroyInternalResources()
void clearFrameBuffer(void)
This utility class is used to hold the information used to generate the matrices and other informatio...
Definition: OgreAutoParamDataSource.h:60
static void toQuotedStr(TextureAddressingMode value, String &outString)
bool isDepthBuffered() const
Returns true if this window use depth buffer.
uint8 getCoverageSamples(void) const
Definition: OgreCommon.h:983
@ VET_DOUBLE4
Definition: OgreVertexElements.h:90
const char * XDisplayName(char *name)
GLXFBConfig getFBConfigFromDrawable(GLXDrawable drawable, unsigned int *width, unsigned int *height)
Get the GLXFBConfig used to create a GLXDrawable.
ConstTerrainIterator getTerrainIterator() const
Get an iterator over the defined terrains (const)
static const IdString UvDetail0
Definition: OgreHlmsPbs.h:513
@ GCT_SAMPLERCUBE
Definition: OgreGpuProgramParams.h:80
Definition: OgreVaoManager.h:166
vector< SkeletonAnimation >::type SkeletonAnimationVec
Definition: OgreSkeletonInstance.h:37
@ SPC_LIGHTDIRECTION_TANGENT_SPACE3
Definition: OgreShaderParameter.h:200
@ FT_IMAGE
Loaded from an image created by an artist.
Definition: OgreFont.h:49
virtual PixelFormat getSupportedAlternative(PixelFormat format)
Get the closest supported alternative format.
virtual bool isSmallerThan(const StagingTexture *other) const
const FilterSeparableKernel c_filterSeparableKernels[1]
uint16 divisor
Definition: OgreHlmsTextureManager.h:283
void remove(const IdString &name)
Will remove the SkeletonDef from our lists, but the memory pointer may not actually be deleted,...
@ SceneSettings
Definition: OgreSceneFormatBase.h:66
bool operator<(const QueuedRenderable &_r) const
Definition: OgreRenderQueue.h:60
bool load(StreamSerialiser &stream)
Load world data from a serialiser (returns true if successful)
void setName(const String &name)
Definition: OgreSkeletonAnimationDef.h:93
static const IdString UvDetailNm2
Definition: OgreHlmsPbs.h:520
Definition: OgreTerrainLodManager.h:78
@ ID_INCREMENT_WRAP
Definition: OgreScriptCompiler.h:968
CSGNoiseSource(const Source *src, Real *frequencies, Real *amplitudes, size_t numOctaves)
Constructor with current time as seed.
SuperClass::size_type size_type
Definition: OgreMain/include/OgreSmallVector.h:333
bool getEnableIncludeHeader(void) const
::EGLConfig selectGLConfig(const EGLint *minAttribs, const EGLint *maxAttribs)
const Real & getSplitFadePoint() const
Returns the calculated split fade point.
Definition: OgreShadowCameraSetupPSSM.h:149
ResourceLayout::Layout newLayout
Definition: OgreResourceTransition.h:125
virtual unsigned int getWidth(void) const
Overridden - see RenderWindow.
GLES2DepthTextureTarget(GLES2DepthTexture *ultimateTextureOwner, const String &name, v1::HardwarePixelBuffer *buffer, uint32 zoffset)
bool requiresTextureFlipping() const
Definition: OgreD3D9Texture.h:232
D3D11RenderTexture(const String &name, v1::D3D11HardwarePixelBuffer *buffer, uint32 zoffset, bool writeGamma, uint fsaa, const String &fsaaHint, D3D11Device &device)
Options class which just stores default options for the terrain.
Definition: OgreTerrain.h:1912
virtual ForwardPlusMethods getForwardPlusMethod(void) const =0
size_t getBytesPerImage(void) const
void _makeProjectionMatrix(Real left, Real right, Real bottom, Real top, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
See RenderSystem.
D3D11VideoMode(const D3D11VideoMode &ob)
@ SPC_LIGHTDIRECTION_TANGENT_SPACE7
Definition: OgreShaderParameter.h:204
SharedPtr< GpuNamedConstants > GpuNamedConstantsPtr
Definition: OgrePrerequisites.h:389
vector< Submesh >::type submesh
Contains every generated indexBuffer from every submesh. submeshCount*lodLevelCount buffers.
Definition: OgreLodBuffer.h:81
void setEmissiveTextureRaw(TextureGpu *emissiveTex, uint32 sliceIdx)
NULLTexture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
Definition: OgreNULLTexture.h:51
virtual void discardFrameBuffer(unsigned int buffers)
uint32 slotIdx
Definition: OgreCompositorPassComputeDef.h:88
void _setProperty(IdString key, int32 value)
For debugging stuff. I.e. the Command line uses it for testing manually set properties.
Definition: OgreHlms.h:792
virtual void createDefinedTexture(const String &sMaterialName, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)=0
Creates a texture into an already defined material or one that is created new (it's up to plugin to u...
static D3D11_TEXTURE_ADDRESS_MODE get(TextureAddressingMode tam)
return a D3D11 equivalent for a Ogre TextureAddressingMode value
ArrayQuaternion Log(void) const
@ ACT_TRANSPOSE_PROJECTION_MATRIX
Provides transpose of projection matrix.
Definition: OgreGpuProgramParams.h:949
void addGPUVendorRule(const GPUVendorRule &rule)
Add a rule which manually influences the support for this technique based on a GPU vendor.
SceneBlendFactor mDestBlendFactorAlpha
Definition: OgreHlmsDatablock.h:179
bool hasMinGLVersion(int major, int minor) const
Check if GL Version is supported.
Aabb()
Definition: C/OgreAabb.h:83
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
A factory that enables creation of FFPLighting instances.
Definition: OgreShaderFFPLighting.h:225
void setCubemapProbe(CubemapProbe *probe)
Manually set a probe to affect this particular material.
Simple class for loading / saving GpuNamedConstants.
Definition: OgreGpuProgramParams.h:551
virtual void _resourceTransitionDestroyed(ResourceTransition *resTransition)
void * lock(size_t offset, size_t length, LockOptions options)
Override HardwareBuffer to turn off all shadowing.
ID3D11UnorderedAccessView * _bindBufferCommon(size_t offset, size_t sizeBytes)
virtual void destroyAllItems(void)
Removes & destroys all Items.
GeneralAllocatedObject ArchiveAlloc
Definition: OgreMemoryAllocatorConfig.h:298
void *(OGRE_THREAD_CALL_CONVENTION * THREAD_ENTRY_POINT)(void *lpThreadParameter)
Definition: OgreThreads.h:126
virtual void _setTextures(uint32 slotStart, const DescriptorSetTexture2 *set)=0
unsigned int getHeight() const
Definition: OgreD3D9VideoMode.h:54
v1::HardwarePixelBufferSharedPtr getBuffer(size_t face, size_t mipmap)
Return hardware pixel buffer for a surface.
virtual const String & getType() const
bool queryResult(SceneQuery::WorldFragment *fragment, Real distance)
Self-callback in order to deal with execute which returns collection.
static const IdString RoughnessMap
Definition: OgreHlmsPbsMobile.h:109
static Matrix4 convertD3DXMatrix(const D3DXMATRIX &mat)
AbstractNodeList values
Definition: OgreScriptCompiler.h:155
Radian mRotation
Current rotation value.
Definition: OgreParticle.h:84
virtual Real getHoldRadius() const
Get the Holding radius.
Definition: OgreGrid2DPageStrategy.h:171
TextureGpu * CompositorChannel
A channel in the compositor transports textures between nodes.
Definition: OgreCompositorChannel.h:52
virtual void loadTerrain(long x, long y, bool synchronous=false)
Load a specific terrain slot based on the definition that has already been supplied.
@ BCT_SUBROUTINE
Definition: OgreGpuProgramParams.h:62
GLuint getGLBufferId(void) const
Definition: OgreGLES2HardwareVertexBuffer.h:82
const Request * getRequest() const
Get the request that this is a response to (NB destruction destroys this)
Definition: OgreWorkQueue.h:143
virtual void setColourChange(size_t chainIndex, const ColourValue &valuePerSecond)
Enables / disables fading the trail using colour.
Frame Buffer Object abstraction.
Definition: OgreGL3PlusFrameBufferObject.h:42
@ OR_DEGREE_180
Definition: OgreFrustum.h:52
virtual void _hlmsSamplerblockDestroyed(HlmsSamplerblock *block)
size_t capacity() const
Definition: OgreFastArray.h:180
DistanceLodSphereStrategy()
Default constructor.
virtual void _setProgramsFromHlms(const HlmsCache *hlmsCache)
uint16 requestedLod
Definition: OgreTerrainLodManager.h:72
ShadowTextureDefinition * addShadowTextureDefinition(size_t lightIdx, size_t split, const String &name, const Vector2 &uvOffset, const Vector2 &uvLength, uint8 arrayIdx)
Adds a new ShadowTexture definition.
@ TypeCubeArray
Definition: OgreTextureGpu.h:61
Definition: OgreCompositorPassComputeDef.h:87
Box()
Parameterless constructor for setting the members manually.
Definition: OgreCommon.h:820
@ NotTexture
Texture cannot be used as a regular texture (bound to SRV in D3D11 terms)
Definition: OgreTextureGpu.h:84
const String * findAliasName(const TextureLocation &textureLocation) const
Finds the alias name of a texture given its TextureLocation.
bool checkExtension(const String &ext) const
Check if an extension is available.
BufferLicenseType
Definition: OgreHardwareBufferManager.h:165
virtual void setRenderOperation(const RenderOperation &rend)
static DWORD get(HardwareBuffer::Usage usage)
return the combination of D3DUSAGE values for Ogre buffer usage
Command object for getting/setting external micro code (void*)
Definition: OgreD3D9GpuProgram.h:51
virtual void getRenderOperation(RenderOperation &op)
Get the render operation for this buffer.
@ ACT_TIME
provides current elapsed time
Definition: OgreGpuProgramParams.h:1189
void _setProjectionMatrix(const Matrix4 &m)
Sets the projection transform matrix.
void setUseCount(unsigned value)
Definition: OgreSharedPtr.h:292
VectorIterator< ObjectVec > ObjectIterator
Definition: OgreSceneNode.h:60
SharedPtr< GLES2Texture > GLES2TexturePtr
Definition: OgreGLES2Prerequisites.h:159
static void createShadowNodeWithSettings(CompositorManager2 *compositorManager, const RenderSystemCapabilities *capabilities, const String &shadowNodeName, const ShadowNodeHelper::ShadowParamVec &shadowParams, bool useEsm, uint32 pointLightCubemapResolution=1024u, Real pssmLambda=0.95f, Real splitPadding=1.0f, Real splitBlend=0.125f, Real splitFade=0.313f, uint32 numStableSplits=0, uint32 visibilityMask=VisibilityFlags::RESERVED_VISIBILITY_FLAGS)
Utility to programmatically create a shadow node, since doing it yourself can be confusing.
void destroyDescriptorSetSampler(const DescriptorSetSampler *descSet)
@ CAPS_CATEGORY_GL
Definition: OgreRenderSystemCapabilities.h:70
Information about the position and size of a glyph in a texture.
Definition: OgreFont.h:142
const Vector3 & getLightMapDirection() const
Get the shadow map light direction to use (world space)
Definition: OgreTerrain.h:1951
vector< QueuedSubMesh * >::type QueuedSubMeshList
Definition: OgreStaticGeometry.h:173
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.
InstantRadiosity(SceneManager *sceneManager, HlmsManager *hlmsManager)
void log(Log *l)
Debugging method.
void _destroyEmitter(ParticleEmitter *emitter)
Internal method for destroying an emitter.
void _setMipmapping(bool doMipmapGen, bool HWMipmaps)
Function to set mipmap generation.
virtual WireAabb * createWireAabb(void)
Create an WireAabb.
@ RSC_TEXTURE_3D
Supports 3d (volume) textures.
Definition: OgreRenderSystemCapabilities.h:125
bool operator==(const ColourValue &rhs) const
LayerBlendOperationEx operation
The operation to be applied.
Definition: OgreBlendMode.h:145
virtual Matrix3 getLocalAxes(void) const
Gets a matrix whose columns are the local axes based on the OldNodes orientation relative to it's par...
_OgreVolumeExport friend std::ostream & operator<<(std::ostream &o, const ChunkRequest &r)
Stream operator <<.
Definition: OgreVolumeChunkHandler.h:83
virtual bool validateDevice(bool forceDeviceElection=false)
Some render systems have moments when GPU device is temporarily unavailable, for example when D3D11 d...
Definition: OgreRenderSystem.h:255
virtual void setUp(const Vector3 &up)
Sets the notional up vector of the emitter.
virtual ~NULLTextureGpu()
@ FILTER_BOX
Definition: OgreImage2.h:337
SharedPtr< D3D9Texture > D3D9TexturePtr
Definition: OgreD3D9Prerequisites.h:101
@ SPC_LIGHTDIRECTION_VIEW_SPACE0
Light direction in view space index 0-7.
Definition: OgreShaderParameter.h:187
D3D11HLSLProgram * _getBoundComputeProgram() const
virtual AbstractNode * clone() const =0
Returns a new AbstractNode which is a replica of this one.
const GpuProgramParameters_AutoConstantEntry * findUnsignedIntAutoConstantEntry(size_t logicalIndex)
Finds an auto constant that's affecting a given logical parameter index for unsigned integer values.
iterator find(const T &item)
Definition: OgreVectorSetImpl.h:106
Vector3 collapseMax(void) const
Takes each Vector and returns one returns a single vector.
void _load(void)
Internal method for loading this pass.
bool positionEquals(const Vector3 &rhs, Real tolerance=1e-03) const
Returns whether this vector is within a positional tolerance of another vector.
Definition: OgreVector3.h:750
uint16 _getInputLayoutId(HlmsManager *hlmsManager, OperationType opType)
VertexDeclaration do not store OperationType, which is why we cache just the base 10 bits.
static const Quaternion IDENTITY
Definition: OgreQuaternion.h:318
virtual void endCurrent()
See GL3PlusContext.
size_t getConstBufferSize(void) const
Returns the amount of bytes that fillConstBufferData is going to fill.
@ OT_LINE_STRIP
A strip of connected lines, 1 vertex per line plus 1 start vertex.
Definition: OgreHlmsPso.h:52
bool isVisible(const Vector3 &vert, FrustumPlane *culledBy=0) const
Tests whether the given vertex is visible in the Frustum.
@ ID_USE_REFRACTIONS
Definition: OgreScriptCompiler.h:923
Provides numeric solvers for Ogre.
Definition: OgreNumerics.h:52
virtual ~AnimationContainer()
SharedPtr< GpuLogicalBufferStruct > GpuLogicalBufferStructPtr
Definition: OgrePrerequisites.h:390
virtual void _setHlmsSamplerblock(uint8 texUnit, const HlmsSamplerblock *samplerblock)
@See HlmsSamplerblock.
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
VertexBoneAssignment(const v1::VertexBoneAssignment &c)
Definition: OgreVertexBoneAssignment.h:74
void removeSoftwareAnimationRequest(bool normalsAlso)
Removes a request for software animation.
Ogre::Vector3 mCenter
Definition: C/OgreAabb.h:80
static const IdString DetailMap0
Definition: OgreHlmsPbs.h:472
@ ACT_FRAME_TIME
provides the scaled frame time, returned as a floating point value.
Definition: OgreGpuProgramParams.h:1235
@ TU_STATIC_WRITE_ONLY
same as HardwareBuffer::HBU_STATIC_WRITE_ONLY
Definition: OgreTexture.h:57
static ParameterPtr createInTexcoord3(int index, Parameter::Content content)
SceneManager * _getCurrentSceneManager(void) const
Returns the scene manager currently being used to render a frame.
virtual KeyFrame * _clone(AnimationTrack *newParent) const
Clone a keyframe (internal use only)
virtual void detachDepthBuffer()
Implementation of a Quaternion, i.e.
Definition: OgreQuaternion.h:57
virtual void setVolumeVisible(const bool visible)
Sets whether the volume mesh is visible.
TextureAtlasAttib(IndexPositionMode _posMode=ipmRelative, ushort _posOffset=1, bool _autoBorderAdjust=true)
Definition: OgreShaderExTextureAtlasSampler.h:224
const T * data() const
Definition: OgreStackVector.h:115
static const IdString ShadowCaster
Definition: OgreHlms.h:866
RaySceneQuery(SceneManager *mgr)
void Orthonormalize()
Gram-Schmidt orthonormalization (applied to columns of rotation matrix)
Texture surface.
Definition: OgreGLES2TextureBuffer.h:39
virtual void _setTextures(uint32 slotStart, const DescriptorSetTexture2 *set)
A factory that enables creation of NormalMapLighting instances.
Definition: OgreShaderExNormalMapLighting.h:406
unsigned int getHeight() const
void calculateCell(PageID inPageID, int32 *x, int32 *y, int32 *z)
virtual void _setVisible(bool visible)
Internal method to notify the window it has been obscured or minimized.
static ParameterPtr createOutTexcoord3(int index, Parameter::Content content)
virtual DataStreamPtr encode(MemoryDataStreamPtr &input, CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
static GLuint getAttributeIndexFor(VertexElementSemantic semantic)
PolygonMode
The polygon mode to use when rasterising.
Definition: OgreCommon.h:292
const String & getName() const
Definition: OgreHardwareUniformBuffer.h:62
static GLSLSeparableProgramManager & getSingleton(void)
virtual void setCommonUpVector(const Vector3 &vec)
Use this to specify the common up-vector given to billboards of type BBT_PERPENDICULAR_SELF or BBT_PE...
const SharedPtr< ControllerFunction< T > > & getFunction(void) const
Returns a pointer to the function object used by this controller.
Definition: OgreController.h:210
virtual void finalize(LodData *data)
Definition: OgreLodOutputProviderBuffer.h:46
size_t calculateSize(void) const
@ MESH_VERSION_1_8
OGRE version v1.8+.
Definition: OgreMeshSerializer.h:53
const TexturePtr & getLayerBlendTexture(uint8 index) const
Get a blend texture with a given index.
void _markBuffersUsedForAnimation(void)
Mark just this vertex data as animated.
void getTerrainPositionAlign(Real x, Real y, Real z, Alignment align, Vector3 *outTSpos) const
Convert a position from world space to terrain basis space based on a specified alignment.
bool getShareableDepthBuffer(void) const
Definition: OgreMetalDepthTexture.h:48
ThreadGroupsBasedOn
Definition: OgreHlmsComputeJob.h:56
TextureGpu * getCurrentPassDepthTextureNoMsaa(void) const
Definition: OgreSceneManager.h:1317
HashedVector< T > & operator=(const HashedVector< T > &rhs)
Definition: OgreCommon.h:527
const Vector4 & getSceneDepthRange() const
WriteBarrier
Definition: OgreResourceTransition.h:65
virtual ~GLES2RenderTexture()
GLSLESShader * pixelShader
Definition: OgreGLES2HlmsPso.h:64
bool isMultisample(void) const
virtual void _resumeRendering(RenderContext *context)
Resume rendering of the frame.
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:184
GL3PlusHardwareBufferManagerBase as a Singleton.
Definition: OgreGL3PlusHardwareBufferManager.h:107
static uint32 clz32(uint32 value)
Definition: OgreBitwise.h:473
virtual void setCurrent()
See GL3PlusContext.
bool getStoreParityInW() const
Gets whether to store tangent space parity in the W of a 4-component tangent or not.
Definition: OgreTangentSpaceCalc.h:116
virtual void reposition(int leftPt, int topPt)
Definition: OgreD3D11Window.h:70
void set(const Vector3 &cameraPos, const Aabb &area, const Vector3 &areaInnerRegion, const Matrix3 &orientation, const Aabb &probeShape)
Sets cubemap probe's parameters.
void setCullingFrustum(Frustum *frustum)
Tells the camera to use a separate Frustum instance to perform culling.
Definition: OgreCamera.h:624
StringVectorPtr find(const String &pattern, bool recursive=true, bool dirs=false)
Find all file or directory names matching a given pattern in this archive.
@ CNT_LBRACE
Definition: OgreScriptCompiler.h:59
static void destroyVaos(VertexArrayObjectArray &vaos, VaoManager *vaoManager, bool destroyIndexBuffer=true)
@ MESH_VERSION_2_1
OGRE version v2.0+.
Definition: OgreMesh2Serializer.h:65
void set(const T &v)
Definition: OgreAtomicObject.h:69
size_t sizeBytes
Definition: OgreVaoManager.h:169
Real base
Definition: OgreTextureUnitState.h:143
void unsafeScheduleTransitionTo(GpuResidency::GpuResidency nextResidency, Image2 *image=0, bool autoDeleteImage=true)
Schedules an async transition in residency.
@ Type1DArray
Definition: OgreTextureGpu.h:57
Overlay * getByName(const String &name)
Retrieve an Overlay by name.
ImageBlur2D separableBlur_Signed_XA88
Definition: OgreImageDownsampler.h:138
Factory class for GLSL ES programs.
Definition: OgreGLSLESShaderFactory.h:40
const float * getDeltaData() const
Get a pointer to all the delta data for this terrain.
@ PROP_UNSIGNED_SHORT
Definition: OgreProperty.h:107
static const IdString BlendModeIdx13
Definition: OgreHlmsUnlitMobile.h:138
static const IdString DebugPssmSplits
Definition: OgreHlmsPbs.h:455
void deleteResource(const String &filename, const String &groupName=DEFAULT_RESOURCE_GROUP_NAME, const String &locationPattern=BLANKSTRING)
Delete a single resource file.
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:107
static FilterOptions parseFilterOptions(const char *value)
static const IdString DiffuseMapCount6
Definition: OgreHlmsUnlitMobile.h:114
Manager/factory for RenderTextures.
Definition: OgreGL3PlusRenderTexture.h:70
bool mVplUseIntensityForMaxRange
When true, mVplIntensityRangeMultiplier will be used and each VPL will have a dynamic max range (can'...
Definition: OgreInstantRadiosity.h:218
virtual void _hlmsPipelineStateObjectCreated(HlmsPso *newPso)
CompositorNode(IdType id, IdString name, const CompositorNodeDef *definition, CompositorWorkspace *workspace, RenderSystem *renderSys, TextureGpu *finalTarget)
The Id must be unique across all engine so we can create unique named textures.
void setMinimumY(Real y)
Definition: OgreAxisAlignedBox.h:202
Vector3 projectVector(const Vector3 &v) const
Project a vector onto the plane.
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 ...
String doGet(const void *target) const
void setManualValue(const float *value, uint32 numValues)
void renderPassPrepare(bool casterPass, bool dualParaboloid)
If you need to call RenderQueue::render, then you must call this function.
Factory object for creating ParticleSystem instances.
Definition: OgreParticleSystemManager.h:392
HlmsBlendblock const * blendblock
Definition: OgreHlmsPso.h:191
bool isLoaded(void) const
Returns true if the Resource has been loaded, false otherwise.
RenderTargetViewEntry stencilAttachment
Definition: OgreTextureDefinition.h:511
@ GCT_INT4
Definition: OgreGpuProgramParams.h:97
void destroyRenderPassDescriptor(RenderPassDescriptor *renderPassDesc)
Implementation of HardwareBufferManager for OpenGL.
Definition: OgreGL3PlusHardwareBufferManager.h:43
@ RSC_TEXTURE_COMPRESSION_DXT
Supports compressed textures in the DXT/ST3C formats.
Definition: OgreRenderSystemCapabilities.h:142
void _removeChild(OverlayElement *elem)
Definition: OgreOverlayContainer.h:91
@ FinalMat
Definition: OgreBoneArrayMemoryManager.h:64
SharedPtrInfoDeleteT(T *o)
Definition: OgreSharedPtr.h:88
virtual const String & getMovableType(void) const
Returns the type name of this object.
@ NormalSort
Definition: OgreRenderQueue.h:115
HardwareOcclusionQuery()
Object public member functions.
virtual void setMode(Grid2DMode mode)
Set the grid alignment mode.
bool getEnableAnimationMatrix(uint8 textureUnit) const
void reset(T *rep)
Definition: OgreSharedPtr.h:318
void setBlendWeightsGpuRedundant(bool redundant)
Sets whether blend weights information needs to be passed to the GPU.
Definition: OgreRoot.h:1031
Real getNonVisibleUpdateTimeout(void) const
Gets when the particle system should stop updating after it hasn't been visible for a while.
Definition: OgreParticleSystem.h:455
void setZOrder(uint16 zorder)
Alters the Z-order of this overlay.
FastArray< TextureFilter::FilterBase * > FilterBaseArray
Definition: OgreObjCmdBuffer.h:52
Definition: OgreNULLVaoManager.h:51
virtual ~GLSLShaderManager()
const Polygon & getPolygon(size_t poly) const
Returns a polygon.
virtual void _setProjectionMatrix(const Matrix4 &m)=0
Sets the projection transform matrix.
Abstract class representing a loadable resource (e.g.
Definition: OgreResource.h:81
bool contains(const Aabb &other) const
Tests whether another box contained by this box.
static String type
The type.
Definition: OgreShaderExTriplanarTexturing.h:138
size_t getStart(void) const
Definition: OgreHlmsCommon.h:135
void stopSharingSkeletonInstance()
Stops sharing the OldSkeletonInstance with other entities.
PropertyBase(PropertyDef *def)
Constructor.
Definition: OgreProperty.h:191
void prepareForShadowVolume(void)
Modifies the vertex data to be suitable for use for rendering shadow geometry.
uint32 bytesPerElement
Definition: OgreTextureDefinition.h:149
SmallVector(unsigned Size, const T &Value=T())
Definition: OgreMain/include/OgreSmallVector.h:742
virtual void destroyEntity(v1::Entity *ent)
Removes & destroys an Entity from the SceneManager.
@ Clear
Definition: OgreResourceTransition.h:53
void doSet(void *target, const String &val)
Definition: OgreD3D11TexBufferPacked.h:41
virtual ~MetalTextureGpu()
void setScissorTest(bool enabled, size_t left=0, size_t top=0, size_t right=800, size_t bottom=600)
static bool isFloatingPoint(PixelFormat format)
Shortcut method to determine if the format is floating point.
static ArrayMaskI TestFlags4(ArrayInt a, ArrayInt b)
Test if "a AND b" will result in non-zero, returning 0xffffffff on those cases.
Definition: OgreMathlibC.h:171
const Vector3 getCenterLeftTop(void) const
Gets the center of the corners 4, 7.
Definition: OgreVolumeOctreeNode.h:382
#define OGRE_COPY_DEBUG_STRING(_Expression)
Definition: OgreIdString.h:42
bool getEnabled(void) const
Returns if this instance is enabled. @See setEnabled.
Definition: OgreCompositorNode.h:179
void _setName(IdString newName)
Do not call directly.
Definition: OgreTextureDefinition.h:168
virtual int getExecutionOrder() const
const TextureSlot & getTexture(void) const
Definition: OgreDescriptorSetTexture.h:278
Definition: OgreGLXUtils.h:39
~GL3PlusHardwareIndexBuffer()
void * lock(size_t offset, size_t length, LockOptions options)
Lock the buffer for (potentially) reading / writing.
@ BBO_TOP_CENTER
Definition: OgreBillboardSet.h:59
@ PROP_VECTOR4
Definition: OgreProperty.h:116
static uint32 shrinkVertexBuffer(uint8 *dstData, const VertexElement2 *vertexElements[3], FastArray< uint32 > &vertexConversionLut, bool hasIndexBuffer, const uint8 *srcData[3], const size_t srcOffset[3], const size_t srcBytesPerVertex[3], uint32 numVertices)
Copies the contents from srcData into dstData, but shrinking it by removing duplicated vertices.
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.
bool XQueryExtension(Display *nativeDisplayType, char *name, int *dummy0, int *dummy2, int *dummy3)
virtual Terrain * getTerrain(long x, long y) const
Get the terrain instance at a given slot, if loaded.
TerrainLayerSamplerElement()
Definition: OgreTerrainMaterialGenerator.h:89
FilterOptions mMinFilter
Definition: OgreHlmsSamplerblock.h:66
Vector3 getEmissive(void) const
GpuProgramUsage(const GpuProgramUsage &rhs, Pass *newparent)
Copy constructor.
void bindToFramebuffer(GLenum target=GL_FRAMEBUFFER)
static const IdString BlendModeIndex4
Definition: OgreUnlitProperty.h:115
Singleton(void)
Definition: OgreSingleton.h:78
DecodeResult decode(DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
void _clearSliceRTT(size_t zoffset)
Notify TextureBuffer of destruction of render target.
Definition: OgreGL3PlusTextureBuffer.h:63
Ogre::Radian angleTo(const Ogre::Vector2 &other) const
Gets the oriented angle between 2 vectors.
Definition: OgreVector2.h:573
virtual bool isSmallerThan(const StagingTexture *other) const =0
@ ERR_FILE_NOT_FOUND
Definition: OgreException.h:113
bool isUpdate
Whether this is an update of an existing tree.
Definition: OgreVolumeChunkHandler.h:75
Vector3 updateTo
If an existing chunktree is to be partially updated, set this to the front upper right point of the (...
Definition: OgreVolumeChunk.h:89
void save(StreamSerialiser &stream)
Save node to a stream.
virtual Real getMinimumDepthInputValue(void)
Gets the minimum (closest) depth value to be used when rendering using identity transforms.
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
virtual void setPosition(const Vector3 &pos)
Sets the position of the OldNode relative to it's parent.
void initialiseContext(RenderWindow *primary)
uint8 getMaxSamples(void) const
Definition: OgreCommon.h:984
This optional class allows you to receive per-result callbacks from SceneQuery executions instead of ...
Definition: OgreSceneQuery.h:183
virtual ~GLES2DepthTexture()
void * geometry
Custom geometry block, only applicable for WFT_CUSTOM_GEOMETRY.
Definition: OgreSceneQuery.h:115
char const * data
Data is already offseted. To get the vertex location, perform (data - offset);.
Definition: OgreVertexArrayObject.h:188
virtual void destroyAllDecals(void)
size_t offset
Definition: OgreVertexArrayObject.h:189
@ ID_LAST_RENDER_QUEUE
Definition: OgreScriptCompiler.h:916
FileHandleDataStream(FILE *handle, uint16 accessMode=READ)
Create stream from a C file handle.
GeneralAllocatedObject ImageAlloc
Definition: OgreMemoryAllocatorConfig.h:311
map< uint32, TerrainSlot * >::type TerrainSlotMap
Packed map, signed 16 bits for each axis from -32767 to +32767.
Definition: OgreTerrainGroup.h:460
void clear()
Reset the calculation object.
virtual uint16 getChannel(const String &channelName)
Get a channel ID for a given channel name.
bool caseSensitive
Definition: OgreTechnique.h:108
EmscriptenEGLContext(EGLDisplay eglDisplay, const EGLSupport *glsupport, ::EGLConfig fbconfig, ::EGLSurface drawable)
virtual void getMetrics(unsigned int &width, unsigned int &height, unsigned int &colourDepth, int &left, int &top) const
Overloaded version of getMetrics from RenderTarget, including extra details specific to windowing sys...
vector< Node * >::type NodeVec
Definition: OgreNode.h:73
size_t getFrameLastUpdated() const
Get the frame in which this shared parameter set was last updated.
Definition: OgreGpuProgramParams.h:723
virtual void _cancelDownload(size_t offset, size_t sizeBytes)
Releases memory assigned to a download that hasn't been mapped yet, to make space for another _asyncD...
AllocatedObject< AnimationAllocPolicy > AnimationAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:280
Represents a history of each profile during the duration of the app.
Definition: OgreProfiler.h:268
Ogre::RenderWindow * window
Definition: OgreOSXCocoaTouchView.h:37
void _removeAllBarriers(void)
const CompositorWorkspace * getWorkspace(void) const
Returns our parent workspace.
Definition: OgreCompositorNode.h:350
@ BBO_BOTTOM_LEFT
Definition: OgreBillboardSet.h:64
virtual bool queryIsTransferDone(void)
VectorImpl::pointer pointer
Definition: OgreCommon.h:458
const DescriptorSetSampler * getDescriptorSetSampler(const DescriptorSetSampler &baseParams)
VertexDataBindChoice
Identify which vertex data we should be sending to the renderer.
Definition: OgreEntity.h:645
virtual bool isCompatible(RenderTarget *renderTarget, bool exactFormatMatch) const
Returns whether the specified RenderTarget is compatible with this DepthBuffer That is,...
IndexType
Definition: OgreHardwareIndexBuffer.h:51
@ RSC_VERTEX_FORMAT_UBYTE4
Supports the VET_UBYTE4 vertex element type.
Definition: OgreRenderSystemCapabilities.h:115
bool isAffine() const
Check whether or not the matrix is affine matrix.
Definition: OgreVertexBufferDownloadHelper.h:44
Real getTextureVScale(void) const
Get texture vscale value.
void setBillboardOrigin(BillboardOrigin origin)
Sets the point which acts as the origin point for all billboards in this set.
Definition: OgreBillboardParticleRenderer.h:143
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.
Structure recording a queued submesh for the build.
Definition: OgreStaticGeometry.h:162
@ PF_BC4_SNORM
DDS (DirectDraw Surface) BC4 format (signed normalised)
Definition: OgrePixelFormat.h:212
virtual void _setBindingType(TextureUnitState::BindingType bindigType)
Set texture unit binding type.
uint32 minResolution
Definition: OgreTextureGpuManager.h:236
virtual void cleanupEmptyPools(void)
Frees GPU memory if there are empty, unused pools.
IncludeOrExclude
Directive used to manually control technique support based on the inclusion or exclusion of some fact...
Definition: OgreTechnique.h:87
virtual OldNode * removeChild(const String &name)
Drops the named child from this OldNode.
Degree operator/(Real f) const
Definition: OgreMath.h:123
virtual void buildDiffList(uint16 level, const MemoryPoolVec &basePtrs, PtrdiffVec &outDiffsList)=0
Called when the manager needs to grow it's memory pool to honour more node requests.
const Vector4 & getCustomParameter(size_t index) const
Gets the custom value associated with this Renderable at the given index.
Definition: OgreRenderable.h:285
@ ID_2D_ARRAY
Definition: OgreScriptCompiler.h:864
map< LwConstString, const HlmsMacroblock * >::type macroblocks
Definition: OgreHlmsJson.h:75
DXGI_RATIONAL RefreshRate
Definition: OgreD3D11LegacySDKEmulation.h:67
Ogre::uint32 tessellation
Definition: OgreHiddenAreaMeshVr.h:62
Codec specialized in loading DDS (Direct Draw Surface) images.
Definition: OgreDDSCodec2.h:53
FFPVertexShaderStage
Definition: OgreShaderFFPRenderState.h:44
Listener * getListener(void) const
Gets the current listener for this object.
Definition: OgreMovableObject.h:537
uint32 getWidth() const
Get the width of this box.
Definition: OgreCommon.h:873
@ PF_R16G16B16A16_SNORM
64-bit pixel format, 16 bits red (signed normalised int), 16 bits blue (signed normalised int),...
Definition: OgrePixelFormat.h:244
HardwareUniformBuffer(HardwareBufferManagerBase *mgr, size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer=false, const String &name="")
Should be called by HardwareBufferManager.
GpuProgramType
Enumerates the types of programs which can run on the GPU.
Definition: OgreGpuProgram.h:49
static bool createPrefab(Mesh *mesh)
If the given mesh has a known prefab resource name (e.g "Prefab_Plane") then this prefab will be crea...
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:356
LinkedSkeletonAnimSourceIterator getLinkedSkeletonAnimationSourceIterator(void) const
Get an iterator over the linked skeletons used as animation sources.
Definition: OgreHlmsJson.h:41
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.
void _setCurrentRenderStage(IlluminationRenderStage stage)
Definition: OgreSceneManager.h:2713
virtual void translate(const Vector3 &d, TransformSpace relativeTo=TS_PARENT)
Moves the OldNode along the Cartesian axes.
GLSLESProgramManagerCommon(void)
virtual GL3PlusFrameBufferDescMap & _getFrameBufferDescMap(void)
Definition: OgreGL3PlusRenderSystem.h:252
Definition: OgreOSXCocoaView.h:36
Definition: Vao/OgreGL3PlusVertexArrayObject.h:39
ShaderProgramWriterGLSLESFactory()
Definition: OgreShaderGLSLESProgramWriter.h:142
#define OGRE_OFFLINE_PROFILER_NAME_STR_LENGTH
Definition: OgreOfflineProfiler.h:13
void operator=(const AtomicScalar< T > &cousin)
Definition: OgreAtomicScalar.h:419
void startRendering(void)
Starts / restarts the automatic rendering cycle.
virtual VertexBufferBinding * createVertexBufferBinding(void)
Creates a new VertexBufferBinding.
SceneFlags
Definition: OgreSceneFormatBase.h:48
unsigned short uint16
Definition: OgrePlatform.h:455
const vector< Vector2 >::type & getSubsamples(void) const
Definition: OgreIrradianceField.h:120
bool isLocked(void) const
uint32 *RESTRICT_ALIAS visibilityMask
Copy from lights[i]->getVisibilityFlags(), this copy avoids one level of indirection.
Definition: OgreCommon.h:687
GeometryAllocatedObject EdgeDataAlloc
Definition: OgreMemoryAllocatorConfig.h:308
CategorisedAlignAllocPolicy< Ogre::MEMCATEGORY_SCENE_CONTROL > SceneCtlAlignPolicy
Definition: OgreMemoryAllocatorConfig.h:275
@ PFF_SIGNED
This integer format is signed.
Definition: OgrePixelFormat.h:388
RenderWindow * _initialise(bool autoCreateWindow, const String &windowTitle="OGRE Render Window")
Start up the renderer using the settings selected (Or the defaults if none have been selected).
virtual void execute(const Camera *lodCamera)
KeyFrameRigVec & _getKeyFrames(void)
Definition: OgreSkeletonTrack.h:99
virtual const String & getType() const
const TextureAtlasTablePtr & getTextureAtlasTable(const String &textureName) const
Retrieve the texture atlas table information for a given texture.
static void Sleep(uint32 milliseconds)
Sleeps for a minimum of the specified time of milliseconds.
void doSet(void *target, const String &val)
@ SPC_TEXTURE_COORDINATE1
Definition: OgreShaderParameter.h:289
void setTexture(uint8 texUnit, TexturePtr &newTexture, const UvAtlasParams &atlasParams)
Sets a new texture for rendering.
ParallaxCorrectedCubemap(IdType id, Root *root, SceneManager *sceneManager, const CompositorWorkspaceDef *probeWorkspaceDef, uint8 reservedRqId, uint32 proxyVisibilityMask)
ValueType any_cast(const Any &operand)
Definition: OgreAny.h:397
int DefaultScreen(NativeDisplayType nativeDisplayType)
@ ID_SRC_DIFFUSE
Definition: OgreScriptCompiler.h:774
ParallaxCorrectedCubemapAuto(IdType id, Root *root, SceneManager *sceneManager, const CompositorWorkspaceDef *probeWorkspaceDef)
void setPaused(bool bPaused)
Pauses collection of samples.
@ VAT_NONE
No animation.
Definition: OgreAnimationTrack.h:592
PagedWorld * loadWorld(const String &filename, const String &name=BLANKSTRING)
Load a new PagedWorld from a file.
VertexBoneAssignment(uint32 _vertexIndex, uint16 _boneIndex, Real _weight)
Definition: OgreVertexBoneAssignment.h:69
Definition: OgreObjCmdBuffer.h:135
uint32 getHeight(void) const
Gets the height of the image in pixels.
static const IdString NeedsViewDir
Definition: OgreHlmsPbs.h:573
LodCollapserPtr collapser
Definition: OgreLodWorkQueueRequest.h:49
CompositorWorkspace * getWorkspace(void)
Returns our parent workspace.
Definition: OgreCompositorNode.h:347
void _process(LodConfig &lodConfig, LodCollapseCost *cost, LodData *data, LodInputProvider *input, LodOutputProvider *output, LodCollapser *collapser)
void reorganiseBuffers(VertexDeclaration *newDeclaration, const BufferUsageList &bufferUsage, HardwareBufferManagerBase *mgr=0)
Reorganises the data in the vertex buffers according to the new vertex declaration passed in.
T operator+=(const T &add)
Definition: OgreAtomicObject.h:101
void setMacroblock(const HlmsMacroblock ¯oblock, bool casterBlock=false)
Sets a new macroblock that matches the same parameter as the input.
Ogre::FloatRect UVRect
Definition: OgreFont.h:139
D3D11HardwareIndexBuffer(HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage, D3D11Device &device, bool useSystemMem, bool useShadowBuffer)
vector< UavBufferPacked * >::type UavBufferPackedVec
Definition: OgreCompositorManager2.h:55
OperandVector & getOperandList()
Get a list of parameters this function invocation will use in the function call as arguments.
Definition: OgreShaderFunctionAtom.h:204
@ PT_PLANE
Definition: OgreSceneManager.h:1400
bool isMatInitialised(void) const
Returns true if a material has been assigned to the submesh, otherwise returns false.
Real getValueImpl(const MovableObject *movableObject, const Camera *camera) const
bool operator==(const MapRange &rhs) const
comparison operator for equality
Definition: OgreIteratorRange.h:265
GLuint vertexBufferVbo
Definition: OgreGLES2VaoManager.h:100
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:164
@ ID_TESSELLATION_HULL_PROGRAM_REF
Definition: OgreScriptCompiler.h:1029
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.
@ ACT_PSSM_FADE
PSSM fade point (pixel depth must be lower) in projection space.
Definition: OgreGpuProgramParams.h:1392
void doSet(void *target, const String &val)
virtual void destroyAnimationState(const String &name)
Destroys an AnimationState.
Atom mAtomState
Definition: OgreX11EGLSupport.h:162
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
uint16 mShaderTypeTexCount[NumShaderTypes]
Render-System specific data.
Definition: OgreDescriptorSetTexture.h:317
virtual const Chunk * readChunkBegin()
Reads the start of the next chunk in the file.
virtual void _hlmsSamplerblockDestroyed(HlmsSamplerblock *block)
Definition: OgreRenderSystem.h:835
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:83
Definition: OgreImageResampler.h:180
Definition: OgreAndroidLogListener.h:35
RenderTexture for GL FBO.
Definition: OgreGL3PlusFBORenderTexture.h:41
FastArray()
Definition: OgreFastArray.h:100
unsigned short ushort
Definition: OgrePrerequisites.h:144
Vector3 getViewSideVector() const
@ OT_PATCH_16_CONTROL_POINT
Definition: OgreHlmsPso.h:75
void _setReverseBindPtr(const ArrayMatrixAf4x3 *ptr)
Definition: OgreBone.h:133
union _zzip_plugin_io zzip_plugin_io_handlers
Definition: OgreZip.h:41
size_t getMultiSourceId(void)
Definition: OgreVertexBufferPacked.h:121
virtual bool queryResult(SceneQuery::WorldFragment *fragment, Real distance)=0
Called when a world fragment is intersected by the ray.
virtual GL3PlusContext * clone() const =0
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
@ LBS_CURRENT
the colour as built up from previous stages
Definition: OgreBlendMode.h:115
virtual HlmsCache preparePassHash(const Ogre::CompositorShadowNode *shadowNode, bool casterPass, bool dualParaboloid, SceneManager *sceneManager)
Called every frame by the Render Queue to cache the properties needed by this pass.
virtual void reposition(int32 left, int32 top)
void setAnimatedTextureName(const String &name, unsigned int numFrames, Real duration=0)
Sets the names of the texture images for an animated texture.
ConstVectorIterator< AutoConstantList > AutoConstantIterator
Definition: OgreGpuProgramParams.h:1982
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Notifies the ultimate texture owner the buffer changed.
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
MapIterator< NormalsMap > NormalsIterator
An iterator over the vertex offsets.
Definition: OgrePose.h:78
void useDefaultDatablockFrom(HlmsTypes type)
Definition: OgreHlmsManager.h:300
Definition: OgreStagingTextureManager.h:40
void resize(size_t newSize, const T &value=T())
Definition: OgreStackVector.h:218
const_reference back() const
Definition: OgreMain/include/OgreSmallVector.h:230
virtual void advanceFrame(void)
uint8 getDebugTessellation(void) const
VertexData * _getHardwareVertexAnimVertexData(void)
Advanced method to get the hardware morph vertex information.
size_t currentVertexCount()
Get the current count of vertices when building a new buffer.
static const IdString DetailOffsets2
Definition: OgreHlmsPbs.h:504
bool isInitialised(void)
Definition: OgreGL3PlusVertexArrayObject.h:50
Definition: OgreCompositorPassDef.h:188
unsigned short _rationaliseBoneAssignments(size_t vertexCount, VertexBoneAssignmentList &assignments)
Rationalises the passed in bone assignment list.
uint8 operationType
Definition: OgreCbDrawCall.h:92
virtual ~ArchiveManager()
Default destructor.
Vector3 transformAffine(const Vector3 &v) const
3-D Vector transformation specially for an affine matrix.
Definition: OgreMatrix4.h:669
virtual void removeAllElements(void)
Remove all elements.
@ ANT_OBJECT
Definition: OgreScriptCompiler.h:83
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.
Interface definition for factories of HighLevelGpuProgram.
Definition: OgreHighLevelGpuProgramManager.h:47
@ SPC_POSTOCAMERA_WORLD_SPACE
View vector in world space.
Definition: OgreShaderParameter.h:118
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...
virtual void _descriptorSetTexture2Created(DescriptorSetTexture2 *newSet)
Definition: OgreRenderSystem.h:838
virtual void destroyAllContentCollections()
Destroy all PageContentCollections within this page.
virtual ~GL3PlusRenderToVertexBuffer()
void _update(void)
Will call the renderSystem which in turns calls _updateImplementation.
@ SHADOWMAP_FOCUSED
Definition: OgreCompositorShadowNodeDef.h:51
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 ...
bool isClosed(void) const
Indicates whether the window has been closed by the user.
static CommandBufferExecuteFunc execute_drawV1StripNoBaseInstance
Definition: OgreCommandBuffer.h:96
Real getLength(void) const
Gets the total length of the animation.
virtual void setSource(const String &source, const String &debugFilename)
Sets the source assembly for this program from an in-memory string, while providing a path to a file,...
virtual bool isReadOnly() const
Reports whether this Archive is read-only, or whether the contents can be updated.
Definition: OgreArchive.h:132
@ ID_GREATER
Definition: OgreScriptCompiler.h:683
void extractFrom(const VertexData *sourceData)
Utility method, extract info from the given VertexData.
@ RSC_TEXTURE_COMPRESSION_VTC
Supports compressed textures in the VTC format.
Definition: OgreRenderSystemCapabilities.h:144
@ PFG_RGBA16_UNORM
Definition: OgrePixelFormatGpu.h:60
TempBlendedBufferInfo * _getSkelAnimTempBufferInfo(void)
Advanced method to get the temp buffer information for software skeletal animation.
void makeFloor(const ArrayVector3 &cmp)
Sets this vector's components to the minimum of its own and the ones of the passed in vector.
static const IdString DetailOffsetsN3
Definition: OgreHlmsPbsMobile.h:135
@ DomainShader
Definition: OgreCommon.h:348
VertexElementSemantic semantic
Definition: OgreVertexArrayObject.h:184
TextureLocation createOrRetrieveTexture(const String &aliasName, const String &texName, TextureMapType mapType, uint32 uniqueSpecialId=0, Image *imgSource=0)
See other overload.
void setIndexOfRefraction(const Vector3 &refractionIdx, bool separateFresnel)
Calculates fresnel (F0 in most books) based on the IOR.
static const IdString UvCount7
Definition: OgreHlms.h:841
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 doSet(void *target, const String &val)
@ PT_ORTHOGRAPHIC
Definition: OgreFrustum.h:64
~EntityFactory()
Definition: OgreEntity.h:745
struct _OgreVolumeExport Ogre::Volume::DualCell DualCell
To store the generated dual cells in a vector.
Definition: OgreRenderTarget.h:78
@ StableSort
Definition: OgreRenderQueue.h:116
Definition: OgreAndroidEGLSupport.h:36
void reset(bool deleteAll)
Clears the profiler statistics.
virtual void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
@ PBSM_BLEND_OVERLAY
Definition: OgreHlmsPbsPrerequisites.h:88
void setPosition(const Vector3 &position)
Set the position of the billboard.
@ ACT_LIGHT_DIRECTION
A light direction in world space (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:1057
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:140
virtual ~MaterialBucket()
void operator=(const StackVector< T, C > ©)
Definition: OgreStackVector.h:75
bool registerProgramFactory(const String &syntaxCode, CreateGpuProgramCallback createFn)
void _genMipmaps(IDirect3DBaseTexture9 *mipTex)
Internal function to update mipmaps on update of level 0.
const String & getType(void) const
Get the type of the object to be created.
virtual void getFormatsForPso(PixelFormat outFormats[OGRE_MAX_MULTIPLE_RENDER_TARGETS], bool outHwGamma[OGRE_MAX_MULTIPLE_RENDER_TARGETS]) const
Real * mUpperDistance[2]
Upper distance to still render. Ours is mUpperDistance[mIndex].
Definition: OgreObjectData.h:85
@ ACT_PSSM_BLENDS
Array of PSSM blend points (pixel depth must be lower) in projection space.
Definition: OgreGpuProgramParams.h:1387
ControllerValue wrapper class for AnimationState.
Definition: OgreAnimationState.h:280
static void shutdown(void)
Shutdown & destroy the vertex programs.
virtual void waitForSpecificFrameToFinish(uint32 frameCount)
See VaoManager::waitForSpecificFrameToFinish.
void removeAllEmitters(void)
Removes all the emitters from this system.
General purpose response structure.
Definition: OgreWorkQueue.h:129
void getCameraToViewportRay(Real screenx, Real screeny, Ray *outRay) const
Gets a world space ray as cast from the camera through a viewport position.
void resetShadowFarDistance(void)
Tells the light to use the shadow far distance of the SceneManager.
void setIndexBufferPolicy(BufferType bufferType, bool shadowBuffer=false)
Sets the policy for the index buffers to be used when loading this Mesh.
HighLevelGpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
static const char * EnvProbeMap
Definition: OgreHlmsPbs.h:467
Definition: OgreHlmsCommon.h:49
void setConstant(size_t index, const int *val, size_t count)
Sets a multiple value constant integer parameter to the program.
bool isCurrentShadowNodeReused(void) const
Definition: OgreSceneManager.h:2413
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
@ ACT_LIGHT_POSITION_OBJECT_SPACE_ARRAY
Array of light positions in object space (count set by extra param)
Definition: OgreGpuProgramParams.h:1086
bool needsDifferentView(void) const
MeshSerializerListener * getListener()
Gets the listener used to control mesh loading through the serializer.
static LogManager & getSingleton(void)
Override standard Singleton retrieval.
OperationType operationType
The render operation type used to render this submesh.
Definition: OgreSubMesh.h:78
static ParameterPtr createInColor(int index)
@ INDEX_BUFFER
Definition: OgreD3D11HardwareBuffer.h:46
BufferPacked * bufferPacked
Definition: OgreCbShaderBuffer.h:40
uint32 poolType
Definition: OgreVaoManager.h:167
@ LML_NORMAL
Definition: OgreLog.h:73
const CameraList & getCameras() const
Returns a const version of the camera list.
Definition: OgreSceneManager.h:2280
const ShaderParameterList & getLocalParameters() const
Return a list of local parameters.
Definition: OgreShaderFunction.h:140
String getName(const HlmsMacroblock *macroblock) const
void doSet(void *target, const String &val)
virtual_l2 void _setDerivedPosition(const Vector3 &pos)
Sets the final world position of the node directly.
const SceneNode * getInternalCubemapProbeSceneNode(void) const
const float * getSphericalHarmonics(void) const
Definition: OgreSceneManager.h:1653
vector< CubemapProbe * >::type CubemapProbeVec
Definition: OgreParallaxCorrectedCubemapBase.h:40
IDirect3DSurface9 * getDepthBuffer(D3D9RenderWindow *renderWindow)
void setInheritOrientation(bool inherit)
Tells the Bone whether it should inherit orientation from it's parent node.
void setTrylockMutexFailureLimit(uint32 tryLockFailureLimit)
The main thread tries to acquire a lock from the background thread, do something very quick,...
virtual unsigned short getNumBones(void) const
Returns the number of bones in this skeleton.
@ PFG_NV12
Definition: OgrePixelFormatGpu.h:166
Real getWeight(void) const
Gets the weight (influence) of this animation.
pointer data()
data - Return a pointer to the vector's buffer, even if empty().
Definition: OgreMain/include/OgreSmallVector.h:207
virtual void read(Sphere *sphere, size_t count=1)
void destroyContentCollection(PageContentCollection *coll)
Destroy an instance of PageContentCollection.
bool isIndexBufferShadowed(void) const
Gets whether or not this meshes index buffers are shadowed.
Definition: OgreMesh2.h:400
virtual void write(const Vector2 *vec, size_t count=1)
virtual void _clearStateAndFlushCommandBuffer(void)
On D3D11 calls ClearState followed by Flush().
static Real RadiansToAngleUnits(Real radians)
Convert from radians to the current AngleUnit .
void _writeRawConstant(size_t physicalIndex, int val)
Write a single integer parameter to the program.
static ArrayMaskR getMask(bool booleans[4])
vector< char * >::type MemoryPoolVec
Definition: OgreArrayMemoryManager.h:39
NodeMemoryManager * getTwin() const
Note the return value can be null.
Definition: OgreNodeMemoryManager.h:87
static const IdString HighQuality
Definition: OgreHlms.h:927
uint8 getColourSamples(void) const
Definition: OgreCommon.h:982
void addConfig(void)
Add any special config values to the system.
virtual ~KeyFrame()
Definition: OgreKeyFrame.h:65
static const IdString DiffuseMapCount8
Definition: OgreHlmsUnlitMobile.h:116
void removeWorkspace(CompositorWorkspace *workspace)
Removes the given workspace. Pointer is no longer valid after this call.
size_t offset
Definition: OgreVaoManager.h:168
void _applyBaseKeyFrame()
Internal method to adjust keyframes relative to a base keyframe (.
Quaternion orientation
Definition: OgreStaticGeometry.h:168
size_t numBonesInLevel
Definition: OgreSkeletonDef.h:78
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:252
KeyFrame * _clone(AnimationTrack *newParent) const
Clone a keyframe (internal use only)
Plugin instance for GL ES 2 Manager.
Definition: OgreGLES2Plugin.h:39
Sphere(const Vector3 ¢er, Real radius)
Constructor allowing arbitrary spheres.
Definition: OgreSphere.h:62
void setCreateShaderOverProgrammablePass(bool value)
Sets whether shaders are created for passes with shaders.
Definition: OgreShaderGenerator.h:482
MeshSerializerImpl_v2_1_R0(VaoManager *vaoManager)
virtual uint32 fillBuffersForV1(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)
list< BySkeletonDef >::type BySkeletonDefList
Definition: OgreSkeletonAnimManager.h:106
std::pair< bool, Real > intersects(const Plane &p) const
Tests whether this ray intersects the given plane.
Definition: OgreRay.h:81
virtual Real getDefaultHeight(void) const
See setDefaultDimensions - this gets 1 component individually.
void setVertexBufferPolicy(HardwareBuffer::Usage usage, bool shadowBuffer=false)
Sets the policy for the vertex buffers to be used when loading this Mesh.
D3D11Driver * item(size_t index)
does not include hidden drivers like NVPerfHUD
@ VAT_MORPH
Morph animation is made up of many interpolated snapshot keyframes.
Definition: OgreAnimationTrack.h:594
Ogre assumes that there are separate vertex and fragment programs to deal with but GLSL ES has one pr...
Definition: OgreGLSLESProgramPipelineManager.h:54
@ BBT_ORIENTED_SELF
Billboards are oriented around their own direction vector (their own Y axis) and only rotate around t...
Definition: OgreBillboardSet.h:84
virtual uint16 getDepthBufferPoolId(void) const
void addFactory(HighLevelGpuProgramFactory *factory)
Add a new factory object for high-level programs of a given language.
bool exists(const String &filename)
Find out if the named file exists (note: fully qualified filename required)
NULLTexBufferPacked(size_t internalBufStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, NULLBufferInterface *bufferInterface, PixelFormatGpu pf)
static String getName(const HlmsSamplerblock *samplerblock)
void _setDepthBias(float constantBias, float slopeScaleBias)
See RenderSystem.
void _notifyStagingBufferEnteredZeroRef(StagingBuffer *stagingBuffer)
void setVertexProgramConstantFloatCount(ushort c)
The number of floating-point constants vertex programs support.
Definition: OgreRenderSystemCapabilities.h:714
virtual ~ResourceBackgroundQueue()
size_t vertexCount
Definition: OgreLodBuffer.h:52
static const IdString NormalWeightDetail3
Definition: OgreHlmsPbs.h:499
GL3PlusAsyncTicket(BufferPacked *creator, StagingBuffer *stagingBuffer, size_t elementStart, size_t elementCount)
virtual void startup(bool forceRestart=true)
Start up the queue with the options that have been set.
void setGeometryProgramConstantIntCount(ushort c)
The number of integer constants geometry programs support.
Definition: OgreRenderSystemCapabilities.h:734
GLSLShader * vertexShader
Definition: OgreGL3PlusHlmsPso.h:63
DepthLevelInfo()
Definition: OgreSkeletonDef.h:79
Codec specialized in loading PVRTC (PowerVR) images.
Definition: OgrePVRTCCodec.h:47
Definition: OgreD3D11AmdExtension.h:43
static SkeletonManager * getSingletonPtr(void)
Override standard Singleton retrieval.
SubRenderStateAccessorPtr getAccessor() const
Return the accessor object to this sub render state.
@ PFG_IA44
Definition: OgrePixelFormatGpu.h:175
void setHidden(bool hidden)
RenderWindow::setHidden
static TerrainGlobalOptions & getSingleton(void)
Override standard Singleton retrieval.
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
uint32 firstVertexIndex
Definition: OgreCbDrawCall.h:46
void removeEffect(const TextureEffectType type)
Removes a single effect applied to this texture layer.
@ SPC_POSTOLIGHT_OBJECT_SPACE2
Definition: OgreShaderParameter.h:129
uint32 getWidth() const
Gets the width of this buffer.
Definition: OgreHardwarePixelBuffer.h:189
void * getDataPtr(size_t offset) const
Definition: OgreGL3PlusDefaultHardwareBufferManager.h:92
void swapBuffers()
Swaps the frame buffers to display the next frame.
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
virtual void setUseAccurateFacing(bool acc)
Sets whether or not billboards should use an 'accurate' facing model based on the vector from each bi...
Definition: OgreBillboardSet.h:686
@ PF_BC6H_UF16
DDS (DirectDraw Surface) BC6H format (unsigned 16 bit float)
Definition: OgrePixelFormat.h:218
void performStoreActions(uint32 entriesToFlush)
void merge(const AxisAlignedBox &rhs)
Merges the passed in box into the current box.
Definition: OgreAxisAlignedBox.h:358
virtual void setDesiredFloatBitDepth(ushort bits)
Sets desired bit depth for float pixel format textures.
@ ENDIAN_BIG
Use big endian (0x1000 is serialised as 0x10 0x00)
Definition: OgreSerializer.h:70
pointer allocate(size_type count, typename std::allocator< void >::const_pointer ptr=0)
memory allocation (elements, used by STL)
Definition: OgreMemorySTLAllocator.h:129
T * addCommand(void)
Creates/Records a command already casted to the typename.
Definition: OgreCommandBuffer.h:107
LPD3DXBUFFER getMicroCode()
IdString mCameraName
Definition: OgreCompositorPassComputeDef.h:113
EdgeData * getEdgeList(void)
Overridden from MovableObject.
AnimationStateSet * getAllAnimationStates(void) const
For entities based on animated meshes, gets the AnimationState objects for all animations.
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:395
Handles the management of mesh resources.
Definition: OgreMeshManager2.h:55
T ** GetAddressOf() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:207
@ ID_DEPTH_VALUE
Definition: OgreScriptCompiler.h:952
virtual ConfigOptionMap & getConfigOptions(void)=0
Returns the details of this API's configuration options.
GLuint getGLProgramPipelineHandle() const
GL Program Pipeline Handle.
Definition: OgreGLSLESProgramPipeline.h:78
static OrientationMode getDefaultOrientationMode()
Get the initial orientation mode of viewports.
@ SPC_POSTOLIGHT_TANGENT_SPACE4
Definition: OgreShaderParameter.h:161
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:144
FastArray< Real > LodValueArray
Definition: OgreMesh2.h:94
uint32 getTexBufferAlignment(void) const
Definition: OgreVaoManager.h:411
static size_t RESOURCE_SYSTEM_NUM_REFERENCE_COUNTS
The number of reference counts held per resource by the resource system.
Definition: OgreResourceGroupManager.h:292
virtual void _renderNoBaseInstance(const v1::CbDrawCallIndexed *cmd)
@ DXGI_ALPHA_MODE_UNSPECIFIED
Definition: OgreD3D11LegacySDKEmulation.h:43
This class is internal and should not be interfaced directly by users.
Definition: OgreInternalCubemapProbe.h:47
void setVisibilityFlags(uint32 flags)
Set the visibility flags for this terrain.
Definition: OgreTerrain.h:1359
virtual void _hlmsPipelineStateObjectDestroyed(HlmsPso *pso)
virtual void regressFrame(void)
GLES2Context * clone() const
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
static const IdString TransparentMode
Definition: OgreHlmsPbs.h:481
const Ogre::String getConfigFilePath(Ogre::String filename) const
Search for the given config file in the user's home path.
Definition: OgreFileSystemLayer.h:74
virtual const String & getType() const
Degree(Real d=0)
Definition: OgreMath.h:100
A sampler block contains settings that go hand in hand with a texture, and thus are common to many te...
Definition: OgreGLES2HlmsSamplerblock.h:49
static Vector4 getVector4(uint8 const *srcData, VertexElement2 vertexElement)
Definition: OgreVertexBufferDownloadHelper.h:128
void setSelfIllumination(Real red, Real green, Real blue)
Sets the amount of self-illumination an object has.
NOTE FOR D3D12 PORTING: The GL3Plus implementation should be used as reference, since it is much lowe...
Definition: OgreD3D11StagingBuffer.h:49
Definition: OgreWin32EGLContext.h:38
virtual void bindBufferHS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
void _determineAnimationTypes(void) const
Internal method which, if animation types have not been determined, scans any vertex animations and d...
virtual bool getWorkersCanAccessRenderSystem() const
Get whether worker threads will be allowed to access render system resources.
int(* XErrorHandler)(Display *, XErrorEvent *)
Definition: OgreX11EGLSupport.h:119
Definition: OgreX11EGLSupport.h:79
bool isInitialised(void)
Definition: OgreGLES2VertexArrayObject.h:50
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
Definition: OgreNULLRenderWindow.h:52
void setMaxClampedAbsoluteDensity(Real maxClampedAbsoluteDensity)
Sets the maximum absolute density value to be written into the data when combining,...
void _markBuffersUsedForAnimation(void)
Mark all vertex data as animated.
@ TS_LOCAL
Transform is relative to the local space.
Definition: OgreOldNode.h:75
virtual_l1 void tangent(const Vector3 &tan)
Add a vertex tangent to the current vertex.
D3D11RenderWindowBase(D3D11Device &device)
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 setInheritParentEntityScale(bool inherit)
Tells the TagPoint whether it should inherit scaling factors from it's parent entity.
map< unsigned short, OldNodeAnimationTrack * >::type OldNodeTrackList
Definition: OgreAnimation.h:400
PbsTextureTypes
Definition: OgreHlmsPbsPrerequisites.h:56
GLuint getShaderID(void) const
Get the OGRE assigned shader ID.
Definition: OgreGLSLShader.h:210
Abstract class defining the interface to be implemented by particle affectors.
Definition: OgreParticleAffector.h:65
GLuint getGLBufferId(void) const
Definition: OgreGLES2HardwareIndexBuffer.h:79
GLint getGLBufferBinding(void) const
Definition: OgreGL3PlusHardwareShaderStorageBuffer.h:69
Handles the WorkQueue management of the chunks.
Definition: OgreVolumeChunkHandler.h:90
void build(bool parentVisible)
Build this region.
bool createShaderBasedTechnique(const String &materialName, const String &groupName, const String &srcTechniqueSchemeName, const String &dstTechniqueSchemeName, bool overProgrammable=false)
Create shader based technique from a given technique.
bool isAttributeValid(VertexElementSemantic semantic, uint index)
Is a non-standard attribute bound in the linked code?
virtual ~D3D11StagingTexture()
ArrayMemoryManager(size_t const *elementsMemSize, CleanupRoutines const *initRoutines, CleanupRoutines const *cleanupRoutines, size_t numElementsSize, uint16 depthLevel, size_t hintMaxNodes, size_t cleanupThreshold=100, size_t maxHardLimit=MAX_MEMORY_SLOTS, RebaseListener *rebaseListener=0)
Constructor.
void removeTranslatorManager(ScriptTranslatorManager *man)
Removes the given translator manager from the list of managers.
SharedPtr< Mesh > MeshPtr
Definition: OgrePrerequisites.h:446
ShadowFilter getShadowFilter(void) const
Definition: OgreHlmsPbs.h:328
@ VertexShader
Definition: OgreCommon.h:344
String aliasName
Definition: OgreTextureGpuManager.h:250
Vector3 dst
Definition: OgreLodConfig.h:41
virtual void requestResolution(uint32 width, uint32 height)
Requests a change in resolution.
bool isInitialized(void) const
virtual bool getDualGridVisible(void) const
Gets whether the debug visualization entity of the dualgrid is visible.
bool unregisterProgramFactory(const String &syntaxCode)
const Vector3 getCorner4(void) const
Gets the coordinate of corner 4.
Definition: OgreVolumeOctreeNode.h:481
FFPTexturing()
Class default constructor.
virtual Camera * createCamera(const String &name, bool notShadowCaster=true, bool forCubemapping=false)
Creates a camera to be managed by this scene manager.
static const IdString DisableStage
Definition: OgreHlms.h:930
void setAutoUpdate(bool autoUpdate)
Set the auto update state of this billboard set.
virtual AxisAlignedBoxSceneQuery * createAABBQuery(const AxisAlignedBox &box, uint32 mask=QUERY_ENTITY_DEFAULT_MASK)
Creates an AxisAlignedBoxSceneQuery for this scene manager.
void updateAllAnimations()
Updates all skeletal animations in the scene.
GL3PlusUavBufferPacked(size_t internalBufStartBytes, size_t numElements, uint32 bytesPerElement, uint32 bindFlags, void *initialData, bool keepAsShadow, VaoManager *vaoManager, GL3PlusBufferInterface *bufferInterface)
uint32 firstVertexIndex
Definition: OgreCbDrawCall.h:108
bool getAutoBuildEdgeLists(void) const
Sets whether or not this Mesh should automatically build edge lists when asked for them,...
Definition: OgreMesh.h:926
Real getShadowFarDistanceSquared(void) const
IndexBufferPacked(size_t internalBufferStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface)
Definition: OgreIndexBufferPacked.h:45
void setListener(HlmsListener *listener)
Sets a listener to extend an existing Hlms implementation's with custom code, without having to rewri...
TargetMode getTargetMode(void) const
Get the target mode.
Definition: OgreAnimationTrack.h:667
void destroyLog(Log *log)
Closes and removes a log.
DepthBuffer * _createDepthBufferFor(RenderTarget *renderTarget, bool exactMatchFormat)
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.
virtual uint32 fillBuffersFor(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, uint32 lastTextureHash)
Fills the constant buffers.
TriangleList triangles
Main triangles array, stores all triangles of this edge list.
Definition: OgreEdgeListBuilder.h:126
virtual bool getUseTextureCoords(void) const
Gets whether texture coordinate information should be included in the final buffers generated.
Definition: OgreBillboardChain.h:149
void _disableAnimation(SkeletonAnimation *animation)
Internal use. Disables given animation. Input should belong to us and already being animated.
void baseVertexPointerToElement(void *pBase, void **pElem) const
Adjusts a pointer to the base of a vertex to point at this element.
Definition: OgreHardwareVertexBuffer.h:200
const PassIterator getPassIterator(void)
Gets an iterator over the passes in this Technique.
bool equal(const iterator_range &other) const
comparison for equality
Definition: OgreIteratorRange.h:93
void encodeToFile(MemoryDataStreamPtr &input, const String &outFileName, CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
size_t tell(void) const
Returns the current byte offset from beginning.
virtual void destroyDevice(ID3D11Device *device)
const CompositorManager2 * getCompositorManager() const
Gets the compositor manager (const version)
void _prepareForShadowMapping(bool forceSameBuffers)
virtual void setPolygonModeOverrideable(bool override)
Sets whether this pass's chosen detail level can be overridden (downgraded) by the camera setting.
Definition: OgrePass.h:594
void setMetalness(float metalness)
Sets the metalness in a metallic workflow.
bool isVSyncEnabled() const
Indicates whether vertical sync is activated for the window.
void destroyInstance(Archive *arch)
Destroys an object which was created by this factory.
Definition: OgreAPKFileSystemArchive.h:96
virtual ~GLES2RenderToVertexBuffer()
D'tor.
void setShadowMapSupportedLightTypes(uint8 types)
Definition: OgreCompositorPassDef.h:283
virtual void destroyCamera(Camera *cam)
Removes a camera from the scene.
void setIterationInterval(Real iterationInterval)
Sets a 'iteration interval' on this particle system.
UserObjectBindings & getUserObjectBindings()
Return an instance of user objects binding associated with this class.
Definition: OgreOldNode.h:741
D3D11StereoDriverImpl()
Definition: OgreD3D11StereoDriverImpl.h:44
FilterOptions
Filtering options for textures / mipmaps.
Definition: OgreCommon.h:216
size_t capacity() const
Return maximum number of bits this bitset can hold.
Definition: OgreBitset.h:54
void load(const DataStreamPtr &stream, const String &separators="\t:=", bool trimWhitespace=true)
load from a data stream
Vector4 getUavSize(size_t index) const
virtual void getCustomAttribute(IdString name, void *pData)
Definition: OgreTextureGpu.h:550
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.
void initConfigOptions(void)
ArrayQuaternion Exp(void) const
@ ID_UV
Definition: OgreScriptCompiler.h:1013
bool resourceExists(const String &group, const String &filename)
Find out if the named file exists in a group.
virtual String getType() const
Returns the type of the codec as a String.
ushort getNumTextureUnits(void) const
Returns the number of texture units the current output hardware supports.
Definition: OgreRenderSystemCapabilities.h:551
@ LT_POINT
Point light sources give off light equally in all directions, so require only position not direction.
Definition: OgreLight.h:87
uint8 atlasId
What texture atlas to use.
Definition: OgreCompositorShadowNode.h:367
@ ID_TESSELLATION_HULL_PROGRAM
Suport for shader model 5.0.
Definition: OgreScriptCompiler.h:1026
void unnameSubMesh(const String &name)
Removes a name from a SubMesh.
Definition: OgreGLES2TexBufferEmulatedPacked.h:40
DataStreamPtr encode(MemoryDataStreamPtr &input, CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
int getHighestLodLoaded() const
Definition: OgreTerrain.h:1897
virtual void setTextureType(TextureTypes::TextureTypes textureType)
@ SPC_LIGHTPOSITION_TANGENT_SPACE
Light position in tangent space index 0-7.
Definition: OgreShaderParameter.h:237
bool hasIndependentShadowMappingVaos(void) const
Returns true if the shadow mapping buffers do not just reference the real buffers,...
virtual ~D3D11RenderTexture()
virtual ~RenderSystemCapabilities()
@ ACT_TIME_0_2PI
Single float value, which represents scaled time value [0..2*Pi], which repeats itself based on given...
Definition: OgreGpuProgramParams.h:1223
virtual unsigned short getNumAnimations(void) const =0
Gets the number of animations in this container.
void start(void)
Start anything special.
Utility class which defines the sub-parts of an Item.
Definition: OgreSubItem.h:63
Definition: OgreConstBufferPool.h:158
SharedPtr & operator=(const SharedPtr< Y > &r)
Definition: OgreSharedPtr.h:226
void setNormals(const Vector3 &upperLeft, const Vector3 &bottomLeft, const Vector3 &upperRight, const Vector3 &bottomRight)
virtual void _setTexturesCS(uint32 slotStart, const DescriptorSetTexture *set)
static const IdString DiffuseMapCount14
Definition: OgreHlmsUnlitMobile.h:122
static D3DXMATRIX makeD3DXMatrix(const Matrix4 &mat)
void updatePoint(unsigned short index, const Quaternion &value)
Updates a single point in the spline.
BuildLightListRequest(size_t _startLightIdx)
Definition: OgreSceneManager.h:171
void destroyRenderWindow(RenderWindow *pWin)
See RenderSystem.
ColourValue mColour
Definition: OgreBillboard.h:86
virtual void define(TerrainGroup *terrainGroup, long x, long y)
Definition: OgreTerrainPagedWorldSection.h:161
static const IdString IdentityViewProj
Definition: OgreHlms.h:829
@ HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE
Combination of HBU_DYNAMIC, HBU_WRITE_ONLY and HBU_DISCARDABLE.
Definition: OgreHardwareBuffer.h:117
virtual ~ControllerFunction()
Definition: OgreController.h:95
virtual void beginProfileEvent(const String &eventName)
This marks the beginning of an event for GPU profiling.
NotPointerAtom * Atom
Definition: OgreX11EGLSupport.h:76
size_t offsetAfterPadding
Definition: OgreGL3PlusVaoManager.h:60
void swapBuffers()
Override needed to deal with FSAA.
Real mTotalTimeToLive
Total Time to live, number of seconds of particles natural life.
Definition: OgreParticle.h:96
virtual void destroyData(PageStrategyData *d)=0
Destroy a PageStrategyData instance containing the data specific to this PageStrategy.
static const IdString DetailOffsetsN
Definition: OgreHlmsPbsMobile.h:131
Slot for a terrain instance, together with its definition.
Definition: OgreTerrainGroup.h:324
TContainer::iterator ContainerIter
Definition: OgreRadixSort.h:91
bool isEmpty() const
Definition: OgreAny.h:111
void getMemoryStats(size_t &outTextureBytesCpu, size_t &outTextureBytesGpu, size_t &outUsedStagingTextureBytes, size_t &outAvailableStagingTextureBytes)
virtual BoneIterator getBoneIterator(void)
Get an iterator over all the bones in the skeleton.
Transform & _getTransform()
Returns a direct access to the Transform state.
Definition: OgreNode.h:253
HlmsCache()
Definition: OgreHlmsCommon.h:201
CubemapProbe(ParallaxCorrectedCubemapBase *creator)
void nodeDettached(BoneTransform &outTransform, size_t depth)
Releases current memory and requests memory from the root level.
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)
~DefaultHardwareVertexBuffer()
@ FOG_EXP2
Fog density increases at the square of FOG_EXP, i.e. even quicker (fog = 1/e^(distance * density)^2)
Definition: OgreCommon.h:243
Vertex cache profiler.
Definition: OgreVertexIndexData.h:331
virtual DataStreamPtr grouplessResourceLoading(const String &name)=0
Gets called when a groupless manager (like TextureGpuManager) loads a resource.
uint8 getRenderQueueGroup(void) const
Get the render queue group that this terrain will be rendered into.
Definition: OgreTerrain.h:1348
@ SCENE_DYNAMIC
Definition: OgreCommon.h:426
const ColourValue & getLightSpecularColour(size_t index) const
Implementation to create the ObjectData variables needed by MovableObjects.
Definition: OgreArrayMemoryManager.h:367
ImageDownsampler2D downscale2x_Signed_X8
Definition: OgreImageDownsampler.h:114
virtual void addConfig()=0
Add any special config values to the system.
Definition: OgreHlmsTexturePack.h:50
Definition: OgreGLXWindow.h:40
virtual void applyDeltaValue(int)
Apply delta value.
Definition: OgreAnimable.h:193
virtual void savingChangeTextureName(String &inOutAliasName, String &inOutTexName)
Gives you a chance to completely change the name of the texture when saving a material.
Definition: OgreHlmsJson.h:66
D3D11TexBufferPacked(size_t internalBufStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface, PixelFormatGpu pf, bool bIsStructured, D3D11Device &device)
static ThreadHandlePtr CreateThread(THREAD_ENTRY_POINT entryPoint, size_t threadIdx, void *param)
Creates and executes a new thread.
void loadImage(const String &filename, const String &groupName)
Load an image into this blend layer.
virtual const Quaternion & getOrientation() const
Returns a quaternion representing the OldNodes orientation.
@ SpecularWorkflow
Specular workflow.
Definition: OgreHlmsPbsDatablock.h:199
void moveNext()
Moves the iterator on one element.
Definition: OgreIteratorWrapper.h:104
bool isValid(void) const
Only valid workspaces can update without crashing.
Definition: OgreCompositorWorkspace.h:167
virtual const Chunk * getCurrentChunk() const
Get the definition of the current chunk being read (if any).
virtual void flushUAVs(void)
Forces to take effect all the queued UAV binding requests.
@ NumShaderTypes
Definition: OgreCommon.h:349
bool isPoseAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform pose animation.
virtual void resourceLoadEnded(void)=0
This event is fired when the resource has been loaded.
static const Matrix3 ZERO
Definition: OgreMatrix3.h:260
virtual void endProfileEvent(void)
Ends the currently active GPU profiling event.
void setPointSize(Real ps)
Sets the point size properties for every Pass in this Technique.
D3D11DepthTexture(bool shareableDepthBuffer, ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, D3D11Device &device)
constructor
const GpuProgramParameters_AutoConstantEntry * findDoubleAutoConstantEntry(size_t logicalIndex)
Finds an auto constant that's affecting a given logical parameter index for double-point values.
static D3DSAMPLERSTATETYPE get(FilterType ft)
return a D3D9 state type for Ogre FilterType value
static void WaitForThreads(const ThreadHandleVec &threadHandles)
virtual bool resourceExists(ResourceHandle handle)
Returns whether a resource with the given handle exists in this manager.
Definition: OgreResourceManager.h:389
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
virtual void copyFrom(const HardwareSkinningTechnique *hardSkin)
void removeAllTemplates(bool deleteTemplate=true)
Removes a specified template from the ParticleSystemManager.
virtual void setFullscreen(bool fullscreen, uint width, uint height)
Alter fullscreen mode options.
CullFrustumRequest(uint8 _firstRq, uint8 _lastRq, bool _casterPass, bool _addToRenderQueue, bool _cullingLights, const ObjectMemoryManagerVec *_objectMemManager, const Camera *_camera, const Camera *_lodCamera)
Definition: OgreSceneManager.h:120
virtual void _setTextureMatrix(size_t unit, const Matrix4 &xform)=0
Sets the texture coordinate transformation matrix for a texture unit.
@ TEXCALC_NONE
No calculated texture coordinates.
Definition: OgreRenderSystem.h:65
String quoteWord(const String &val)
Definition: OgreMaterialSerializer.h:343
void setActiveVertexShader(GLSLShader *vertexShader)
Set the active link programs for the next rendering state.
TextureGpu * getDefinedTexture(IdString textureName) const
Returns the texture pointer of a texture based on it's name & mrt index.
uchar getBPP() const
Returns the number of bits per pixel.
CompositorWorkspaceListener * getListener(void) const
virtual ~RenderSystemCapabilitiesManager()
Default destructor.
void releaseReservation(PlanarReflectionActor *actor)
Releases a reservation made with reserve().
void setTiling(Real x, Real y, ushort layer=0)
Sets the number of times textures should repeat.
void throwIfFailed(const char *desc, const char *src)
Definition: OgreD3D11Device.h:85
const_reference back() const
Definition: OgreCommon.h:549
const ShaderCodeCacheVec & getShaderCodeCache(void) const
Definition: OgreHlms.h:376
unsigned getVSyncInterval() const
Returns the vertical sync interval.
Definition: OgreD3D11RenderWindow.h:125
VertexOffsetIterator getVertexOffsetIterator(void)
Gets an iterator over all the vertex offsets.
TriangleFaceNormalList triangleFaceNormals
All triangle face normals.
Definition: OgreEdgeListBuilder.h:128
uint32 baseInstance
Definition: OgreCbDrawCall.h:51
void dirty()
Indicate that all of the blend data is dirty and needs updating.
void renderSingleObject(Renderable *pRend, const MovableObject *pMovableObject, RenderSystem *rs, bool casterPass, bool dualParaboloid)
Don't call this too often. Only renders v1 objects at the moment.
size_t offsetAfterPadding
Definition: OgreNULLVaoManager.h:59
MeshPtr manualMesh
Hard link to mesh to avoid looking up each time.
Definition: OgreMesh.h:1063
uint8 strongMacroblockBits
Definition: OgreHlmsPso.h:114
void scheduleForUpdate(ConstBufferPoolUser *dirtyUser, uint8 dirtyFlags=DirtyConstBuffer)
void load(const String &filename, const String &separators="\t:=", bool trimWhitespace=true)
load from a filename (not using resource group locations)
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 exportTextureMetadataCache(String &outJson)
static size_t getNumAutoConstantDefinitions(void)
Returns the number of auto constant definitions.
virtual EGLConfig * chooseGLConfig(const GLint *attribList, GLint *nElements)
void streamTo4x3(float *RESTRICT_ALIAS dst) const
Copies our 4x3 contents using memory write combining when possible.
Definition: C/OgreArrayMatrixAf4x3.h:273
@ G2D_X_Z
Grid is in the X/Z plane.
Definition: OgreGrid2DPageStrategy.h:52
vector< int >::type IntConstantList
Definition of container that holds the current int constants.
Definition: OgreGpuProgramParams.h:606
virtual void _render(const v1::CbDrawCallIndexed *cmd)=0
Renders a V1 RenderOperation. Assumes _setRenderOperation has already been called.
Plane(const Vector3 &rkPoint0, const Vector3 &rkPoint1, const Vector3 &rkPoint2)
virtual void create(const String &name, unsigned widthPt, unsigned heightPt, bool fullScreen, const NameValuePairList *miscParams)
virtual void renderQueueStarted(RenderQueue *rq, uint8 queueGroupId, const String &invocation, bool &skipThisInvocation)
Event raised before a queue group is rendered.
Definition: OgreRenderQueueListener.h:73
static String FACTORY_TYPE_NAME
Definition: OgreDecal.h:171
D3D_FEATURE_LEVEL _getFeatureLevel() const
Definition: OgreD3D11RenderSystem.h:345
void doSet(void *target, const String &val)
virtual OverlayElement * findElementAt(Real x, Real y)
This returns a OverlayElement at position x,y.
LodInputProviderPtr input
Definition: OgreLodWorkQueueRequest.h:46
void swap(Vector3 &other)
Exchange the contents of this vector with another.
Definition: OgreVector3.h:105
AxisAlignedBox worldBounds
Pre-transformed world AABB.
Definition: OgreStaticGeometry.h:171
void clearUavBuffers(void)
Sets all UAV buffers to nullptr.
const VertexData * getVertexData(void) const
Get the vertex data for this geometry.
Definition: OgreStaticGeometry.h:234
Definition: OgreStagingBuffer.h:82
virtual const set< WorldFragmentType >::type * getSupportedWorldFragmentTypes(void) const
Returns the types of world fragments this query supports.
Definition: OgreSceneQuery.h:170
uint hierarchicalLvl
The hierarchical level of this profile, 0 being the root profile.
Definition: OgreProfiler.h:352
@ ID_SINE
Definition: OgreScriptCompiler.h:794
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)
virtual void _callMemoryChangeListeners(void)
Internal use, notifies all attached objects that our memory pointers (i.e.
virtual void removeAllViewports(void)
Removes all viewports on this target.
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
@ IM_VTFBONEMATRIXLOOKUP
Use a limited number of skeleton animations shared among all instances.
Definition: OgreCommon.h:366
FastArray< SourceData > SourceDataArray
Definition: OgreSubMesh2.h:296
Real getCurrentTime(void) const
Gets the current animation time, in seconds. Prefer using getCurrentFrame.
Definition: OgreSkeletonAnimation.h:107
@ PCT_FLOAT32
16 bit float per component
Definition: OgrePixelFormat.h:397
static const IdString DetailOffsetsD0
Definition: OgreHlmsPbsMobile.h:127
void uninstall()
Perform the final plugin uninstallation sequence.
virtual void unload(void)
Unloads the resource; this is not permanent, the resource can be reloaded later if required.
virtual SkeletonAnimationBlendMode getBlendMode() const
Gets the animation blending mode which this skeleton will use.
void setNamedConstant(const String &name, int val)
Sets a single value constant integer parameter to the program.
uint8 getNumMipmaps(void) const
Gets the number of mipmaps to be used for this texture.
Definition: OgreTexture.h:146
@ ID_READ_BACK_AS_TEXTURE
Definition: OgreScriptCompiler.h:1001
virtual Real getWidthChange(size_t chainIndex) const
Get the change in ribbon width per second.
OldNode(const String &name)
Constructor, should only be called by parent, not directly.
size_t offset
Definition: OgreD3D11VaoManager.h:49
@ ID_EXECUTION_MASK
Definition: OgreScriptCompiler.h:895
@ ID_PARAM_INDEXED_AUTO
Definition: OgreScriptCompiler.h:638
static const int MacroblockShiftTransp
Definition: OgreRenderQueue.h:310
void doSet(void *target, const String &val)
static void softwareVertexBlend(const VertexData *sourceVertexData, const VertexData *targetVertexData, const Matrix4 *const *blendMatrices, size_t numMatrices, bool blendNormals)
Performs a software indexed vertex blend, of the kind used for skeletal animation although it can be ...
unsigned long _updateWorkerThread(ThreadHandle *threadHandle)
Called from the worker thread, polls to process frustum culling requests when a sync is performed.
size_t getRowSpan(void) const
Gets the physical width in bytes of each row of pixels.
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:387
void setHardwareBufferManager(HardwareBufferManagerBase *bufferManager)
Sets the manager for the vertex and index buffers to be used when loading this Mesh.
Definition: OgreMesh.h:581
map< size_t, Vector3 >::type VertexOffsetMap
A collection of vertex offsets based on the vertex index.
Definition: OgrePose.h:70
static const IdString PrePass
Definition: OgreHlms.h:876
static const IdString UvBaking
Definition: OgreHlms.h:873
Real getSinTime_0_X(Real x) const
static const IdString TexMatrixCount0
Definition: OgreUnlitProperty.h:52
size_t _getUnsignedIntConstantPhysicalIndex(size_t logicalIndex, size_t requestedSize, uint16 variability)
Gets the physical buffer index associated with a logical unsigned int constant index.
static DXGI_FORMAT get(PixelFormatGpu pf)
T * Detach() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:218
static ScriptCompilerManager * getSingletonPtr(void)
Override standard Singleton retrieval.
Template class describing a simple pool of items.
Definition: OgreResourceManager.h:49
virtual void _setDerivedOrientation(const Quaternion &q)
Sets the final world orientation of the OldNode directly.
void doSet(void *target, const String &val)
void setSplitPoints(const SplitPointList &newSplitPoints)
Manually configure a new splitting scheme.
NULLTextureGpu(GpuPageOutStrategy::GpuPageOutStrategy pageOutStrategy, VaoManager *vaoManager, IdString name, uint32 textureFlags, TextureTypes::TextureTypes initialType, TextureGpuManager *textureManager)
Frame Buffer Object abstraction.
Definition: OgreGLES2FrameBufferObject.h:43
GLenum depthFunc
Definition: OgreGL3PlusHlmsPso.h:49
void doSet(void *target, const String &val)
void updateMaterialForAllSubMeshes(void)
Iterates through all submeshes and requests them to apply their texture aliases to the material they ...
virtual_l1 void quad(uint32 i1, uint32 i2, uint32 i3, uint32 i4)
Add a set of 4 vertex indices to construct a quad (out of 2 triangles); this is a shortcut to calling...
void removeAllTextureUnitStates(void)
Removes all texture unit settings.
void saveWorld(PagedWorld *world, const String &filename)
Save a PagedWorld instance to a file.
Link to another skeleton to share animations.
Definition: OgreSkeleton.h:467
virtual void _resourceTransitionCreated(ResourceTransition *resTransition)
ConstBufferPacked(size_t internalBufferStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface)
Definition: OgreConstBufferPacked.h:41
void setNamedConstant(const String &name, uint val)
Sets a single value constant unsigned integer parameter to the program.
SharedPtrFreeMethod
The method to use to free memory on destruction.
Definition: OgreSharedPtr.h:44
float4x4()
Definition: OgreShaderPrimitives.h:93
void doSet(void *target, const String &val)
@ GPU_MATROX
Definition: OgreRenderSystemCapabilities.h:312
static bool isAccessible(PixelFormat srcformat)
Returns whether the format can be packed or unpacked with the packColour() and unpackColour() functio...
Definition: OgreLodConfig.h:143
virtual size_t getConstBufferSize(void)
const String & getFriendlyName() const
Returns the friendly name of the render system.
void updateIrradianceVolumeTexture()
VertexDeclaration * getAutoOrganisedDeclaration(bool skeletalAnimation, bool vertexAnimation, bool vertexAnimationNormals) const
Generates a new VertexDeclaration for optimal usage based on the current vertex declaration,...
@ OGREPROF_CULLING
Culling.
Definition: OgreProfiler.h:216
virtual void download(const PixelBox &data)
Download a box of pixels from the card.
virtual void autoUpdateLod(Terrain *terrain, bool synchronous, const Any &data)=0
Method to be called to change terrain's LOD level.
@ TID_RBRACKET
Definition: OgreScriptLexer.h:53
void _notifyResourceRemoved(const ResourcePtr &res)
Internal method called by ResourceManager when a resource is removed.
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
Definition: OgreWindow.h:48
uint32 depthOrSlices
Definition: OgreTextureGpuManager.h:253
virtual bool isFullScreen(void) const
Returns true if window is running in fullscreen mode.
float mkSr
Definition: OgreHlmsPbsMobileDatablock.h:61
static HighLevelGpuProgramManager * getSingletonPtr(void)
Override standard Singleton retrieval.
Patch specialisation of Mesh.
Definition: OgrePatchMesh.h:49
MovableObject ** mOwner
The movable object that owns this ObjectData. Ours is mOwner[mIndex].
Definition: OgreObjectData.h:47
PixelFormat pixelFormat
Definition: OgreHlmsTexturePack.h:59
virtual void removeTexture(IdString name)
WARNING: Be very careful with this function.
bool operator()(FunctionInvocation const &lhs, FunctionInvocation const &rhs) const
@ ID_TRANSFORM
Definition: OgreScriptCompiler.h:799
virtual bool isPoseAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform pose animation.
Definition: OgreGpuProgram.h:356
static const ArrayReal THREE
Definition: OgreMathlibC.h:47
virtual void _hlmsPipelineStateObjectDestroyed(HlmsPso *pso)
Shared pointer implementation used to share vertex buffers.
Definition: OgreHardwareVertexBuffer.h:93
void setShininess(Real val)
Sets the shininess properties of every Pass in every Technique.
void _setPointParameters(Real size, bool attenuationEnabled, Real constant, Real linear, Real quadratic, Real minSize, Real maxSize)
Sets the size of points and how they are attenuated with distance.
bool getAutoUpdate(void) const
Return the auto update state of this billboard set.
Definition: OgreBillboardSet.h:819
bool allLayers
When true, slice will be ignored, and all slices will be attached instead.
Definition: OgreRenderPassDescriptor.h:141
size_t mParentIndex
Index in the vector holding this node reference (could be our parent node, or a global array tracking...
Definition: OgreNode.h:185
LightTypes
Defines the type of light.
Definition: OgreLight.h:83
iterator insert(iterator I, const T &Elt)
Definition: OgreMain/include/OgreSmallVector.h:463
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.
const Renderable * getSourceRenderable() const
Get the source renderable of this object.
Definition: OgreRenderToVertexBuffer.h:123
Specialises the SceneQuery class for querying along a ray.
Definition: OgreSceneQuery.h:372
virtual void cameraPostRenderScene(Camera *cam)
Called after the scene has been rendered with this camera.
Definition: OgreCamera.h:117
SkinningType getSkinningType()
Returns the current skinning type in use.
virtual Impl * _getImpl()
Get rendersystem specific interface for this RenderTarget.
size_t indexStart
index count from indexStart.
Definition: OgreLodBuffer.h:44
void _setTextureBlendMode(size_t stage, const LayerBlendModeEx &bm)
See RenderSystem.
Definition: OgreGL3PlusRenderSystem.h:356
Matrix4 getTransposeWorldMatrix() const
virtual int32 getCellRangeMaxY() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:171
virtual Real getCellSize() const
Get the size of the cells in the grid.
Definition: OgreGrid2DPageStrategy.h:163
Billboard * createBillboard(Real x, Real y, Real z, const ColourValue &colour=ColourValue::White)
Creates a new billboard and adds it to this set.
float heightFactor
Definition: OgreTextureDefinition.h:165
void setPolygonModeOverrideable(bool PolygonModeOverrideable)
Sets whether the polygon mode of this entire entity may be overridden by the camera detail settings.
Real getHorizontalTexelOffset()
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this...
virtual void _setUavCS(uint32 slotStart, const DescriptorSetUav *set)
void clearTranslatorManagers()
Clears all translator managers.
virtual const String & getMovableType(void) const
Returns the type name of this object.
void addResourceTransition(ResourceLayoutMap::iterator currentLayout, ResourceLayout::Layout newLayout, uint32 readBarrierBits)
@ FRUSTUM_PLANE_TOP
Definition: OgreFrustum.h:76
const_iterator end() const
Definition: OgreStackVector.h:292
Structure for recording the use of temporary blend buffers.
Definition: OgreHardwareBufferManager.h:74
Definition: OgreWin32Context.h:37
void requestRenderBuffer(const GL3PlusSurfaceDesc &surface)
Request the specify render buffer in case shared somewhere.
@ ElementInt
Definition: OgreShaderParams.h:57
void setMaxPointSize(Real s)
Maximum point screen size in pixels.
Definition: OgreRenderSystemCapabilities.h:781
@ RSC_FBO_ATI
Support for Frame Buffer Objects ATI implementation (ARB FBO is higher precedence)
Definition: OgreRenderSystemCapabilities.h:257
Vector3 getSize(void) const
Gets the size of the box.
Definition: OgreAxisAlignedBox.h:683
void _restoreBuffersForUnusedAnimation(bool hardwareAnimation)
Internal method to copy original vertex data to the morph structures should there be no active animat...
BufferType
Definition: OgreD3D11HardwareBuffer.h:44
void _notifyParticleQuota(size_t quota)
Tells the renderer that the particle quota has changed.
ArraySphere()
Definition: C/OgreArraySphere.h:64
bool getSkeletalAnimationIncluded() const
Returns whether a vertex program includes the required instructions to perform skeletal animation.
Definition: OgreShaderProgram.h:171
void() ImageDownsampler2D(uint8 *dstPtr, uint8 const *srcPtr, int32 dstWidth, int32 dstHeight, int32 dstBytesPerRow, int32 srcWidth, int32 srcBytesPerRow, const uint8 kernel[5][5], const int8 kernelStartX, const int8 kernelEndX, const int8 kernelStartY, const int8 kernelEndY)
Range is [kernelStart; kernelEnd].
Definition: OgreImageDownsampler.h:50
@ TAM_BORDER
Texture coordinates outside the range [0.0, 1.0] are set to the border colour.
Definition: OgreHlmsSamplerblock.h:54
virtual void setAlphaTestThreshold(float threshold)
Alpha test's threshold.
virtual void _forceReleaseBufferCopies(const HardwareVertexBufferSharedPtr &sourceBuffer)
Internal method that forces the release of copies of a given buffer.
Definition: OgreHardwareBufferManager.h:526
void setVisible(bool visible)
Set the visibility state.
size_t getPoseIndex(const Ogre::String &name)
Definition: OgreSubMesh2.h:211
void setSource(const SharedPtr< ControllerValue< T > > &src)
Sets the input controller value.
Definition: OgreController.h:168
ConcreteNodeList children
Definition: OgreScriptCompiler.h:74
Real getShininess(void) const
Gets the 'shininess' property of the pass (affects specular highlights).
void beginSection(unsigned short level, const bool useMainBuffer=true)
Definition: OgreMaterialSerializer.h:305
void _setCurrentShadowNode(CompositorShadowNode *shadowNode, bool isReused)
void updateAllTransforms()
Updates the derived transforms of all nodes in the scene.
const UnsignedIntConstantList & getUnsignedIntConstantList() const
Get a reference to the list of uint constants.
Definition: OgreGpuProgramParams.h:1912
virtual void _setDepthBufferDefaults(uint16 depthBufferPoolId, bool preferDepthTexture, PixelFormatGpu desiredDepthBufferFormat)
These 3 values are used as defaults for the compositor to use, but they may be explicitly overriden b...
virtual void setAlphaTestThreshold(float threshold)
void _setVboName(size_t vboPoolIdx, ID3D11Buffer *vboName, size_t internalBufferStartBytes)
virtual void setLateMaterialResolving(bool isLate)
Sets whether to use late material resolving or not.
Definition: OgreSceneManager.h:2422
Vector3 src
Definition: OgreLodConfig.h:40
const String & getType(void) const
Get the type of the object to be created.
SmallVectorBase - This is all the non-templated stuff common to all SmallVectors.
Definition: OgreMain/include/OgreSmallVector.h:116
@ ID_ROTATE_ANIM
Definition: OgreScriptCompiler.h:787
IDXGIFactory2 * GetDXGIFactory2()
Definition: OgreD3D11Device.h:68
CreateParticleSystemScriptCompilerEvent(const String &file, const String &name, const String &resourceGroup)
Definition: OgreScriptCompiler.h:595
Definition: OgreObjCmdBuffer.h:118
virtual void detachDepthBuffer(void)
bool operator>=(const Radian &r) const
Definition: OgreMath.h:84
void notifyDeviceLost(D3D11Device *device)
DataStreamPtr create(const String &filename)
Create a new file (or overwrite one already there).
vector< TextureDefinition >::type TextureDefinitionVec
Definition: OgreTextureDefinition.h:142
virtual void loadRawData(DataStreamPtr &stream, ushort uWidth, ushort uHeight, PixelFormat eFormat)
Loads the data from a raw stream.
Real splitFade
Definition: OgreCompositorShadowNodeDef.h:72
OldNodeAnimationTrack * getOldNodeTrack(unsigned short handle) const
Gets a node track by it's handle.
virtual void setValue(const Any &val)
Set value.
@ Standard
Definition: OgreTextureGpu.h:165
void setInjectorListener(LodWorkQueueInjectorListener *injectorListener)
Definition: OgreLodWorkQueueInjector.h:55
AxisAlignedBox getAABB(void) const
Returns an AABB representation.
bool hasEquivalentParameters(TextureGpu *other) const
static const Vector3 UNIT_Y
Definition: OgreVector3.h:816
@ FFP_VS_TRANSFORM
Definition: OgreShaderFFPRenderState.h:46
static unsigned short DELTA_BUFFER
Buffer binding used for holding delta values.
Definition: OgreTerrainQuadTreeNode.h:263
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
static const IdString NormalLa
Definition: OgreHlmsPbs.h:489
@ BCT_SAMPLER
Definition: OgreGpuProgramParams.h:61
SimplexNoise(void)
Constructor with a random permutation table.
GpuProgramPtr getGpuFragmentProgram()
Get the fragment shader GPU program.
void load(DataStreamPtr &dataStream, Hlms::RenderableCache &renderableCache)
@ PASS_IBL_SPECULAR
Definition: OgreCompositorPassDef.h:62
ColourValue(float red=1.0f, float green=1.0f, float blue=1.0f, float alpha=1.0f)
Definition: OgreColourValue.h:67
unsigned char getCurrentMeshLod(void) const
Definition: OgreMovableObject.h:211
void construct(pointer p)
Definition: OgreMemorySTLAllocator.h:165
virtual bool initialise()=0
Call this function from manager to init system.
uint8 mKernelRadius
Used when mMipmapGenerationMethod == ComputeHQ.
Definition: OgreCompositorPassMipmapDef.h:74
size_t _getDoubleConstantPhysicalIndex(size_t logicalIndex, size_t requestedSize, uint16 variability)
Gets the physical buffer index associated with a logical double constant index.
void extend(const Vector3 &pt)
Extends the existing body to incorporate the passed in point as a convex hull.
void dirtyRect(const Rect &rect)
Indicate that a portion of the blend data is dirty and needs updating.
ImageDownsamplerCube downscale2x_Float32_X_cube
Definition: OgreImageDownsampler.h:159
virtual ~IfdProbeVisualizer()
virtual bool isWindowSet(void) const
Returns if a viewport window is being used.
Definition: OgreCamera.h:582
Vector3 getLightDirection(size_t index) const
virtual ~ResourceGroupManager()
bool useFullScreen
Definition: OgreRenderSystem.h:82
PlanarReflectionActor()
Definition: OgrePlanarReflectionActor.h:110
CategorisedAllocPolicy< Ogre::MEMCATEGORY_SCRIPTING > ScriptingAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:271
bool isStereoEnabled(const String &renderWindowName) const
const String & getPreprocessorDefines(void) const
Sets the preprocessor defines use to compile the program.
Definition: OgreD3D11HLSLProgram.h:321
~LightListInfo()
Definition: OgreCommon.h:691
CG Language program processor class.
Definition: OgreShaderCGProgramProcessor.h:47
virtual void _descriptorSetSamplerCreated(DescriptorSetSampler *newSet)
Definition: OgreRenderSystem.h:840
virtual bool isChildrenProcessEvents() const
Should this container pass events to their children.
Definition: OgreOverlayContainer.h:123
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.
~VertexPoseKeyFrame()
Definition: OgreKeyFrame.h:191
@ ACT_LIGHT_DIRECTION_OBJECT_SPACE_ARRAY
Array of light directions in object space (count set by extra param)
Definition: OgreGpuProgramParams.h:1092
void _notifyParticleRotated(void)
Optional callback notified when particles are rotated.
uint16 getLightmapSize() const
Get the requested size of lightmap for this terrain.
Definition: OgreTerrain.h:1085
void removeTemplateSubRenderState(SubRenderState *subRenderState)
Remove a template sub render state from this render state.
virtual void setStartTime(Real startTime)
Sets the 'start time' of this emitter.
void prepareForShadowMapping(bool forceSameBuffers)
const Renderable * getCurrentRenderable(void) const
Node * getAssociatedNode(void) const
Returns a pointer to the associated OldNode object (if any).
void setScroll(Real x, Real y)
Sets the scrolling factor of this overlay.
Definition: OgreShaderParams.h:78
virtual ~GLES2StagingBuffer()
virtual OverlayElement * getChild(const String &name)
Gets the named child of this container.
const StringVector & getScriptPatterns(void) const
Gets the file patterns which should be used to find scripts for this class.
virtual void execute(void)
void _changeRenderSystem(RenderSystem *newRs)
Called when the RenderSystem changes.
static const IdString NormalWeightDetail2
Definition: OgreHlmsPbs.h:498
virtual void getShadowCamera(const Ogre::SceneManager *sm, const Ogre::Camera *cam, const Ogre::Light *light, Ogre::Camera *texCam, size_t iteration, const Vector2 &viewportRealSize) const
Returns a LiSPSM shadow camera with PSSM splits base on iteration.
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
void setNamedConstant(const String &name, const Matrix4 *m, size_t numEntries)
Sets a list of Matrix4 parameters to the program.
static const String FACTORY_TYPE_NAME
Factory type name.
Definition: OgreSceneManagerEnumerator.h:54
std::reverse_iterator< const_iterator > const_reverse_iterator
Definition: OgreMain/include/OgreSmallVector.h:175
Side getSide(const AxisAlignedBox &rkBox) const
Returns the side where the alignedBox is.
Class that provides functionality to generate materials for use with a terrain.
Definition: OgreTerrainMaterialGenerator.h:162
ImageBlur2D separableBlur_XXX888
Definition: OgreImageDownsampler.h:100
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
virtual bool isVisible(void) const
Are the batches visible?
Definition: OgreStaticGeometry.h:635
Internal structure defining a texture effect.
Definition: OgreTextureUnitState.h:138
vector< FileInfo >::type FileInfoList
Definition: OgreArchive.h:67
static const IdString UvDiffuseSwizzle14
Definition: OgreUnlitProperty.h:108
GpuNamedConstantsSerializer()
Vector3(const int afCoordinate[3])
Definition: OgreVector3.h:77
virtual Viewport * addViewport(float left=0.0f, float top=0.0f, float width=1.0f, float height=1.0f)
Adds a viewport to the rendering target.
void _setSeparateSceneBlendingOperation(SceneBlendOperation op, SceneBlendOperation alphaOp)
uint32 id
Definition: OgreScriptCompiler.h:133
Definition: OgreD3D11Texture.h:47
virtual bool resolveParameters(ProgramSet *programSet)
T ** ReleaseAndGetAddressOf() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:212
ScriptTranslator * getTranslator(const AbstractNodePtr &node)
Retrieves a ScriptTranslator from the supported managers.
virtual void removeBillboard(unsigned int index)
Removes the billboard at the supplied index.
time_t resourceModifiedTime(const String &group, const String &filename)
Retrieve the modification time of a given file.
@ RSC_RTT_SEPARATE_DEPTHBUFFER
Supports a separate depth buffer for RTTs. D3D 9 & 10, OGL w/FBO (RSC_FBO implies this flag)
Definition: OgreRenderSystemCapabilities.h:170
virtual ~GL3PlusDepthTextureTarget()
void createStereoDriver(const NameValuePairList *miscParams)
Creates a bridge to the Direct3D stereo driver implementation.
virtual Animation * getAnimation(const String &name) const =0
Retrieve an animation by name.
static const String & getDirectionalLightExtruderVs_1_1Finite(void)
Get FINITE extruder program source for directional lights, compatible with vs_1_1.
Definition: OgreShadowVolumeExtrudeProgram.h:293
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
@ ACT_LIGHT_CASTS_SHADOWS_ARRAY
Returns (int) 1 if the given light casts shadows, 0 otherwise (index set in extra param)
Definition: OgreGpuProgramParams.h:1143
void _buildBoneAssignmentsFromVertexData(uint8 const *vertexData)
Populates mBoneAssignments by reading the vertex data.
const String & getGeometryProgramName(void) const
Gets the name of the geometry program used by this pass.
UserObjectBindings & getUserObjectBindings()
Return an instance of user objects binding associated with this class.
Definition: OgreMovableObject.h:382
HlmsDatablock(IdString name, Hlms *creator, const HlmsMacroblock *macroblock, const HlmsBlendblock *blendblock, const HlmsParamVec ¶ms)
@ BT_DEFAULT
Read and write access from GPU.
Definition: OgreBufferPacked.h:49
void setUserAny(const Any &anything)
Sets any kind of user object on this class instance.
static ArrayMaskR isInfinity(ArrayReal a)
Returns the result of "a == std::numeric_limits<float>::infinity()".
Definition: OgreMathlibC.h:287
virtual size_t getCurrentIndexCount() const
Get the number of indices in the section currently being defined (returns 0 if no section is in progr...
void _endFrame(void)
Ends rendering of a frame to the current viewport.
ParameterDef(const String &newName, const String &newDescription, ParameterType newType)
Definition: OgreStringInterface.h:76
virtual ~OverlayElement()
void setDebugOutputEnabled(bool debugOutput)
~Entity()
Default destructor.
unsigned short getNumNumericTracks(void) const
Gets the number of NumericAnimationTrack objects contained in this animation.
D3D11Window(const String &title, uint32 width, uint32 height, bool fullscreenMode, PixelFormatGpu depthStencilFormat, const NameValuePairList *miscParams, D3D11Device &device, D3D11RenderSystem *renderSystem)
void exportSkeleton(const Skeleton *pSkeleton, DataStreamPtr stream, SkeletonVersion ver=SKELETON_VERSION_LATEST, Endian endianMode=ENDIAN_NATIVE)
Exports a skeleton to the stream specified.
@ ID_BORDER
Definition: OgreScriptCompiler.h:743
An animation container interface, which allows generic access to sibling animations.
Definition: OgreAnimation.h:58
VertexElement2 const * origElements
If this value is nullptr, then the requested element semantic was not present in the Vao.
Definition: OgreVertexBufferDownloadHelper.h:78
virtual String getType() const
Returns the type of the codec as a String.
@ PFG_ASTC_RGBA_UNORM_10X5_LDR
Definition: OgrePixelFormatGpu.h:244
virtual void advanceFrame(void)
virtual_l1 void setOrientation(Real w, Real x, Real y, Real z)
Sets the orientation of this node via quaternion parameters.
PoolId
Definition: Deprecated/OgreDepthBuffer.h:87
LoadLodRequest(TerrainLodManager *r, uint16 preparedLod, uint16 loadedLod, uint16 target)
Definition: OgreTerrainLodManager.h:62
@ RSC_CAN_GET_COMPILED_SHADER_BUFFER
Supports using vertex buffers for instance data.
Definition: OgreRenderSystemCapabilities.h:180
static void mergeContiguousBlocks(BlockVec::iterator blockToMerge, BlockVec &blocks)
void setPassNumber(const int passNumber)
Vector4(const Real scaler)
Definition: OgreVector4.h:85
ParameterPtr resolveInputParameter(Parameter::Semantic semantic, int index, const Parameter::Content content, GpuConstantType type)
Resolve input parameter of this function.
virtual void bindGpuProgramPassIterationParameters(GpuProgramType gptype)=0
Only binds Gpu program parameters used for passes that have more than one iteration rendering.
Definition: OgreCompositorPassStencilDef.h:47
bool isUsingInstancedStereo(void) const
Command object for iteration interval(see ParamCommand).
Definition: OgreParticleSystem.h:134
uint32 *RESTRICT_ALIAS mQueryFlags
Flags determining whether this object is included / excluded from scene queries.
Definition: OgreObjectData.h:92
String doGet(const void *target) const
MeshPtr createCurvedPlane(const String &name, const String &groupName, const Plane &plane, Real width, Real height, Real bow=0.5f, int xsegments=1, int ysegments=1, bool normals=false, unsigned short numTexCoordSets=1, Real uTile=1.0f, Real vTile=1.0f, const Vector3 &upVector=Vector3::UNIT_Y, HardwareBuffer::Usage vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexShadowBuffer=true, bool indexShadowBuffer=true)
Creates a genuinely curved plane, by default majoring on the x/y axes facing positive Z.
virtual uint16 getDepthBufferPoolId(void) const
virtual void setParameterList(const NameValuePairList ¶mList)
Generic multiple parameter setting method.
const GLES2SurfaceDesc & getSurface(size_t attachment)
Definition: OgreGLES2FrameBufferObject.h:84
map< FrameBufferDescKey, GL3PlusFrameBufferDescValue >::type GL3PlusFrameBufferDescMap
Definition: OgreGL3PlusRenderPassDescriptor.h:53
static const IdString DiffuseMapCount13
Definition: OgreHlmsUnlitMobile.h:121
C++ encapsulation of GLSL ES Program Object.
Definition: OgreGLSLESLinkProgram.h:46
@ ID_SPOT
Definition: OgreScriptCompiler.h:716
bool hasPoolId(uint32 uniqueSpecialId, TextureMapType mapType) const
GLint convertStencilOp(StencilOperation op, bool invert=false) const
uint32 mInternalId
It's different from HlmsSamplerblock::mId. Can't be zero.
Definition: OgreGLES2HlmsSamplerblock.h:51
RenderPassDescriptor * getCurrentPassDescriptor(void)
Definition: OgreRenderSystem.h:707
@ LBX_MODULATE_X2
as LBX_MODULATE but brighten afterwards (x2)
Definition: OgreBlendMode.h:83
ProgramWriterFactory()
Definition: OgreShaderProgramWriterManager.h:50
@ ID_SUBROUTINE
Definition: OgreScriptCompiler.h:1039
void removeFrameListener(FrameListener *oldListener)
Removes a FrameListener from the list of listening classes.
void setSnapSides(const Vector3 &snapSidesDeviationErrorMin, const Vector3 &snapSidesDeviationErrorMax)
Very similar to PccPerPixelGridPlacement::setSnapDeviationError but more specific; thus allowing for ...
void setPointSpritesEnabled(bool enabled)
Sets whether or not rendering points using OT_POINT_LIST will render point sprites (textured quads) o...
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:219
virtual VertexDeclaration * clone(HardwareBufferManagerBase *mgr=0) const
Clones this declaration.
Real squaredLength() const
Returns the square of the length(magnitude) of the vector.
Definition: OgreVector3.h:377
const String & getName() const
Get the name of the plugin.
void setShadowCasterMaterial(Ogre::MaterialPtr val)
set this material specific shadow casting specific material
String doGet(const void *target) const
Definition: OgreD3D11DepthTexture.h:85
bool operator==(const iterator_range &rhs) const
comparison operator for equality
Definition: OgreIteratorRange.h:97
AxisAlignedBox getBoundingBox(void)
Gets the bounding box of the mesh.
@ SPC_POSITION_LIGHT_SPACE2
Definition: OgreShaderParameter.h:95
virtual uint32 fillBuffersForV2(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)
virtual void bindBufferPS(uint16 slot)
@ RSC_EXPLICIT_FSAA_RESOLVE
Explicit FSAA resolves (i.e. sample MSAA textures directly in the shader without resolving)
Definition: OgreRenderSystemCapabilities.h:200
Definition: OgreD3D11AsyncTicket.h:39
TerrainSlot(long _x, long _y)
Definition: OgreTerrainGroup.h:332
void unload()
Unloads the archive.
void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Overridden from OverlayContainer.
virtual void save(StreamSerialiser &stream)
Save the collection to a stream.
void _updateAutoParams(const AutoParamDataSource *source, uint16 variabilityMask) const
Update automatic parameters.
bool getUseIdentityProjection(void) const
Returns whether or not to use an 'identity' projection.
Definition: OgreManualObject.h:355
void _setLightMapRequired(bool lightMap, bool shadowsOnly=false)
Request internal implementation options for the terrain material to use, in this case a terrain-wide ...
@ ACT_WORLD_MATRIX_ARRAY_3x4
The current array of world matrices, as a 3x4 matrix, used for blending.
Definition: OgreGpuProgramParams.h:918
static const Vector3 NEGATIVE_UNIT_Y
Definition: OgreVector3.h:819
MapIterator< MaterialBucketMap > MaterialIterator
Iterator over the materials in this LOD.
Definition: OgreStaticGeometry.h:345
SmallVectorTemplateCommon(size_t Size)
Definition: OgreMain/include/OgreSmallVector.h:167
static void getDefaultPaths(String &outDataFolderPath, StringVector &outLibraryFoldersPaths)
Fill the provided string and string vector with all the sub-folder needed to instantiate an HlmsPbs o...
uint32 baseInstance
Definition: OgreCbDrawCall.h:105
virtual LinkedSkeletonAnimSourceIterator getLinkedSkeletonAnimationSourceIterator(void) const
Get an iterator over the linked skeletons used as animation sources.
void defineSurface(void *controlPointBuffer, v1::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.
virtual void _setDepthBufferDefaults(uint16 depthBufferPoolId, bool preferDepthTexture, PixelFormatGpu desiredDepthBufferFormat)
These 3 values are used as defaults for the compositor to use, but they may be explicitly overriden b...
Threshold(uint32 _minTextureSize, uint16 _maxTexturesPerArray)
Definition: OgreHlmsTextureManager.h:88
@ AlwaysKeepSystemRamCopy
Always keep a copy on system RAM, even when resident.
Definition: OgreGpuResource.h:98
virtual String validateConfig()=0
Make sure all the extra options are valid.
D3D11HardwareOcclusionQuery(D3D11Device &device)
Default object constructor.
virtual void notifyCamera(Camera *cam)
Notify a section of the current camera.
static const IdString UvDetailNm1
Definition: OgreHlmsPbs.h:519
@ ID_BLEND_CURRENT_ALPHA
Definition: OgreScriptCompiler.h:769
virtual void _setDerivedPosition(const Vector3 &pos)
Sets the final world position of the OldNode directly.
void redefine(const Vector3 &rkNormal, const Vector3 &rkPoint)
Redefine this plane based on a normal and a point.
bool hwGammaCorrection
Definition: OgreHlmsTextureManager.h:101
void _incrementRefCount(void)
virtual void _renderEmulated(const CbDrawCallStrip *cmd)
String doGet(const void *target) const
iterator begin()
Definition: OgreFastArray.h:366
ArchiveMapIterator getArchiveIterator(void)
Get an iterator over the Archives in this Manager.
uint numSamples
Definition: OgreGL3PlusRenderTexture.h:48
const String & getName() const
Get the name of the property.
Definition: OgreProperty.h:144
Codec specialized in loading DDS (Direct Draw Surface) images.
Definition: OgreDDSCodec.h:51
int send_event
Definition: OgreX11EGLSupport.h:94
void destroy(void)
Overridden - see RenderWindow.
ushort getTessellationHullProgramConstantBoolCount(void) const
The number of boolean constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:905
static const IdString UvDiffuse4
Definition: OgreUnlitProperty.h:81
void setLayerBlendMapSize(uint16 sz)
Sets the default size of blend maps for a new terrain.
Definition: OgreTerrain.h:2056
void setNumThreadGroupsBasedOn(ThreadGroupsBasedOn source, uint8 texSlot, uint8 divisorX, uint8 divisorY, uint8 divisorZ)
Instead of calling setNumThreadGroups, Ogre can automatically deduce them based on the Texture resolu...
@ ACT_LIGHT_COUNT
The number of active light sources (better than gl_MaxLights)
Definition: OgreGpuProgramParams.h:1032
void setEnabled(bool enabled)
Sets whether this animation is enabled.
virtual void _render(const CbDrawCallStrip *cmd)
void setUserAny(const String &key, const Any &anything)
Sets any kind of user object on this class instance.
const IntConstantList & getIntConstantList() const
Get a reference to the list of int constants.
Definition: OgreGpuProgramParams.h:1906
virtual void setFsaaResolveDirty(void)
Null buffers never resolve; only colour buffers do.
Definition: OgreGL3PlusNullTexture.h:107
bool mShadowMapFullViewport
Only used if mShadowMapIdx is valid (if pass is owned by Shadow Nodes).
Definition: OgreCompositorPassDef.h:183
@ OT_PATCH_29_CONTROL_POINT
Definition: OgreHlmsPso.h:88
void setMacroblock(const HlmsMacroblock *macroblock, bool casterBlock=false)
Sets the macroblock from the given pointer that was already retrieved from the HlmsManager.
VertexData * getVertexDataForBinding(bool casterPass)
Retrieve the VertexData which should be used for GPU binding.
ConstVectorIterator< BoneList > ConstBoneIterator
Definition: OgreSkeleton.h:179
static const IdString UvNormal
Definition: OgreHlmsPbsMobile.h:138
bool IsActiveDeviceLost()
void setHeightAtPoint(long x, long y, float h)
Set the height data for a given terrain point.
size_t indexCount
Definition: OgreLodData.h:141
size_t elementCount
The number of elements per individual entry in this constant Used in case people used packed elements...
Definition: OgreGpuProgramParams.h:2489
MovablePlane(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, const Vector3 &rkNormal, const Vector3 &rkPoint)
MsaaPatterns::MsaaPatterns getMsaaPattern(void) const
Definition: OgreCommon.h:985
@ 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:132
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.
uint32 slotIdx
Definition: OgreVctMaterial.h:47
@ GMM_RELATIVE
'left', 'top', 'height' and 'width' are parametrics from 0.0 to 1.0
Definition: OgreOverlayElement.h:60
uint32 x
Definition: OgreCompositorShadowNode.h:346
void setChildObject(MovableObject *pObject)
FastArray< Renderable * > RenderableArray
Definition: OgreMovableObject.h:55
virtual void endGPUSampleProfile(const String &name)
virtual ~ScriptCompilerListener()
Definition: OgreScriptCompiler.h:370
virtual void _hlmsComputePipelineStateObjectDestroyed(HlmsComputePso *newPso)
@ ID_SCROLL_X
Definition: OgreScriptCompiler.h:790
const Vector2 getRSDepthRange(void) const
bool operator!=(const ConstMapRange &rhs) const
comparison operator for inequality
Definition: OgreIteratorRange.h:326
T Type
Definition: OgreComPtr.h:123
bool mWarnIfRtvWasFlushed
Will issue a warning (by raising an exception) if Ogre is forced to flush the RenderTarget,...
Definition: OgreCompositorPassDef.h:150
Real length() const
Returns the length (magnitude) of the vector.
Definition: OgreVector2.h:330
virtual void addChildImpl(OverlayContainer *cont)
Add a nested container to this container.
GLSLShader * domainShader
Definition: OgreGL3PlusHlmsPso.h:66
virtual HardwareOcclusionQuery * createHardwareOcclusionQuery(void)=0
Create an object for performing hardware occlusion queries.
Wrap-around class that contains multiple ArrayMemoryManager, one per render queue.
Definition: OgreObjectMemoryManager.h:57
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)
static String FACTORY_TYPE_NAME
Definition: OgreRectangle2D.h:109
void * mRsData
Definition: OgreDescriptorSetUav.h:242
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
Class to build up a mesh with vertices and indices.
Definition: OgreVolumeMeshBuilder.h:130
virtual ~GpuBufferAllocator()
Definition: OgreTerrain.h:540
const ColourValue & getSpecular(void) const
Gets the specular colour reflectance of the pass.
void clear()
Clears the overlay of all attached items.
UvAtlasParams()
Definition: OgreHlmsUnlitMobileDatablock.h:80
virtual ~D3D11StereoDriverNVIDIA()
void loadFromAoS(const Real *RESTRICT_ALIAS src)
Converts 4 ARRAY_PACKED_REALS reals into this ArrayVector3.
virtual void _forceReleaseBufferCopies(const HardwareVertexBufferSharedPtr &sourceBuffer)
Internal method that forces the release of copies of a given buffer.
virtual const String & getType() const
VertexElementSemantic getSemantic(void) const
Gets the meaning of this element.
Definition: OgreHardwareVertexBuffer.h:141
virtual GpuSharedParametersPtr getSharedParameters(const String &name) const
Retrieve a set of shared parameters, which can be used across many GpuProgramParameters objects of di...
static const IdString UvDiffuse
Definition: OgreHlmsPbs.h:507
Definition: OgreGLES2ConstBufferPacked.h:38
const float * getDeltaData(long x, long y) const
Get a pointer to the delta data for a given point.
void swap(Vector4 &other)
Exchange the contents of this vector with another.
Definition: OgreVector4.h:116
ParticleAffectorFactoryIterator getAffectorFactoryIterator(void)
Return an iterator over the affector factories currently registered.
@ MethodForward3D
Definition: OgreForwardPlusBase.h:57
virtual void optimise(void)
Optimise the current track by removing any duplicate keyframes.
virtual void _render(const v1::CbDrawCallStrip *cmd)
GL3PlusDepthBuffer(uint16 poolId, GL3PlusRenderSystem *renderSystem, GL3PlusContext *creatorContext, GLenum depthFormat, GLenum stencilFormat, uint32 width, uint32 height, uint32 fsaa, uint32 multiSampleQuality, PixelFormat pixelFormat, bool isDepthTexture, bool _isManual)
HlmsComputeJob * findComputeJob(IdString datablockName) const
Finds an existing Compute Job. If none found, throws an exception.
void doSet(void *target, const String &val)
bool isAffine(void) const
Check whether or not the matrix is affine matrix.
Definition: OgreMatrix4.h:607
Class implementing TerrainAutoUpdateLod interface.
Definition: OgreTerrainAutoUpdateLod.h:77
static vector< String >::type 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...
CompositorLoadActionTranslator()
bool getIsInstanceData() const
Get if this vertex buffer is an "instance data" buffer (per instance)
Definition: OgreHardwareVertexBuffer.h:78
void _setBindingType(TextureUnitState::BindingType bindingType)
Set texture unit binding type.
@ SPC_LIGHTPOSITION_WORLD_SPACE5
Definition: OgreShaderParameter.h:222
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
virtual const AxisAlignedBox & getBoundingBox() const
Get the bounds of this section.
Definition: OgreVctVoxelizer.h:59
void doSet(void *target, const String &val)
bool mOwnDimensions
Does this particle have it's own dimensions?
Definition: OgreParticle.h:78
Definition: OgreSubMesh2.h:287
const String & getType(void) const
Get the type of the object to be created.
bool watchForMin(const String &profileName)
v1::IndexData * indexData
Definition: OgreCbDrawCall.h:91
void setEnabled(bool bEnabled, uint32 width, uint32 height, uint32 maxNumProbes, PixelFormatGpu pixelFormat)
Enables/disables this ParallaxCorrectedCubemapAuto system.
XClientMessageEventData data
Definition: OgreX11EGLSupport.h:94
uint32 id
Definition: OgreScriptCompiler.h:154
virtual void parseScript(DataStreamPtr &stream, const String &groupName)=0
Parse a script file.
@ ID_EMISSIVE
Definition: OgreScriptCompiler.h:651
void notifyStaticDirty(Node *node)
Notifies that the given Node is dirty (i.e.
const GpuProgramPtr & getShadowCasterVertexProgram(void) const
Gets the vertex program used by this pass when rendering shadow casters, only available after _load()...
GL3PlusHardwarePixelBuffer(uint32 mWidth, uint32 mHeight, uint32 mDepth, PixelFormat mFormat, bool hwGamma, HardwareBuffer::Usage usage)
Should be called by HardwareBufferManager.
ID3D11Resource * getTextureResource()
Definition: OgreD3D11Texture.h:73
void setQueryFlags(uint32 flags)
Sets the query flags for this object.
void _notifyAttached(Node *parent)
Overridden from MovableObject.
void setSelfIllumination(const ColourValue &selfIllum)
Sets the amount of self-illumination of every Pass in every Technique.
void createBuffer(IDirect3DDevice9 *d3d9Device, D3DPOOL ePool, bool updateNewBuffer)
vector< FunctionAtom * >::type FunctionAtomInstanceList
Definition: OgreShaderFunctionAtom.h:255
OverlayProfileSessionListener()
Real getViewportHeight() const
void applyKeyFrameRigAt(KeyFrameRigVec::const_iterator &inOutLastKnownKeyFrame, float frame, ArrayReal animWeight, const ArrayReal *RESTRICT_ALIAS perBoneWeights, const TransformArray &KfTransforms) const
Applies the interpolated keyframe at the given frame to all bone transformations that are animated by...
float mRoughness
Definition: OgreHlmsPbsMobileDatablock.h:59
void shutdown()
Shutdown the renderer and cleanup resources.
Program * getCpuVertexProgram()
Get the vertex shader CPU program.
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
Page(PageID pageID, PagedWorldSection *parent)
static const IdString UvAtlas10
Definition: OgreHlmsUnlitMobile.h:153
Definition: OgreGLES2Texture.h:42
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:197
Listener * getListener(void) const
Gets the current listener for this Node.
Definition: OgreNode.h:694
NodeAnimationTrack * _clone(Animation *newParent) const
Clone this track (internal use only)
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
Definition: OgreCompositorShadowNode.h:356
bool mBakeLightingOnly
When mUvBakingSet is set, tells whether we should bake the whole render result or just the lighting i...
Definition: OgreCompositorPassSceneDef.h:168
size_type max_size() const
Definition: OgreCommon.h:496
void destroyProxyItems(void)
bool ToEulerAnglesZYX(Radian &rfYAngle, Radian &rfPAngle, Radian &rfRAngle) const
bool requiresTextureFlipping() const
Definition: OgreGLXWindow.h:109
Specialisation of HardwareVertexBuffer for D3D11.
Definition: OgreD3D11HardwareVertexBuffer.h:39
void doSet(void *target, const String &val)
@ PFG_ASTC_RGBA_UNORM_6X5_sRGB
Definition: OgrePixelFormatGpu.h:255
void setAsRGBA(const RGBA val)
Sets colour as RGBA.
This is a Light-weight string wrapper around the C string interface.
Definition: OgreLwString.h:112
const LightListInfo & getGlobalLightList(void) const
Definition: OgreSceneManager.h:1073
void setDebugDisplayLevel(uint8 lvl)
Set the debug display level.
Definition: OgrePageManager.h:420
virtual const String & getName() const =0
virtual void setLoadRadius(Real sz)
Set the loading radius.
void getCustomAttribute(IdString name, void *pData)
static UniformParameterPtr createSamplerCUBE(int index)
void apply(Skeleton *skeleton, Real timePos, Real weight=1.0, Real scale=1.0f)
Applies all node tracks given a specific time point and weight to a given skeleton.
Definition: OgreThreads.h:138
static const IdString UvCount
Definition: OgreHlms.h:833
virtual void setCellRangeMaxY(int32 maxY)
Set the index range of all cells (values outside this will be ignored)
const Plane & getFrustumPlane(unsigned short plane) const
Retrieves a specified plane of the frustum (world space).
static const Vector3 UNIT_Z
Definition: OgreVector3.h:817
void doSet(void *target, const String &val)
virtual ~GL3PlusAsyncTicket()
virtual Vector4 getValueAndGradient(const Vector3 &position) const =0
Gets the density value and gradient at a specific position.
uint8 getTextureUvSource(uint8 sourceType) const
static const char * EmissiveMap
Definition: OgreHlmsPbs.h:466
uint getTrueTypeResolution(void) const
Gets the resolution (dpi) of the font used to generate the texture.
LodOutputProviderCompressedMesh(v1::MeshPtr mesh)
LodData * mGen
Definition: OgreLodData.h:70
virtual void destroyInstance(T *ptr)=0
Destroys an object which was created by this factory.
Real amplitude
Definition: OgreTextureUnitState.h:146
@ ID_LESS_EQUAL
Definition: OgreScriptCompiler.h:678
@ Visual
Definition: OgreParticle.h:73
static bool intersects(const Ray &ray, const AxisAlignedBox &box, Real *d1, Real *d2)
Ray / box intersection, returns boolean result and two intersection distance.
Animation(const String &name, Real length)
You should not use this constructor directly, use the parent object such as Skeleton instead.
bool hasFreeSlot(void) const
virtual PageContentCollection * createInstance()=0
vector< StrideChanger >::type StrideChangerVec
Definition: OgreD3D11VaoManager.h:78
static uint32 getFilter(const Image2 &image)
See Image2::Filter.
void addTime(Real time)
Plays the animation forward (or backwards if negative)
Definition: OgreSkeletonAnimation.h:86
NormalMapLighting()
Class default constructor.
Any & swap(Any &rhs)
Definition: OgreAny.h:84
bool _updateAllRenderTargets(void)
Internal method used for updating all RenderTarget objects (windows, renderable textures etc) which a...
virtual void remove(ResourceHandle handle)
Remove a single resource by handle.
A lightweight mutex is a synchronization mechanism, very similar to a regular mutex.
Definition: OgreLightweightMutex.h:72
uint32 getWidth(void) const
Returns the width of the texture.
Definition: OgreTexture.h:225
@ ID_ONE_MINUS_DEST_COLOUR
Definition: OgreScriptCompiler.h:659
virtual void convertPath(String &inOutPath) const
Some implementations (i.e.
Definition: OgreArchiveFactory.h:80
bool rewind(size_t count)
Step back in cached stream by 'count' bytes.
Definition: OgreDataStream.h:109
VertexElementSemanticFull(VertexElementSemantic _semantic, uint8 _repeat=0)
Definition: OgreVertexBufferDownloadHelper.h:47
virtual ~GLES2Support()
Definition: OgreGLES2Support.h:45
@ TU_AUTOMIPMAP_AUTO
Must be used with TU_AUTOMIPMAP.
Definition: OgreTexture.h:77
Quaternion orientation
Only used when mFaceCamera == false.
Definition: OgreBillboardChain.h:105
Real getOverlayLeft() const
size_t alignToPreviousMult(size_t offset, size_t alignment)
This function has been purposedly not been named 'alignToPrevMultiple' to avoid easily confusing it w...
Definition: OgreCommon.h:1077
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
uint32 numSlices
Definition: OgreTextureBox.h:45
virtual void swapBuffers(void)
Swaps the frame buffers to display the next frame.
Definition: OgreRenderTarget.h:176
virtual void setFrustumOffset(Real horizontal=0.0, Real vertical=0.0)
Sets frustum offsets, used in stereo rendering.
static D3D9StereoDriverBridge * getSingletonPtr(void)
LwString & a(float a0)
Definition: OgreLwString.h:300
void notifyResourceDestroyed(D3D11DeviceResource *deviceResource)
HardwareBufferLockGuard HardwareIndexBufferLockGuard
Locking helper.
Definition: OgreHardwareIndexBuffer.h:89
@ ID_SHARED_PARAM_NAMED
Definition: OgreScriptCompiler.h:810
struct Ogre::v1::VertexBoneAssignment_s VertexBoneAssignment
Records the assignment of a single vertex to a single bone with the corresponding weight.
virtual uint32 fillBuffersForV1(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)=0
iterator insert(iterator I, size_type NumToInsert, const T &Elt)
Definition: OgreMain/include/OgreSmallVector.h:484
void setFromMatrix4(const Matrix4 &m, size_t index)
Definition: C/OgreArrayMatrix4.h:114
virtual bool _isDataReadyImpl(void) const =0
For internal use.
~GpuProgramParameters()
Definition: OgreGpuProgramParams.h:1527
void setTextureParams(uint32 width, uint32 height, bool useManual=false, PixelFormatGpu pf=PFG_RGBA8_UNORM_SRGB, bool isStatic=true, SampleDescription sampleDesc=SampleDescription())
void setColourWriteEnabled(bool enabled)
Sets whether or not colour buffer writing is enabled for each Pass.
static const char * NormalMapTex
Definition: OgreHlmsPbs.h:463
void setBackgroundLoaded(bool bl)
Tells the resource whether it is background loaded or not.
@ ACT_LIGHT_DIFFUSE_COLOUR
Light diffuse colour (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:1039
virtual void _setDepthBufferDefaults(uint16 depthBufferPoolId, bool preferDepthTexture, PixelFormatGpu desiredDepthBufferFormat)
These 3 values are used as defaults for the compositor to use, but they may be explicitly overriden b...
virtual void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
virtual ~D3D11RenderToVertexBuffer(void)
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.
Real getDefaultMinPixelSize()
Get the default minimum pixel size for object to be rendered by.
Definition: OgreRoot.h:1045
MipmapGenerationMethods mMipmapGenerationMethod
Definition: OgreCompositorPassMipmapDef.h:69
cbitsetN()
Definition: OgreBitset.h:45
void saveTexture(const HlmsTextureManager::TextureLocation &texLocation, const String &folderPath, set< String >::type &savedTextures, bool saveOitd, bool saveOriginal, uint32 slice, uint32 numSlices, HlmsTextureExportListener *listener)
Saves a texture to the given folder.
bool addTexutreAtlasDefinition(const Ogre::String &filename, TextureAtlasTablePtr textureAtlasTable=TextureAtlasTablePtr())
Adds a texture atlas definition from a stream.
bool isFullScreen(void) const
Returns true if window is running in fullscreen mode.
Definition: OgreSDLWindow.h:86
float mValue
Definition: OgreLwString.h:274
void waitForStreamingCompletion(void)
Blocks main thread until are pending textures are fully loaded.
void arrangeEfficient(bool halfPos, bool halfTexCoords, bool qTangents)
void setTextureUvSource(uint8 sourceType, uint8 uvSet)
Sets which UV set to use for the given texture.
void recreateShadowContentTypeLookup(void)
Recreates the contents of mShadowContentTypeLookup from scratch.
@ AllowAutomipmaps
Texture can use mipmap autogeneration.
Definition: OgreTextureGpu.h:93
void _registerScriptLoader(ScriptLoader *su)
Internal method for registering a ScriptLoader.
bool isActive() const
Overridden from RenderTarget, flags invisible windows as inactive.
virtual void notifyTextureChanged(TextureGpu *texture, TextureGpuListener::Reason reason, void *extraData)
Called when a TextureGpu changed in a way that affects how it is displayed:
void removeFactory(ProgramWriterFactory *factory)
Remove a factory object for high-level programs of a given language.
X11Bool
Definition: OgreX11EGLSupport.h:70
~ComPtr() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:145
virtual ~BufferInterface()
Definition: OgreBufferInterface.h:46
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...
virtual void setCellRangeMaxX(int32 maxX)
Set the index range of all cells (values outside this will be ignored)
void _setUpdateShadowNode(bool update)
Definition: OgreCompositorPassScene.h:105
static const uint16 CHUNK_VERSION
Definition: OgrePagedWorldSection.h:90
virtual ~GLES2NullTextureTarget()
const SkeletonAnimationVec & getAnimations() const
Return all animations associated with this skeleton.
Definition: OgreSkeletonInstance.h:172
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:452
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.
static void initResourcesLayout(ResourceLayoutMap &outResourcesLayout, const CompositorNamedBufferVec &buffers, ResourceLayout::Layout layout)
Only inits a resource with the given layout if it wasn't already in outResourcesLayout.
Vector3 getVoxelCellSize(void) const
virtual bool resolveDependencies(ProgramSet *programSet)
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:370
void _setNodeParent(Node *nodeParent)
Sets a regular Node to be parent of this Bone.
LodLevel()
Definition: OgreTerrainQuadTreeNode.h:148
void removeResolveStageMask(unsigned int mask)
Remove the given mask from the resolve stage flags that this sub render state will produce.
Definition: OgreShaderFFPColour.h:114
bool mipmaps
Definition: OgreHlmsTextureManager.h:100
~SceneManagerEnumerator()
ImageBlur2D separableBlur_A8
Definition: OgreImageDownsampler.h:103
static DXGI_FORMAT getFamily(PixelFormatGpu pf)
The ScreenRatioPixelCountLodStrategy class Implement a strategy which calculates LOD ratios based on ...
Definition: OgrePixelCountLodStrategy.h:142
size_t getSize(void) const
Gets the size of this element in bytes.
String doGet(const void *target) const
@ MS_MAPPED
Definition: OgreBufferPacked.h:68
const String & getMovableType(void) const
Overridden from MovableObject.
String name
Definition: OgreHlmsTexturePack.h:51
CompositorShadowNodeDef * addShadowNodeDefinition(const String &name)
Returns a new node definition. The name must be unique, throws otherwise.
void _destroyInternalResources()
virtual_l2 Vector3 _getDerivedPosition(void) const
Gets the position of the node as derived from all parents.
const String & getEntryPoint(void) const
Gets the entry point defined for this program.
Definition: OgreD3D9HLSLProgram.h:178
AbstractNode * mParent
Definition: OgreScriptCompiler.h:534
uint32 instancingDivisor
Definition: OgreNULLVaoManager.h:103
~D3D11HardwareBufferManager()
Definition: OgreD3D11HardwareBufferManager.h:74
Real getHeight(void) const
Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0.
virtual BufferPackedTypes getBufferPackedType(void) const
Useful to query which one is the derived class.
Definition: OgreIndexBufferPacked.h:54
@ ACT_LIGHT_POSITION_VIEW_SPACE_ARRAY
Array of light positions in view space (count set by extra param)
Definition: OgreGpuProgramParams.h:1088
static char * _dearrangeEfficient(char const *RESTRICT_ALIAS srcData, uint32 numElements, const VertexElement2Vec &vertexElements, VertexElement2Vec *outVertexElements)
Generic form that does the actual job for both v1 and v2 objects.
Definition: OgreGLES2DepthBuffer.h:51
void setResolution(uint32 width, uint32 height, uint32 depthOrSlices=1u)
static const IdString Syntax
Definition: OgreHlms.h:917
Represents part of the world geometry that is a result of a SceneQuery.
Definition: OgreSceneQuery.h:107
@ TEXTURE_TYPE_NORMALS
Definition: OgreHlmsTextureManager.h:136
static void toQuotedStr(CompareFunction value, String &outString)
virtual TransformKeyFrame * getNodeKeyFrame(unsigned short index) const
Returns the KeyFrame at the specified index.
@ VES_BINORMAL
Binormal (Y axis if normal is Z)
Definition: OgreVertexElements.h:56
Definition: OgreVertexArrayObject.h:183
Definition: OgreNULLStagingTexture.h:40
bool checkMinGLVersion(const String &v) const
const String & getLanguage(void) const
Overridden from GpuProgram.
An object which renders geometry to a vertex.
Definition: OgreGL3PlusRenderToVertexBuffer.h:45
@ Orientation
Definition: OgreBoneArrayMemoryManager.h:59
void setAll(const Aabb &aabb)
Definition: C/OgreArrayAabb.h:116
vector< StagingTexture * >::type StagingTextureVec
Definition: OgreTextureGpuManager.h:81
@ GPU_NOKIA
Definition: OgreRenderSystemCapabilities.h:317
@ PFG_R10G10B10A2_UNORM
Definition: OgrePixelFormatGpu.h:71
~TempBlendedBufferInfo(void)
virtual void bindBufferHS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
bool isClosed(void) const
Overridden - see RenderWindow.
id< MTLTexture > getView(DescriptorSetTexture2::TextureSlot texSlot)
void unmap(const DestinationVec &destinations)
Unmaps the mapped region and copies the data to multiple buffers.
Definition: OgreStagingBuffer.h:266
void loadFromAoS(const SimpleMatrixAf4x3 *RESTRICT_ALIAS *src)
bool empty() const
Definition: OgreCommon.h:498
virtual bool magicNumberMatch(const char *magicNumberPtr, size_t maxbytes) const
Returns whether a magic number header matches this codec.
Definition: OgreCodec.h:162
virtual void _buildMapBoneByName(const Skeleton *source, BoneHandleMap &boneHandleMap) const
Build the bone handle map to use with Skeleton::_mergeSkeletonAnimations.
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:1339
virtual bool isProcessComplete(BackgroundProcessTicket ticket)
Returns whether a previously queued process has completed or not.
static const IdString SpecularMap
Definition: OgreHlmsPbsMobile.h:108
@ PFG_R10G10B10A2_UINT
Definition: OgrePixelFormatGpu.h:72
void blitFromTexture(MetalTextureBuffer *src, const Box &srcBox, const Box &dstBox)
virtual void bindBufferHS(uint16 slot)
Definition: OgreNULLConstBufferPacked.h:50
void parseScript(DataStreamPtr &stream, const String &groupName)
static GLSLESProgramPipelineManager * getSingletonPtr(void)
virtual ~GpuNamedConstantsSerializer()
virtual void _detachDepthBuffer()
Detaches DepthBuffer without notifying it from the detach.
bool getVertexAnimationIncludesNormals() const
Returns whether animation on dedicated vertex data includes normals.
Definition: OgreSubMesh.h:249
D3D11HLSLProgram * hullShader
Definition: OgreD3D11HlmsPso.h:54
void setValue(Ogre::Real value)
@ PFG_ASTC_RGBA_UNORM_12X10_LDR
Definition: OgrePixelFormatGpu.h:248
~GLES2HardwareBufferManager()
Definition: OgreGLES2HardwareBufferManager.h:79
void XResizeWindow(Display *nativeDisplayType, Window nativeWindowType, int left, int top)
float mVpTop
Definition: OgreCompositorPassDef.h:100
#define _OgreRTSSExport
Definition: OgreShaderPrerequisites.h:120
Radian operator-() const
Definition: OgreMath.h:69
LodConfig config
Definition: OgreLodWorkQueueRequest.h:44
void setName(const String &name)
Sets a custom name for this node. Doesn't have to be unique.
Definition: OgreBone.h:136
@ ACT_WORLD_MATRIX
The current world matrix.
Definition: OgreGpuProgramParams.h:907
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.
FastArray< MetalTexRegion > textures
Definition: OgreMetalDescriptorSetTexture.h:62
static eExceptionsErrorLevel getExceptionsErrorLevel()
OldSkeletonManager()
Constructor.
ResourceAllocatedObject TextureUnitStateAlloc
Definition: OgreMemoryAllocatorConfig.h:340
HLMS stands for "High Level Material System".
Definition: OgreHlmsJson.h:71
virtual const String & getType() const =0
Returns the factory type.
@ RCP_CREATE_ON_ACTIVE_DEVICE
Definition: OgreD3D9ResourceManager.h:42
@ LB_BlendLighten
Definition: OgreShaderExLayeredBlending.h:52
@ PF_D32_FLOAT_X24_X8
Depth texture format. 32 bits for depth.
Definition: OgrePixelFormat.h:352
virtual void reinitialise(void)
Restart the renderer (normally following a change in settings).
Degree & operator=(const Real &f)
Definition: OgreMath.h:102
static void shutdown(void)
Static method to shutdown and unregister the ASTC codec.
@ ID_VIEWPORT_MODIFIER_MASK
Definition: OgreScriptCompiler.h:896
@ PFG_BC2_UNORM_SRGB
Definition: OgrePixelFormatGpu.h:128
void setEnableBackwardsCompatibility(bool enableBackwardsCompatibility)
Sets whether backwards compatibility is enabled.
Definition: OgreD3D11HLSLProgram.h:327
DataStreamPtr encode(MemoryDataStreamPtr &input, CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
static const uint16 TERRAINLAYERSAMPLER_CHUNK_VERSION
Definition: OgreTerrain.h:285
virtual ManualObject * createManualObject(SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC)
Create a ManualObject, an object which you populate with geometry manually through a GL immediate-mod...
void decomposition(Vector3 &position, Vector3 &scale, Quaternion &orientation) const
Decompose a Matrix4 to orientation / scale / position.
size_t size
Definition: OgreImageCodec.h:64
GLES2DefaultHardwareVertexBuffer(size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage)
TextureGpu * getNormalVox(void)
Definition: OgreVctVoxelizer.h:393
SubMeshLodGeometryLinkList * geometryLodList
Link to LOD list of geometry, potentially optimised.
Definition: OgreStaticGeometry.h:165
SharedPtrInfoDelete(T *o)
Definition: OgreSharedPtr.h:75
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.
virtual void getRenderOperation(RenderOperation &op, bool casterPass)
Gets the render operation required to send this object to the frame buffer.
static UniformParameterPtr createSampler3D(int index)
@ TEXCALC_ENVIRONMENT_MAP
Environment map based on vertex normals.
Definition: OgreRenderSystem.h:67
void nodeUpdated(const Node *node)
const String & getName(void) const
Get the name of the library.
Definition: OgreDynLib.h:108
static ID3D11Query * waitFor(ID3D11Query *fenceName, ID3D11DeviceContextN *deviceContext)
Will stall undefinitely until GPU finishes (signals the sync object).
std::vector< ptrdiff_t > PtrdiffVec
Definition: OgreArrayMemoryManager.h:70
@ SPC_POSTOCAMERA_VIEW_SPACE
View vector in view space.
Definition: OgreShaderParameter.h:121
Definition: OgreCbDrawCall.h:70
static void setDefaultInterpolationMode(InterpolationMode im)
Sets the default animation interpolation mode.
void registerThread()
Register the an additional thread which may make calls to rendersystem-related objects.
Real getNormalMapWeight(void) const
Returns the detail normal maps' weight.
const HlmsSamplerblock * getSamplerblock(uint8 texType) const
void setConstant(size_t index, Real val)
Sets a single floating-point parameter to the program.
virtual void setDatablock(HlmsDatablock *datablock)
Assigns a datablock (i.e. HLMS Material) to this renderable.
@ ACT_SPOTLIGHT_PARAMS
Spotlight parameters, Vector4(innerFactor, outerFactor, falloff, isSpot) innerFactor and outerFactor ...
Definition: OgreGpuProgramParams.h:1049
void getCustomAttribute(IdString name, void *pData)
size_t tell(void) const
Returns the current byte offset from beginning.
@ ID_SPLIT
Definition: OgreScriptCompiler.h:1017
static const IdString NormalWeightDetail3
Definition: OgreHlmsPbsMobile.h:123
Ogre assumes that there are separate vertex and fragment programs to deal with but GLSL has one progr...
Definition: OgreGLSLSeparableProgramManager.h:54
virtual void setDepthBufferPool(uint16 poolId)
Sets the pool ID this RenderTarget should query from.
void destroyAllVertexTracks(void)
Removes and destroys all tracks making up this animation.
Definition: OgreScriptCompiler.h:590
Real splitBlend
Definition: OgreCompositorShadowNodeDef.h:71
void addRenderables(RenderQueue *queue, uint8 group, const FastArray< unsigned char > ¤tMatLod)
Add children to the render queue.
@ ID_NONE
Definition: OgreScriptCompiler.h:702
bool isStatic() const
Checks whether this node is static. @See setStatic.
Vector2 uvOffset
Definition: OgreCompositorShadowNodeDef.h:59
void resize(ushort width, ushort height, Filter filter=FILTER_BILINEAR)
Resize a 2D image, applying the appropriate filter.
static GLSLSeparableProgramManager * getSingletonPtr(void)
int8 kernelEnd
Definition: OgreImageDownsampler.h:226
void buildEnd(void)
Finishes placing all probes and renders to them again, this time with the modified auto-generated sha...
static void toStr(const ColourValue &value, String &outString)
@ Clear
Clear the whole resource or a fragment of it depending on viewport settings.
Definition: OgreRenderPassDescriptor.h:58
@ InheritOrientation
Definition: OgreArrayMemoryManager.h:314
@ PFG_ASTC_RGBA_UNORM_8X6_sRGB
Definition: OgrePixelFormatGpu.h:258
String mResourceGroup
Definition: OgreScriptCompiler.h:592
ResourceDeclarationList getResourceDeclarationList(const String &groupName)
Get the list of resource declarations for the specified group name.
virtual MaterialPtr getDefaultSettings(void) const
Returns a pointer to the default Material settings.
Definition: OgreMaterialManager.h:205
virtual ~DDSCodec2()
Definition: OgreDDSCodec2.h:76
size_t getFrameCount(void) const
vector< GPUVendorRule >::type GPUVendorRuleList
Definition: OgreTechnique.h:114
ulong frameNumber
Definition: OgreProfiler.h:340
@ ID_LOAD
Definition: OgreScriptCompiler.h:879
bool getPassSurfaceAndLightStates(void) const
Returns whether a vertex program wants light and material states to be passed through fixed pipeline ...
Definition: OgreScriptCompiler.h:600
@ ID_GAUSS_DEVIATION
Definition: OgreScriptCompiler.h:994
virtual void applyDeltaValue(const Vector2 &)
Apply delta value.
Definition: OgreAnimable.h:201
virtual void _setToDisplayDummyTexture(void)=0
SceneManager * getSceneManager(const String &instanceName) const
Get an existing SceneManager instance that has already been created, identified by the instance name.
Structure encapsulating import data that you may use to bootstrap the terrain without loading from a ...
Definition: OgreTerrain.h:328
void setWorkerThreadMaxPreloadBytes(size_t maxPreloadBytes)
The worker thread first loads the texture from disk to RAM (aka "preload", and then copies from RAM t...
void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
VertexHash()
Definition: OgreLodData.h:72
TempBlendedBufferInfo * _getSkelAnimTempBufferInfo(void)
Advanced method to get the temp buffer information for software skeletal animation.
virtual void clearResults(void)
Clears the results of the last query execution.
Definition: OgreVctLighting.h:46
HlmsJsonListener * mJsonListener
Definition: OgreHlmsManager.h:130
Technique * getCurrentTechnique(void) const
Get the current Technique.
Definition: OgreStaticGeometry.h:300
@ PFG_RGBA16_UINT
Definition: OgrePixelFormatGpu.h:61
@ ACT_INVERSE_TEXTURE_SIZE
Provides inverse texture size of the texture unit (index determined by setAutoConstant call).
Definition: OgreGpuProgramParams.h:1353
@ ID_BILINEAR
Definition: OgreScriptCompiler.h:747
PixelFormat format
The pixel format.
Definition: OgrePixelBox.h:80
@ HBU_STATIC_WRITE_ONLY
Combination of HBU_STATIC and HBU_WRITE_ONLY.
Definition: OgreHardwareBuffer.h:109
virtual bool canHandleRequest(const Request *req, const WorkQueue *srcQ)
Return whether this handler can process a given request.
Definition: OgreWorkQueue.h:179
void blitFromTexture(GL3PlusTextureBuffer *src, const Box &srcBox, const Box &dstBox)
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.
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:398
GLSLProgram(GLSLShader *vertexProgram, GLSLShader *hullProgram, GLSLShader *domainProgram, GLSLShader *geometryProgram, GLSLShader *fragmentProgram, GLSLShader *computeProgram)
Constructor should only be used by GLSLMonolithicProgramManager and GLSLSeparableProgramManager.
uint32 getNumSlices(void) const
Definition: OgreForward3D.h:106
Definition: OgreScriptTranslator.h:166
const HardwareVertexBufferSharedPtr & _getHardwareVertexBuffer(const VertexData *origData) const
Get a hardware vertex buffer version of the vertex offsets.
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.
const String & getName(void) const
Returns the name of the rendering system.
Command object for setting target assembler.
Definition: OgreD3D11HLSLProgram.h:63
@ ID_TESSELLATION_DOMAIN_PROGRAM
Definition: OgreScriptCompiler.h:1027
SubMesh * getSubMesh(unsigned short index) const
Gets a pointer to the submesh indicated by the index.
static const IdString ParallaxCorrectCubemaps
Definition: OgreHlmsPbs.h:547
void setLightingEnabled(bool enabled)
void setShadingType(ShadeOptions so)
const Vector3 & getProbeCameraPos(void) const
Definition: OgreCubemapProbe.h:223
bool immutable
Definition: OgreConfigOptionMap.h:54
#define OGRE_MAX_MULTIPLE_RENDER_TARGETS
Define max number of multiple render targets (MRTs) to render to at once.
Definition: OgreConfig.h:126
CbBase * getLastCommand(void)
Returns a pointer to the last created command.
virtual bool isLoading() const
Returns whether the resource is currently in the process of background loading.
Definition: OgreResource.h:364
virtual const String & getTargetLanguage() const
Definition: OgreShaderGLSLProgramWriter.h:72
Class representing a node in the scene graph.
Definition: OgreSceneNode.h:57
@ ID_BINDING_TYPE
Definition: OgreScriptCompiler.h:800
bool watchForLimit(const String &profileName, Real limit, bool greaterThan=true)
void setEmissive(const ColourValue &emissive)
Sets the amount of self-illumination an object has.
Definition: OgrePass.h:336
void setDebugOutputPath(bool enableDebugOutput, bool outputProperties, const String &path=BLANKSTRING)
Call to output the automatically generated shaders (which are usually made from templates) on the giv...
~GL3PlusFrameBufferObject()
Compositor nodes are the core subject of compositing.
Definition: OgreCompositorNode.h:97
void _setSurfaceParams(const ColourValue &ambient, const ColourValue &diffuse, const ColourValue &specular, const ColourValue &emissive, Real shininess, TrackVertexColourType tracking)
Sets the surface properties to be used for future rendering.
An abstraction of a viewport, i.e.
Definition: OgreViewport.h:58
void addLodListener(LodListener *listener)
Add a level of detail listener.
void removeSceneManagerFactory(SceneManagerFactory *fact)
Unregister a SceneManagerFactory.
Represents constant buffers (also known as Uniform Buffers in GL)
Definition: OgreConstBufferPacked.h:39
bool _OgreVolumeExport operator<(const Vector3 &a, const Vector3 &b)
A less operator.
void setGlobalColourMapEnabled(bool enabled)
Whether to support a global colour map over the terrain in the shader, if it's present (default true)...
void setAutoCalculate(bool autoCalc)
Tells the spline whether it should automatically calculate tangents on demand as points are added.
virtual void _renderEmulated(const CbDrawCallIndexed *cmd)
virtual Real getLoadingOrder(void) const =0
Gets the relative loading order of scripts of this type.
virtual bool handleEvent(ScriptCompiler *compiler, ScriptCompilerEvent *evt, void *retval)
Called when an event occurs during translation, return true if handled.
ulong accum
Represents the total time of all child profiles to subtract from this profile.
Definition: OgreProfiler.h:349
virtual void notifyTextureChanged(TextureGpu *texture, TextureGpuListener::Reason reason, void *extraData)
Definition: OgreGLES2HardwareIndexBuffer.h:39
static void startup(void)
Static method to startup and register the ETC codec.
VectorRange(T &c)
Constructor.
Definition: OgreIteratorRange.h:149
Any()
Definition: OgreAny.h:64
vector< SubMesh * >::type SubMeshList
Definition: OgreMesh.h:105
void connectOutput(CompositorNode *finalNode, size_t inputChannel)
The final rendering is done by passing the RenderWindow to one of the input channels.
Definition: OgreScriptTranslator.h:213
void setConfigOption(const String &name, const String &value)
void setIrradianceOrigin(const Vector3 &origin)
Definition: OgreIrradianceVolume.h:108
SharedPtr< CodecData > CodecDataPtr
Definition: OgreCodec.h:75
virtual void _autogenerateMipmaps(void)
Tells the API to let the HW autogenerate mipmaps.
RotationInterpolationMode getRotationInterpolationMode(void) const
Gets the current rotation interpolation mode of this animation.
void setOverlaysEnabled(bool enabled)
Tells this viewport whether it should display Overlay objects.
Specialisation of HardwareVertexBuffer for emulation.
Definition: OgreGLES2DefaultHardwareBufferManager.h:42
ArrayQuaternion()
Definition: C/OgreArrayQuaternion.h:70
InvalidStateException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
DXGI_SWAP_EFFECT SwapEffect
Definition: OgreD3D11LegacySDKEmulation.h:62
virtual void getCustomAttribute(const String &name, void *pData)
@ ID_FSAA
Definition: OgreScriptCompiler.h:1015
void setPosition(Real x, Real y, Real z)
Sets the camera's position.
DisplayMode getDisplayMode() const
Get the display mode for the overlay.
Definition: OgreProfiler.h:393
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:196
bool hit
Whether an intersection occurred.
Definition: OgreTerrainGroup.h:381
void _writeRawConstant(size_t physicalIndex, const Matrix4 &m, size_t elementCount)
Write a Matrix4 parameter to the program.
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...
VertexData * _getHardwareVertexAnimVertexData(void) const
Advanced method to get the hardware morph vertex information.
void setVSyncInterval(unsigned interval)
Definition: OgreD3D11RenderWindow.h:124
int mcTriangles[256][16]
Triangulation lookup table.
Definition: OgreVolumeIsoSurfaceTablesMC.h:65
@ LB_BlendAdd
Definition: OgreShaderExLayeredBlending.h:56
static const IdString InstancedStereo
Definition: OgreHlms.h:859
bool pullOcclusionQuery(unsigned int *NumOfFragments)
Pulls the hardware occlusion query.
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
Create counter buffer.
String doGet(const void *target) const
unordered_map< String, ResourceMap >::type ResourceWithGroupMap
Definition: OgreResourceManager.h:569
@ IF_COMPRESSED
Definition: OgreImage.h:45
void ToAngleAxis(Degree &dAngle, Vector3 &rkAxis) const
Definition: OgreQuaternion.h:142
void setNamedConstant(const String &name, const double *val, size_t count, size_t multiple=4)
Sets a multiple value constant floating-point parameter to the program.
Matrix4 getInverseTransposeViewMatrix() const
@ LOADSTATE_UNLOADED
Not loaded.
Definition: OgreResource.h:121
static const IdString DetailWeightMap
Definition: OgreHlmsPbsMobile.h:111
const WorldMap & getWorlds() const
Get a reference to the worlds that are currently loaded.
Definition: OgrePageManager.h:181
vector< size_t >::type VecIndices
To hold indices.
Definition: OgreVolumeMeshBuilder.h:102
void setInitialised(bool flag)
Definition: OgreGLES2VertexArrayObject.h:51
static UniformParameterPtr createSampler2DArray(int index)
bool getDebugShaders(void) const
Definition: OgreRenderSystem.h:1387
SceneObjAllocatedObject OverlayAlloc
Definition: OgreMemoryAllocatorConfig.h:316
vector< ComputeTextureSource >::type TextureSources
Definition: OgreCompositorPassComputeDef.h:84
void destroyResourcePool(const String &name)
Destroy a resource pool.
void scroll(Real xoff, Real yoff)
Scrolls the overlay by the offsets provided.
virtual void objectAttached(MovableObject *)
MovableObject has been attached to a node.
Definition: OgreMovableObject.h:77
Ogre::Vector2 rightEyeCenter
Definition: OgreHiddenAreaMeshVr.h:56
void * lock(size_t offset, size_t length, LockOptions options)
Override HardwareBuffer to turn off all shadowing.
Comparator function to be used for comparisons.
Definition: OgreShaderFunctionAtom.h:241
~DefaultSphereSceneQuery()
virtual String getRealResourceNameStr(void) const
Returns the real name (e.g. disk in file) of the resource.
VertexAnimationTrack * createVertexTrack(unsigned short handle, VertexData *data, VertexAnimationType animType)
Creates a VertexAnimationTrack and associates it with VertexData.
D3D11HardwareBufferManager(D3D11Device &device)
Definition: OgreD3D11HardwareBufferManager.h:69
static const IdString NumTextures
Definition: OgreUnlitProperty.h:66
@ PFG_PVRTC_RGB2
PVRTC (PowerVR) RGB 2 bpp.
Definition: OgrePixelFormatGpu.h:195
ParticleAffectorFactory()
Definition: OgreParticleAffectorFactory.h:60
virtual void setRequestsAccepted(bool accept)
Set whether to accept new requests or not.
virtual Quaternion convertLocalToWorldOrientation(const Quaternion &localOrientation)
Gets the world orientation of an orientation in the OldNode local space useful for simple transforms ...
static const IdString UvDetailNm2
Definition: OgreHlmsPbsMobile.h:150
size_t paddedBytes
Definition: OgreGL3PlusVaoManager.h:61
Collects a group of static i.e.
Definition: OgreStaticFaceGroup.h:69
bool execute(ObjectData objData, size_t numNodes, SceneQueryListener *listener)
ShaderParams & getShaderParams(IdString key)
Gets a shader parameter with the given key.
virtual bool setDrawBuffer(ColourBufferType colourBuffer)=0
void store4x3(float *RESTRICT_ALIAS dst) const
Assumes dst is aligned.
Definition: C/OgreArrayMatrixAf4x3.h:261
void _useLights(const LightList &lights, unsigned short limit)
See RenderSystem.
Definition: OgreGL3PlusRenderSystem.h:281
static bool endsWith(const String &str, const String &pattern, bool lowerCase=true)
Returns whether the string ends with the pattern passed in.
float posV
Definition: OgreShaderExTextureAtlasSampler.h:60
IdString getName(void) const
Definition: OgreTextureDefinition.h:169
Placing multiple PCC probes by hand can be difficult and even error prone.
Definition: OgrePccPerPixelGridPlacement.h:69
void _addMetrics(const Metrics &newMetrics)
LodData()
Definition: OgreLodData.h:181
Thread-safe buffer for storing Hardware index buffer.
Definition: OgreLodBuffer.h:41
GLuint instancingDivisor
Definition: OgreGLES2VaoManager.h:107
Radian & operator-=(const Radian &r)
Definition: OgreMath.h:72
const String & getGroup(void) const
Gets the group which this resource is a member of.
uint8 mViewportModifierMask
Definition: OgreCompositorPassDef.h:178
uint16 getLightMapSize() const
Get the default size of the lightmaps for a new terrain.
Definition: OgreTerrain.h:2078
Defines a part of a complete mesh.
Definition: OgreSubMesh.h:63
CornerEnum
Definition: OgreAxisAlignedBox.h:80
bool isPoolOwner(void) const
Variant type that can hold Any other type.
Definition: OgreAny.h:61
virtual bool notifyRecreated(const TextureGpu *channel)
@See CompositorNode::notifyRecreated
bool hasEmissiveTex(void) const
Definition: OgreVctMaterial.h:58
Definition: OgreLodCollapser.h:40
virtual void detachDepthBuffer(void)
static const IdString UvDiffuse2
Definition: OgreUnlitProperty.h:79
virtual ~GeometryBucket()
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 setNamedConstant(const String &name, int val)
Sets a single value constant integer parameter to the program.
virtual void _setTextureCS(uint32 slot, bool enabled, Texture *texPtr)
ExternalTextureSource()
Constructor.
ArrayVector3 mDirection
Definition: OgreArrayRay.h:40
bool intersects(const Vector3 &v) const
Returns whether or not this sphere intersects a point.
Definition: OgreSphere.h:94
void destroyVertexTrack(unsigned short handle)
Destroys the Vertex track with the given handle.
virtual void removeAnimation(const String &name)
Removes vertex Animation from this mesh.
const String & getMovableType(void) const
@ ACT_PACKED_TEXTURE_SIZE
Provides packed texture size of the texture unit (index determined by setAutoConstant call).
Definition: OgreGpuProgramParams.h:1357
static const IdString BlendModeIndex13
Definition: OgreUnlitProperty.h:124
static void simulateFiltersForCacheConsistency(uint32 filters, const Image2 &image, const TextureGpuManager *textureGpuManager, uint8 &inOutNumMipmaps, PixelFormatGpu &inOutPixelFormat)
Simulates as if the given filters were applied, producing the resulting number mipmaps & PixelFormat.
Base class for GL Render Textures.
Definition: OgreGLES2RenderTexture.h:54
static const IdString GlAmdTrinaryMinMax
Definition: OgreHlms.h:933
virtual void abortAllRequests()
Abort all previously issued requests.
Real getMaxSupportedAnisotropy()
Get the maximum supported anisotropic filtering.
Definition: OgreRenderSystemCapabilities.h:813
@ PFG_Y210
Definition: OgrePixelFormatGpu.h:171
void resize(unsigned int width, unsigned int height)
Alter the size of the window.
void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
void doSet(void *target, const String &val)
static bool recommendsAgs(IDXGIAdapter *adapter)
CompositorPassQuad(const CompositorPassQuadDef *definition, Camera *defaultCamera, CompositorNode *parentNode, const RenderTargetViewDef *rtv, Real horizonalTexelOffset, Real verticalTexelOffset)
static const ArrayVector3 UNIT_X
Definition: C/OgreArrayVector3.h:346
virtual void convertPath(String &inOutPath) const
Some implementations (i.e.
Definition: OgreAPKZipArchive.h:66
ProgramProcessor()
Class constructor.
void _initialise(bool forceReinitialise=false)
Try to initialise the Entity from the underlying resources.
static CommandBufferExecuteFunc execute_lowLevelMaterial
Definition: OgreCommandBuffer.h:98
virtual DataStreamPtr create(const String &filename)
Create a new file (or overwrite one already there).
const TempBlendedBufferInfo * _getVertexAnimTempBufferInfo(void) const
virtual DataStreamPtr grouplessResourceOpened(const String &name, Archive *archive, DataStreamPtr &dataStream)=0
Similar to resourceStreamOpened, gets called when a groupless manager has already opened a resource a...
~LightFactory()
Definition: OgreLight.h:660
virtual void bindBufferCS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
CGProgramWriter()
Class constructor.
void save(const String &filename, uint8 mipLevel, uint8 numMipmaps)
Save the image as a file.
void setEsmK(uint16 K)
Sets the 'K' parameter of ESM filter.
void setHSB(Real hue, Real saturation, Real brightness)
Set a colour value from Hue, Saturation and Brightness.
Vector3 getDerivedRight(void) const
Gets the derived right vector of the camera, including any rotation inherited from a node attachment ...
map< String, PageContentCollectionFactory * >::type ContentCollectionFactoryMap
Definition: OgrePageManager.h:206
const double * getDoublePointer(size_t pos) const
Get a pointer to the 'nth' item in the double buffer.
Definition: OgreGpuProgramParams.h:776
static GpuProgramManager & getSingleton(void)
Override standard Singleton retrieval.
virtual int getNumBillboards(void) const
Returns the number of active billboards which currently make up this set.
virtual void setClearDepth(Real clearDepth)
virtual_l2 Vector3 _getDerivedScale(void) const
Gets the scaling factor of the node as derived from all parents.
void setFragmentProgram(const String &name, bool resetParams=true)
Sets the details of the fragment program to use.
float mVpScissorTop
Definition: OgreCompositorPassDef.h:104
const String & getLodStrategyName(void) const
Returns the name of the Lod strategy the user lod values have been calibrated for.
Definition: OgreMesh.h:511
void unregisterThread()
Unregister an additional thread which may make calls to rendersystem-related objects.
uint32 getSrcHeight(void) const
Returns the height of the original input texture (may differ due to hardware requirements).
Definition: OgreTexture.h:233
virtual void _setCurrentDeviceFromTexture(TextureGpu *texture)
Because Ogre doesn't (yet) have the notion of a 'device' or 'GL context', this function lets Ogre kno...
Definition: OgreD3D11RenderSystem.h:204
const void * _getInitialData(void) const
Definition: OgreD3D11BufferInterface.h:65
const String & getType(void) const
Get the type of the object to be created.
@ OPT_1
Optimisation level 1.
Definition: OgreD3D9HLSLProgram.h:156
uint32 uavSlot
The slot must be in range [0; 64) and ignores the starting slot (.
Definition: OgreCompositorPassDef.h:191
void setTessellationDomainProgramConstantIntCount(ushort c)
The number of integer constants tessellation Domain programs support.
Definition: OgreRenderSystemCapabilities.h:916
virtual String getDisplayName(void)
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...
virtual void _convertProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest)
See RenderSystem.
@ RenderTarget
Definition: OgreResourceTransition.h:51
TextureBlend()
Definition: OgreShaderExLayeredBlending.h:95
void setNeighbour(NeighbourIndex index, Terrain *neighbour, bool recalculate=false, bool notifyOther=true)
Set a terrain's neighbour, or null to detach one.
GLenum destBlend
Definition: OgreGL3PlusHlmsPso.h:56
WorldFragmentType
This type can be used by collaborating applications & SceneManagers to agree on the type of world geo...
Definition: OgreSceneQuery.h:81
virtual void calculateHashFor(Renderable *renderable, uint32 &outHash, uint32 &outCasterHash)
Called by the renderable when either it changes the material, or its properties change (e....
Destination(BufferPacked *_destination, size_t _dstOffset, size_t _srcOffset, size_t _length)
Definition: OgreStagingBuffer.h:95
Factory object for creating Light instances.
Definition: OgreLight.h:653
Class for manipulating bit patterns.
Definition: OgreBitwise.h:68
MapIterator< SettingsMultiMap > SettingsIterator
Definition: OgreConfigFile.h:91
VertexAnimationType getAnimationType(void) const
Get the type of vertex animation we're performing.
Definition: OgreAnimationTrack.h:621
Real skirtFactor
Factor for the skirt length generation.
Definition: OgreVolumeChunk.h:71
@ PFG_ASTC_RGBA_UNORM_5X4_sRGB
Definition: OgrePixelFormatGpu.h:253
void save(DataStreamPtr &dataStream, const HlmsPropertyVec &properties)
@ GCT_UINT2
Definition: OgreGpuProgramParams.h:113
virtual void yaw(const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the OldNode around the Y-axis.
ComPtr< ID3D11InputLayout > getLayoutForPso(const VertexElement2VecVec &vertexElements)
AxisAlignedBox(Real mx, Real my, Real mz, Real Mx, Real My, Real Mz)
Definition: OgreAxisAlignedBox.h:120
const MaterialPtr & getCustomShadowReceiverMaterial(const SkinningType skinningType, ushort index) const
Returns the name of a custom shadow receiver material for a given number of weights.
bool hasVertexAnimation(void) const
Returns whether or not this mesh has some kind of vertex animation.
@ AmbientAuto
Use fixed-colour ambient lighting when upper hemisphere = lower hemisphere, use hemisphere lighting w...
Definition: OgreHlmsPbs.h:93
void performStoreActions(bool hasArbInvalidateSubdata, uint32 entriesToFlush)
void reset(uint64 timeMs)
Definition: OgreFrameStats.h:104
static String Type
Definition: OgreShaderFFPLighting.h:86
virtual void _setToDisplayDummyTexture(void)
@ DXGI_ALPHA_MODE_PREMULTIPLIED
Definition: OgreD3D11LegacySDKEmulation.h:44
Root(const String &pluginFileName="plugins" OGRE_BUILD_SUFFIX ".cfg", const String &configFileName="ogre.cfg", const String &logFileName="Ogre.log")
Constructor.
const String & getName() const
Definition: OgreHardwareCounterBuffer.h:62
SharedPtr(Y *rep, SharedPtrFreeMethod inFreeMethod=SPFM_DELETE)
Constructor.
Definition: OgreSharedPtr.h:168
Atom mAtomFullScreen
Definition: OgreX11EGLSupport.h:161
Vector3(const Real fX, const Real fY, const Real fZ)
Definition: OgreVector3.h:65
void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
virtual ~MeshSerializerImpl_v2_1_R0()
virtual void markProfileEvent(const String &eventName)
Marks an instantaneous event for graphics profilers.
D3D9HardwareBufferManager()
Definition: OgreD3D9HardwareBufferManager.h:69
@ Ready
Definition: OgreAsyncTextureTicket.h:58
Definition: OgreCbDrawCall.h:55
void requestOptions(Terrain *terrain)
Request the options needed from the terrain.
void setManualValue(const Matrix4 &value)
virtual void removeChild(Node *child)
Drops the specified child from this node.
Definition: OgreX11EGLSupport.h:91
bool isInitialised(void) const
Gets whether the overlay is initialised or not.
Definition: OgreOverlay.h:120
const Vector3 getCenterBackTop(void) const
Gets the center of the corners 4, 5.
Definition: OgreVolumeOctreeNode.h:346
uint8 getSourceType(void) const
static T * getSingletonPtr(void)
Definition: OgreSingleton.h:92
static bool removeDirectory(const Ogre::String &name)
Delete a directory.
Definition: OgreVertexIndexData.h:239
void frameEnded(void)
Called when the frame has fully ended (ALL passes have been executed to all RTTs)
virtual bool getDynamic(void) const
Gets whether or not the buffers created for this object are suitable for dynamic alteration.
Definition: OgreBillboardChain.h:202
const Pass * getCurrentPass(void) const
Block(size_t _offset, size_t _size)
Definition: OgreD3D11VaoManager.h:52
void setTextureTransform(const Matrix4 &xform)
Sets a matrix used to transform any texture coordinates on this layer.
void _setRenderTarget(RenderTarget *target, uint8 viewportRenderTargetFlags)
Set current render target to target, enabling its GL context if needed.
This is a class that is the base class of the query class for hardware occlusion.
Definition: OgreGL3PlusHardwareOcclusionQuery.h:66
ParticleSystemFactory * _getFactory(void)
Get an instance of ParticleSystemFactory (internal use).
Definition: OgreParticleSystemManager.h:353
Define the interface to a factory class that will create subclasses of PageContentCollection.
Definition: OgrePageContentCollectionFactory.h:48
GL3PlusFBOManager * getManager()
Definition: OgreGL3PlusFrameBufferObject.h:82
void setHeight(Real height)
Sets the height of this element in relation to the screen (where 1.0 = screen height)
void _firstUpload(const void *data, size_t elementStart, size_t elementCount)
Only use this function for the first upload.
virtual StagingStallType uploadWillStall(size_t sizeBytes)
Returns true if our next call to @map() with the same parameters will stall.
@ ExceptionThrown
Called when the worker thread caught an exception.
Definition: OgreTextureGpuListener.h:89
MetalNullTextureTarget(MetalNullTexture *ultimateTextureOwner, const String &name, v1::HardwarePixelBuffer *buffer, uint32 zoffset)
size_t uintBufferSize
Total size of the uint buffer required.
Definition: OgreGpuProgramParams.h:494
Vector3 mLeftToRight
Definition: OgreCamera.h:50
virtual ~PagedWorldSection()
virtual const String & getSource(void) const
Gets the assembler source for this program.
Definition: OgreGpuProgram.h:277
virtual void applyDeltaValue(const ColourValue &)
Apply delta value.
Definition: OgreAnimable.h:217
Vector2(const int afCoordinate[2])
Definition: OgreVector2.h:80
void fillConstBufferData(const Matrix4 &viewMatrix, float *RESTRICT_ALIAS passBufferPtr) const
@ PF_ASTC_RGBA_4X4_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 4x4)
Definition: OgrePixelFormat.h:261
_OgreExport FailBehavior ReportFailure(const char *condition, const char *file, int line, const char *msg,...)
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.
GLuint getStencilBuffer() const
Definition: OgreGLES2DepthBuffer.h:69
virtual ~GL3PlusTextureGpuManager()
void unmap(void)
Unmaps the pointer mapped with map().
Real getCosTime_0_X(Real x) const
SmallVector(ItTy S, ItTy E)
Definition: OgreMain/include/OgreSmallVector.h:750
Command object for particle_height (see ParamCommand).
Definition: OgreParticleSystem.h:106
void addNodeAlias(IdString alias, IdString nodeName)
An alias is explicitly used when the user wants to use multiple, independent instances of the same no...
const LightClosestArray & getShadowCastingLights(void) const
Definition: OgreCompositorShadowNode.h:276
BackgroundProcessResult()
Definition: OgreResourceBackgroundQueue.h:58
virtual size_t getSize(void) const
Retrieves info about the size of the resource.
Definition: OgreResource.h:316
ParallaxCorrectedCubemapAuto * getParallaxCorrectedCubemap()
Definition: OgrePccPerPixelGridPlacement.h:127
uint32 getNumCollectedProbes(void) const
Definition: OgreParallaxCorrectedCubemap.h:215
Manager for Dynamic-loading Libraries.
Definition: OgreDynLibManager.h:52
virtual AsyncTicketPtr createAsyncTicket(BufferPacked *creator, StagingBuffer *stagingBuffer, size_t elementStart, size_t elementCount)
const T * const_pointer
Definition: OgreMain/include/OgreSmallVector.h:181
GeneralAllocatedObject ConfigAlloc
Definition: OgreMemoryAllocatorConfig.h:304
virtual void setFindVisibleObjects(bool find)
Sets whether the SceneManager should search for visible objects, or whether they are being manually h...
Definition: OgreSceneManager.h:2566
virtual Real getSquaredViewDepth(const Camera *cam) const
Helper function, get the squared view depth.
~GL3PlusDefaultHardwareBufferManagerBase()
void invalidate(D3D9RenderWindow *renderWindow)
@ PFG_BGRX8_UNORM_SRGB
Avoid this one (prefer RGBA8).
Definition: OgrePixelFormatGpu.h:153
size_t numTextureViews
Definition: OgreMetalDescriptorSetTexture.h:66
virtual void setFocused(bool focused)
void setMaxVertexCount(unsigned int maxVertexCount)
Set the maximum number of vertices that the buffer will hold.
Definition: OgreRenderToVertexBuffer.h:75
XVisualInfo * getVisualFromFBConfig(::EGLConfig glConfig)
int colormap
Definition: OgreX11EGLSupport.h:90
bool _fireFrameRenderingQueued()
Method for raising frame rendering queued events.
void loadAllTextures(void)
Matrix4 getAsMatrix4(size_t index) const
STRONGLY Prefer using.
Definition: C/OgreArrayMatrix4.h:106
bool getPrepareAllMeshesForShadowVolumes(void)
Retrieves whether all Meshes should prepare themselves for shadow volumes.
int8 kernelEndY
Definition: OgreImageDownsampler.h:220
void setTexture(uint8 texType, TextureGpu *texture, const HlmsSamplerblock *refParams=0, uint16 sliceIdx=std::numeric_limits< uint16 >::max())
Sets a new texture for rendering.
D3D9Driver(unsigned int adapterNumber, const D3DCAPS9 &deviceCaps, const D3DADAPTER_IDENTIFIER9 &adapterIdentifer, const D3DDISPLAYMODE &desktopDisplayMode)
String DisplayString
Definition: OgreOverlayElement.h:52
bool isShadowMapIdxInValidRange(uint32 shadowMapIdx) const
static ArchiveManager * getSingletonPtr(void)
Override standard Singleton retrieval.
list< AnimationState * >::type EnabledAnimationStateList
Definition: OgreAnimationState.h:196
ID3D11Resource * getBlankTextureD3dName(TextureTypes::TextureTypes textureType) const
CategorisedAllocPolicy< Ogre::MEMCATEGORY_RESOURCE > ResourceAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:270
String name
Definition: OgreHlms.h:97
PlanarReflectionActor(const Vector3 ¢er, const Vector2 &halfSize, const Quaternion orientation)
Definition: OgrePlanarReflectionActor.h:117
void generateAutoconfiguredLodLevels(v1::MeshPtr &mesh)
Generates the Lod levels for a mesh without configuring it.
void beginOcclusionQuery()
Starts the hardware occlusion query.
TexBufferPacked * getPoseTexBuffer()
Definition: OgreSubMesh2.h:213
void removeUavUnit(uint8 slotIdx)
Destroys a given texture unit, displacing all the higher tex units.
virtual void freeInternalResourcesImpl(void)
free internal resources
size_t getConstBufferMaxSize(void) const
Definition: OgreVaoManager.h:413
static void applyGamma(uchar *buffer, Real gamma, size_t size, uchar bpp)
Does gamma adjustment.
@ PFG_RGBA8_UNORM_SRGB
Definition: OgrePixelFormatGpu.h:76
bool mMaterialIsHlms
Definition: OgreCompositorPassQuadDef.h:100
@ FILTER_GAUSSIAN_HIGH
Applies gaussian filter over the image, then bilinear downsamples.
Definition: OgreImage2.h:346
static PolygonMode parsePolygonMode(const char *value)
virtual bool load(StreamSerialiser &stream)=0
Load this data from a stream (returns true if successful)
void * mRsData
Definition: OgreDescriptorSetSampler.h:57
uint32 getNumSlices(void) const
For TypeCube this value returns 6.
Radian angleBetween(const Vector3 &dest) const
Gets the angle between 2 vectors.
Definition: OgreVector3.h:647
@ AmbientFixed
Force fixed-colour ambient light. Only uses the upper hemisphere paramter.
Definition: OgreHlmsPbs.h:96
virtual void passEventRaised(MaterialSerializer *ser, MaterialSerializer::SerializeEvent event, bool &skip, const Pass *tech)
Real getTileY(ushort layer=0) const
Gets the number of times the texture should repeat vertically.
Definition: OgreD3D11VertexArrayObject.h:53
Vector3 getMinimum() const
Gets the minimum corner of the box.
Information about one element of a sampler / texture within a layer.
Definition: OgreTerrainMaterialGenerator.h:71
virtual void lodUpdateImpl(const size_t numNodes, ObjectData t, const Camera *camera, Real bias) const
virtual bool requiresTextureFlipping() const
Definition: OgreNULLRenderWindow.h:56
@ GPV_LIGHTS
Varies with light setup.
Definition: OgreGpuProgramParams.h:139
Defines a part of a complete mesh.
Definition: OgreSubMesh2.h:61
void _createSurfaceList(void)
internal method, create D3D11HardwarePixelBuffers for every face and mipmap level.
void destroySkeletonInstance(SkeletonInstance *skeletonInstance)
virtual uchar getPriority() const
Gets the priority of a render target.
Definition: OgreRenderTarget.h:269
map< String, OverlayElement * >::type ChildMap
Definition: OgreOverlayContainer.h:59
static CommandBufferExecuteFunc execute_drawCallStripEmulated
Definition: OgreCommandBuffer.h:72
void setVrData(VrData *vrData)
Sets VR data for calculating left & right eyes See OpenVR sample for more info.
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a vertex buffer.
uint16 mLifetimeId
Except for HlmsSamplerblocks, mLifetimeId is valid throghout the entire life of HlmsManager.
Definition: OgreHlmsDatablock.h:62
Represents Indirect buffers for storing draw call commands.
Definition: OgreIndirectBufferPacked.h:39
void setContentType(ContentType ct)
Set the type of content this TextureUnitState references.
@ SBT_REPLACE
The default blend mode where source replaces destination.
Definition: OgreBlendMode.h:226
const void * map(void)
Maps the buffer for CPU access.
void resetToPose(void)
Resets the transform of all bones to the binding pose. Manual bones are not reset.
bool correctAntipodalityHandling
Definition: OgreShaderExHardwareSkinning.h:69
virtual void prepare(LodData *data)
Definition: OgreIesLoader.h:61
void _firstUpload(void *data, size_t elementStart, size_t elementCount)
Only use this function for the first upload.
bool isVertexBufferShadowed(void) const
Gets whether or not this meshes vertex buffers are shadowed.
Definition: OgreMesh2.h:398
static VertexBufferPacked msDummyVertexBuffer
When a Vao doesn't have a vertex buffer, a dummy one is assigned for performance reasons (avoid check...
Definition: OgreVertexArrayObject.h:240
TextureAtlasSamplerFactory()
This singleton class manages the list of resource groups, and notifying the various resource managers...
Definition: OgreResourceGroupManager.h:282
@ UNLIT_BLEND_LIGHTEN
Definition: OgreHlmsUnlitPrerequisites.h:72
Interface for custom composition passes, allowing custom operations (in addition to the quad,...
Definition: OgreCustomCompositionPass.h:46
void setWorkerThreadMaxPerStagingTextureRequestBytes(size_t maxPerStagingTextureRequestBytes)
The worker thread tracks how many data it is loading so the Main thread can request additional Stagin...
@ RSC_HWOCCLUSION
Supports hardware occlusion queries.
Definition: OgreRenderSystemCapabilities.h:111
Side getSide(const Vector3 ¢re, const Vector3 &halfSize) const
Returns which side of the plane that the given box lies on.
Definition: OgreEGLWindow.h:39
static const uint16 TERRAINLAYERINSTANCE_CHUNK_VERSION
Definition: OgreTerrain.h:289
TerrainLayerDeclaration layerDeclaration
Definition of the contents of each layer (required).
Definition: OgreTerrain.h:396
void destroySceneManager(SceneManager *sm)
Destroy an instance of a SceneManager.
static HighLevelGpuProgramManager & getSingleton(void)
Override standard Singleton retrieval.
Vector4()
Default constructor.
Definition: OgreVector4.h:55
AllocatedObject< GeometryAllocPolicy > GeometryAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:279
bool isInitialised(void) const
Returns a pointer to the set of entities which share a OldSkeletonInstance.
Definition: OgreItem.h:239
void getDepthProbeFullResolution(uint32 &outWidth, uint32 &outHeight) const
virtual unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
Definition: OgreGLES2Support.h:140
virtual void clearMicrocodeCache(void)
Deletes all microcodes. Useful when hot reloading.
size_t indexInAtlas
Definition: OgreShaderExTextureAtlasSampler.h:65
This class will mark vertices of a mesh, which are visible from far away (from outside).
Definition: OgreLodOutsideMarker.h:40
virtual void waitForSpecificFrameToFinish(uint32 frameCount)
Waits for a specific frame to be ready.
@ Store
Keep the contents of what we've just rendered.
Definition: OgreRenderPassDescriptor.h:96
unsigned int getCurrentFrame(void) const
Gets the active frame in an animated or multi-image texture layer.
AreaOfInterestVec mAoI
Definition: OgreInstantRadiosity.h:197
void setTextureRaw(TextureGpu *texture, uint32 sliceIdx)
HlmsManager * mHlmsManager
Definition: OgreHlmsDiskCache.h:170
void seek(size_t pos)
Repositions the read point to a specified byte.
bool canHandleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
Implementation for WorkQueue::ResponseHandler.
static String FACTORY_TYPE_NAME
Definition: OgreBillboardSet.h:847
static const uint16 WORKQUEUE_GENERATE_MATERIAL_REQUEST
Definition: OgreTerrain.h:1547
void link(const RenderState &other, Pass *srcPass, Pass *dstPass)
Link this target render state with the given render state.
@ PF_DXT2
DDS (DirectDraw Surface) DXT2 format.
Definition: OgrePixelFormat.h:114
virtual void setValue(Real)
Set value.
Definition: OgreAnimable.h:155
TextureGpuManager(VaoManager *vaoManager, RenderSystem *renderSystem)
Real valueDegrees() const
Definition: OgreMath.h:106
Defines an object property which is animable, i.e.
Definition: OgreAnimable.h:76
Definition: OgreScriptTranslator.h:236
void getTemplateChecksum(uint64 outHash[2]) const
DXGI_SCALING
Definition: OgreD3D11LegacySDKEmulation.h:49
@ ID_MIPMAP_METHOD
Definition: OgreScriptCompiler.h:989
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.
bool getWBufferEnabled(void) const
Returns true if the renderer will try to use W-buffers when available.
HlmsTextureManager::MetadataCacheMap & getTextureMetadataCache(void)
Definition: OgreHlmsTextureManager.h:390
Bone * getChild(size_t index)
Gets a pointer to a child node.
Definition: OgreBone.h:148
@ ID_ALWAYS_PASS
Definition: OgreScriptCompiler.h:677
virtual const String & getTypeName(void) const =0
Retrieve the type name of this scene manager.
@ OT_PATCH_22_CONTROL_POINT
Definition: OgreHlmsPso.h:81
Definition: OgreCodec.h:67
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
void profileBegin(const char *name, ProfileSampleFlags::ProfileSampleFlags flags)
virtual ~CompositorPassMipmap()
@ ID_TESSELLATION_DOMAIN
Definition: OgreScriptCompiler.h:1035
virtual int32 getCellRangeMinX() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid2DPageStrategy.h:188
RenderWindow * _createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
size_t getNumWorkerThreads() const
Definition: OgreSceneManager.h:1001
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:998
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.
Resource holding data about 3D mesh.
Definition: OgreMesh.h:89
size_t readLine(char *buf, size_t maxCount, const String &delim="\n")
Get a single line from the stream.
static ArrayMaskR getMask(bool booleans[1])
virtual void addLinkedSkeletonAnimationSource(const String &skelName, Real scale=1.0f)
Allows you to use the animations from another Skeleton object to animate this skeleton.
@ NUM_BASIC_BLOCKS
Definition: OgreHlmsDatablock.h:49
size_t getFirstNode(BoneTransform &outTransform, size_t depth)
Retrieves a Transform pointing to the first Node in the given depth.
virtual void setManualNamedConstants(const GpuNamedConstants &namedConstants)
Allows you to manually provide a set of named parameter mappings to a program which would not be able...
virtual uint16 getBitDepth() const
void _setTessellationHullTexture(size_t unit, TextureGpu *tex)
@ MS_UNMAPPED
Definition: OgreBufferPacked.h:67
@ QueryFlags
Definition: OgreArrayMemoryManager.h:389
Class for serialising mesh data to/from an OGRE .mesh file.
Definition: OgreMeshSerializer.h:95
@ SHADOWMAP_PLANEOPTIMAL
Definition: OgreCompositorShadowNodeDef.h:50
@ PASS_SCENE
Definition: OgreCompositorPassDef.h:54
const DownloadDataArray & getDownloadData(void) const
Definition: OgreVertexBufferDownloadHelper.h:198
Vector3 yAxis(void) const
Returns the Y orthonormal axis defining the quaternion.
bool operator!=(const Plane &rhs) const
Definition: OgrePlane.h:159
const Aabb & getFullRegion(void) const
Definition: OgrePccPerPixelGridPlacement.h:144
float getWorldRadiusUpdated()
Gets the bounding Radius scaled by max( scale.x, scale.y, scale.z ).
iterator end()
Definition: OgreCommon.h:483
RenderSysAllocatedObject RenderSysAlloc
Definition: OgreMemoryAllocatorConfig.h:325
bool getCompilationRequired() const
Gets the compilation status of the material.
Definition: OgreMaterial.h:551
void *RESTRICT_ALIAS_RETURN map(size_t start, size_t count, size_t &outTicket)
Assumes mVboName is already bound to GL_COPY_WRITE_BUFFER!!!
unsigned long getNextFrameNumber(void) const
Gets the number of the next frame to be rendered.
Definition: OgreRoot.h:851
Predefined controller function which just passes through the original source directly to dest.
Definition: OgrePredefinedControllers.h:174
vector< QueuedGeometry * >::type QueuedGeometryList
Definition: OgreStaticGeometry.h:182
unordered_map< String, OldNode * >::type ChildOldNodeMap
Definition: OgreOldNode.h:81
bool getDebugVisualizationMode(void) const
GLES2HardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage, bool useShadowBuffer)
@ ID_RESOLVE_MIPMAP
Definition: OgreScriptCompiler.h:836
bool isShaderProfileSupported(const String &profile) const
Returns true if profile is in the list of supported profiles.
Definition: OgreRenderSystemCapabilities.h:641
bool isCompressedStreamValid() const
Returns whether the compressed stream is valid deflated data.
Definition: OgreDeflate.h:132
@ SO_GOURAUD
Definition: OgreCommon.h:231
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.
@ LightGatherDeferred
Definition: OgreHlms.h:89
TextureSlot & getTexture(void)
Definition: OgreDescriptorSetUav.h:198
void setColumnMajorMatrices(bool columnMajor)
Sets whether matrix packing in column-major order.
Definition: OgreD3D11HLSLProgram.h:323
ShadowTextureDefinition * getShadowTextureDefinitionNonConst(size_t texIndex)
Definition: OgreCompositorShadowNodeDef.h:199
virtual void setPageRangeMaxX(int32 maxX)
Set the index range of all Pages (values outside this will be ignored)
FORCEINLINE const SimpleMatrixAf4x3 & _getBoneFullTransform(size_t index) const
Gets full transform of a bone by its index.
Definition: OgreSkeletonInstance.h:152
void doSet(void *target, const String &val)
Aabb getWorldAabbUpdated()
Gets the axis aligned box in world space.
const Matrix4 & getWorldViewProjMatrix(void) const
Command object for setting macro defines.
Definition: OgreGLSLESShader.h:61
size_t getRTShaderSchemeCount() const
Returns the amount of schemes used in the for RT shader generation.
SkyMethod getSkyMethod(void) const
Definition: OgreSceneManager.h:1157
GLenum sourceBlendAlpha
Definition: OgreGL3PlusHlmsPso.h:57
Definition: OgreLodData.h:85
static bool _isDynamic(v1::HardwareBuffer::Usage usage)
void extractUniformsFromProgram(GLuint programObject, const GpuConstantDefinitionMap *vertexConstantDefs, const GpuConstantDefinitionMap *hullConstantDefs, const GpuConstantDefinitionMap *domainConstantDefs, const GpuConstantDefinitionMap *geometryConstantDefs, const GpuConstantDefinitionMap *fragmentConstantDefs, const GpuConstantDefinitionMap *computeConstantDefs, GLUniformReferenceList &uniformList, GLAtomicCounterReferenceList &counterList, GLUniformBufferList &uniformBufferList, SharedParamsBufferMap &sharedParamsBufferMap, GLCounterBufferList &counterBufferList)
Populate a list of uniforms based on an OpenGL program object.
void reinitialise()
Restart the renderer (normally following a change in settings).
virtual Light * createLight()
Creates a light for use in the scene.
static const IdString NormalMap
Definition: OgreHlmsPbsMobile.h:113
static D3D11DeviceResourceManager * get()
virtual void getFrustumExtents(Real &outleft, Real &outright, Real &outtop, Real &outbottom, FrustrumExtentsType frustrumExtentsType=FET_PROJ_PLANE_POS) const
Get the extents of the frustum in view space.
PixelFormatGpu colourFormat[OGRE_MAX_MULTIPLE_RENDER_TARGETS]
PF_NULL if no colour attachment is used.
Definition: OgreHlmsPso.h:104
@ Owner
Definition: OgreArrayMemoryManager.h:380
vector< CompositorChannel >::type CompositorChannelVec
Definition: OgreCompositorChannel.h:53
vector< Archive * >::type ArchiveVec
Definition: OgreArchive.h:223
Defines an instance of a discrete, movable object based on a Mesh.
Definition: OgreItem.h:82
const_reference operator[](unsigned idx) const
Definition: OgreMain/include/OgreSmallVector.h:215
@ PFG_R16_UINT
Definition: OgrePixelFormatGpu.h:103
Real getSquaredViewDepth(const Camera *cam) const
@ ID_ALL
Definition: OgreScriptCompiler.h:880
void _notifyEntityMaterialLodChanged(EntityMaterialLodChangedEvent &evt)
Notify that an entity material LOD change event has occurred.
@ MultisampleResolve
Resolve MSAA rendering into resolve texture.
Definition: OgreRenderPassDescriptor.h:100
virtual uint32 fillBuffersFor(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, uint32 lastTextureHash)=0
Fills the constant buffers.
VertexElement2Vec vertexElements
Definition: OgreGLES2VaoManager.h:101
virtual void applyDeltaValue(const Vector3 &)
Apply delta value.
Definition: OgreAnimable.h:205
virtual String toString() const
Returns the string representation of this parameter.
Definition: OgreShaderParameter.h:341
void endOcclusionQuery()
Ends the hardware occlusion test.
@ ID_CUBIC
Definition: OgreScriptCompiler.h:730
ArchiveVec getPiecesLibraryAsArchiveVec(void) const
ValueType
The type of the value being animated.
Definition: OgreAnimable.h:80
int getTrueTypeMaxBearingY() const
Gets the maximum baseline distance of all glyphs used in the texture.
virtual void stopMapRegion(void)
Must be called from main thread when the StagingBuffer is released.
@ OT_PATCH_6_CONTROL_POINT
Definition: OgreHlmsPso.h:65
void _setDepthBufferWriteEnabled(bool enabled=true)
See RenderSystem.
void clearStoredErrorMessages() const
StreamSerialiser * _readPageStream(PageID pageID, PagedWorldSection *section)
Get a serialiser set up to read Page data for the given PageID.
void removeNameExclusion(const String &type)
Removes a name exclusion.
void destroyWorkspace(void)
@ ExponentialShadowMaps
High quality.
Definition: OgreHlmsPbs.h:83
Vector3 mDirection
Normalised direction vector.
Definition: OgreBillboard.h:84
Helper class to assist you in managing multiple terrain instances that are connected to each other.
Definition: OgreTerrainGroup.h:73
String message
Any messages from the process.
Definition: OgreResourceBackgroundQueue.h:56
RenderQueue(HlmsManager *hlmsManager, SceneManager *sceneManager, VaoManager *vaoManager)
const Real * ptr() const
Pointer accessor for direct copying.
Definition: OgreQuaternion.h:130
ContentType
Enum identifying the type of content this texture unit contains.
Definition: OgreTextureUnitState.h:465
virtual ~MetalTextureManager()
static Real UnitRandom()
Generate a random number of unit length.
void removeGPUVendorRule(GPUVendor vendor)
Removes a matching vendor rule.
@ ID_UV_BAKING_OFFSET
Definition: OgreScriptCompiler.h:925
@ PFG_BC1_UNORM_SRGB
Definition: OgrePixelFormatGpu.h:124
void checkValidity(void) const
void allocateVertexBuffers(Terrain *forTerrain, size_t numVertices, HardwareVertexBufferSharedPtr &destPos, HardwareVertexBufferSharedPtr &destDelta)
Allocate (or reuse) vertex buffers for a terrain LOD.
const Radian & operator+() const
Definition: OgreMath.h:64
virtual void _renderEmulated(const CbDrawCallStrip *cmd)
bool IsWindows10RS3OrGreater()
Definition: OgreOSVersionHelpers.h:98
void migrateTo(ObjectData &inOutTransform, size_t renderQueue, ObjectMemoryManager *dstObjectMemoryManager)
Releases memory belonging to us, not before copying it into another manager.
void readRequests(ReadRequestsArray &requests, size_t elementStart=0, size_t elementCount=0, bool skipRequestIfBufferHasShadowCopy=false)
Utility to get multiple pointers & read specific elements of the vertex, even if they're in separate ...
D3D11NullTexture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, D3D11Device &device)
constructor
void setLayerNormalMappingEnabled(bool enabled)
Whether to support normal mapping per layer in the shader (default true).
Real lodBias
Definition: OgreSceneManager.h:133
const String & getType(void) const
Returns the name of the type of emitter.
Definition: OgreParticleEmitter.h:430
@ VET_COLOUR
alias to more specific colour type - use the current rendersystem's colour packing
Definition: OgreVertexElements.h:77
virtual Real getMaximumDepthInputValue(void)=0
Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
void setFullscreen(bool fullScreen, unsigned int width, unsigned int height)
Alter fullscreen mode options.
static const String & getPointLightExtruderVs_glsl(void)
Get extruder program source for point lights, compatible with glsl.
Definition: OgreShadowVolumeExtrudeProgram.h:239
unsigned short getNumPoints(void) const
Gets the number of control points in the spline.
static ResourceBackgroundQueue * getSingletonPtr(void)
Override standard Singleton retrieval.
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:88
static ArrayMaskR getAllSetMask(void)
@ 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:124
CachedGridBuffer()
Definition: OgreForwardPlusBase.h:66
void unload()
Unload the terrain and free GPU resources.
void setToSign()
Converts the vector to (sign(x), sign(y), sign(z))
static String DEFAULT_SCHEME_NAME
Default material scheme of the shader generator.
Definition: OgreShaderGenerator.h:499
virtual const Any & getUserAny(void) const
Definition: OgreOldNode.h:735
static ArrayReal InvSqrt4(ArrayReal f)
Returns the squared root of the reciprocal of x.
Definition: OgreMathlibC.h:355
bool isStillOutstanding(void)
Lets you know when query is done, or still be processed by the Hardware.
Matrix4 getInverseTransposeWorldViewProjMatrix() const
virtual void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
virtual void _endFrame(void)
Ends rendering of a frame to the current viewport.
virtual bool hasAnisotropicMipMapFilter() const
Determines if the system has anisotropic mip map filter support.
Definition: OgreD3D9RenderSystem.h:383
virtual ~NULLStagingBuffer()
void push_back(const T &Elt)
Definition: OgreMain/include/OgreSmallVector.h:384
void _notifyAllResourcesRemoved(ResourceManager *manager)
Internal method called by ResourceManager when all resources for that manager are removed.
static PixelFormatGpu DefaultDepthBufferFormat
Definition: Deprecated/OgreDepthBuffer.h:165
virtual ~D3D11DepthTexture()
destructor
unsigned long _updateStreamingWorkerThread(ThreadHandle *threadHandle)
@ ID_ARRAY_INDEX
Definition: OgreScriptCompiler.h:1014
UniformParameterPtr resolveAutoParameterReal(GpuProgramParameters::AutoConstantType autoType, GpuConstantType type, Real data, size_t size=0)
Resolve uniform auto constant parameter with associated real data of this program.
A sampler block contains settings that go hand in hand with a texture, and thus are common to many te...
Definition: OgreHlmsSamplerblock.h:65
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...
Definition: OgreD3D11HardwarePixelBuffer.h:40
TextureGpu * resolveTexture
Definition: OgreRenderPassDescriptor.h:119
static const IdString UvSpecular
Definition: OgreHlmsPbsMobile.h:139
bool is3D(void) const
Returns true if this texture layer uses a composite 3D cubic texture.
float uOffset
Definition: OgrePbsMobileShaderCreationData.h:47
MetalStagingTexture(VaoManager *vaoManager, PixelFormatGpu formatFamily, size_t sizeBytes, MetalDevice *device)
@ M_SUBMESH_OPERATION
Definition: OgreMeshFileFormat.h:197
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)
void setMaterialName(const String &matName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Sets the name of the Material which this SubMesh will use.
ProcessNameExclusionScriptCompilerEvent(const String &cls, AbstractNode *parent)
Definition: OgreScriptCompiler.h:537
ItemIdentityException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
void setParticleQuota(size_t quota)
Sets the maximum number of particles this system is allowed to have active at once.
virtual void _render(const CbDrawCallStrip *cmd)
const Request * mRequest
Pointer to the request that this response is in relation to.
Definition: OgreWorkQueue.h:131
@ PF_B8G8R8
24-bit pixel format, 8 bits for blue, green and red.
Definition: OgrePixelFormat.h:73
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
static D3D9StereoDriverBridge & getSingleton(void)
void notifyMaterialChanged(void)
Called when the Terrain changes its material.
const GpuLogicalBufferStructPtr & getFloatLogicalBufferStruct() const
Get the current list of mappings from low-level logical param indexes to physical buffer locations in...
Definition: OgreGpuProgramParams.h:1835
virtual ~Listener()
Virtual destructor needed as class has virtual methods.
Definition: OgreMaterialManager.h:73
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
void _cleanupDepthBuffers(IDirect3DDevice9 *creator)
void setMacroblock(const HlmsMacroblock *macroblock)
Calls to this function cannot be skipped unless you have a renderableHash.
virtual Real computeEdgeCollapseCost(LodData *data, LodData::Vertex *src, LodData::Edge *dstEdge)=0
Returns the collapse cost of the given edge.
virtual int getExecutionOrder() const
@ ERR_INVALID_STATE
Definition: OgreException.h:108
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
Definition: OgreShaderFFPAlphaTest.h:104
iterator findExists(const T &item)
Definition: OgreVectorSetImpl.h:112
const String & getType(void) const
Gets the type of this renderer - must be implemented by subclasses.
@ RSC_COMPUTE_PROGRAM
Supports hardware compute programs.
Definition: OgreRenderSystemCapabilities.h:192
void save(DataStreamPtr &dataStream, const String &string)
CompositorManager2 * getCompositorManager()
Gets the compositor manager (non const)
void deleteFrameTextureName(const size_t frameNumber)
Deletes a specific texture frame.
@ SPC_LIGHTDIRECTION_VIEW_SPACE2
Definition: OgreShaderParameter.h:189
virtual NodeMemoryManager * getDefaultNodeMemoryManager(SceneMemoryMgrTypes sceneType)=0
void abortRequest(BackgroundProcessTicket ticket)
Aborts background process.
uint16 getNativeShadingLanguageVersion() const
Gets the native shading language version for this render system.
Definition: OgreRenderSystem.h:1126
virtual float * preparePassBuffer(const CompositorShadowNode *shadowNode, bool casterPass, bool dualParaboloid, SceneManager *sceneManager, float *passBufferPtr)
Users can write to passBufferPtr.
Definition: OgreHlmsListener.h:124
void _setTexturePtr(TextureGpu *texptr)
Set the texture pointer for the current frame (internal use only!).
DatablockEntry(HlmsDatablock *_datablock, bool _visibleToManager, const String &_name, const String &_srcFile, const String &_srcGroup)
Definition: OgreHlms.h:101
bool isHardwareAnimationEnabled(void)
Returns whether or not hardware animation is enabled.
Specialisation of HighLevelGpuProgram to provide support for D3D9 High-Level Shader Language (HLSL).
Definition: OgreD3D9HLSLProgram.h:44
virtual Technique * handleSchemeNotFound(unsigned short schemeIndex, const String &schemeName, Material *originalMaterial, unsigned short lodIndex, const Renderable *rend)=0
Called if a technique for a given scheme is not found within a material, allows the application to sp...
Concrete impl.
Definition: OgreOverlayProfileSessionListener.h:51
@ OT_PATCH_5_CONTROL_POINT
Definition: OgreHlmsPso.h:64
ShadowFilter
Definition: OgreHlmsPbs.h:62
static ArrayReal Min(ArrayReal a, ArrayReal b)
Returns the minimum value between a and b.
Definition: OgreMathlibC.h:299
IdString getTextureName() const
Definition: OgreCompositorShadowNodeDef.h:103
virtual Window * newWindow(const String &name, uint32 width, uint32 height, bool fullScreen, const NameValuePairList *miscParams=0)=0
Creates a new rendering window.
void _setTextureCoordCalculation(size_t unit, TexCoordCalcMethod m, const Frustum *frustum=0)
Sets a method for automatically calculating texture coordinates for a stage.
String doGet(const void *target) const
virtual void _renderCompositeMap(size_t size, const Rect &rect, const MaterialPtr &mat, const TexturePtr &destCompositeMap)
Helper method to render a composite map.
@ ID_CUBEMAP
Definition: OgreScriptCompiler.h:866
@ PFG_RGB32_SINT
Definition: OgrePixelFormatGpu.h:57
void _setLeft(Real left)
Sets the left of this element in relation to the screen (where 1.0 = screen width)
size_t offset
Definition: OgreNULLVaoManager.h:52
bool isDeactivatedOnFocusChange() const
Returns true if the window will automatically de-activate itself when it loses focus.
void setInfinite()
Sets the box to 'infinite'.
Definition: OgreAxisAlignedBox.h:529
static void createFilters(uint32 filters, FilterBaseArray &outFilters, const TextureGpu *texture, const Image2 &image, bool toSysRam)
@ TU_UAV_NOT_TEXTURE
Definition: OgreTexture.h:83
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)
bool mUpdateLodLists
When true, which Lod index is current will be updated.
Definition: OgreCompositorPassSceneDef.h:129
ValueType operator()() const
Definition: OgreAny.h:202
@ RenderDepth
Definition: OgreResourceTransition.h:52
virtual void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera, Viewport *vp)
Internal method to put the overlay contents onto the render queue.
void destroyVertexBuffer(VertexBufferPacked *vertexBuffer)
Destroys the given vertex buffer created with createVertexBuffer.
virtual void _setTexture(size_t unit, TextureGpu *texPtr)
Sets the texture to bind to a given texture unit.
Contains information needed by PBS (Physically Based Shading) for OpenGL 3+ & D3D11+.
Definition: OgreHlmsPbsDatablock.h:169
XErrorHandler XSetErrorHandler(XErrorHandler xErrorHandler)
@ ID_DISCARD_ONLY
Definition: OgreScriptCompiler.h:954
GeometryAllocatedObject VertexArrayObjectAlloc
Definition: OgreMemoryAllocatorConfig.h:343
virtual const PixelBox & lock(const Box &lockBox, LockOptions options)
Lock the buffer for (potentially) reading / writing.
@ FT_MIN
The filter used when shrinking a texture.
Definition: OgreCommon.h:208
static uint16 floatToHalf(float i)
Convert a float32 to a float16 (NV_half_float) Courtesy of OpenEXR.
Definition: OgreBitwise.h:319
void convertPackedColour(VertexElementType srcType, VertexElementType destType)
Convert all packed colour values (VET_COLOUR_*) in buffers used to another type.
const String & getSource(void) const
Gets the source this font (either an image or a truetype font).
void clear()
Definition: OgreFastArray.h:274
SceneNode * getRootSceneNode(SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC)
Gets the SceneNode at the root of the scene hierarchy.
static void packColour(const float r, const float g, const float b, const float a, const PixelFormat pf, void *dest)
Pack a colour value to memory.
static const Real INFINITE_FAR_PLANE_ADJUST
Small constant used to reduce far plane projection to avoid inaccuracies.
Definition: OgreFrustum.h:686
Structure for holding a position & orientation pair.
Definition: OgreSceneManager.h:65
@ PFG_ASTC_RGBA_UNORM_12X12_sRGB
Definition: OgrePixelFormatGpu.h:265
virtual ~MetalRenderTexture()
static const IdString BrdfDefault
Definition: OgreHlmsPbs.h:564
virtual void setOrthoWindowHeight(Real h)
Sets the orthographic window height, for use with orthographic rendering only.
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.
Defines a listener on the custom events that this render system can raise.
Definition: OgreRenderSystem.h:1233
virtual void notifyRecreated(const UavBufferPacked *oldBuffer, UavBufferPacked *newBuffer)
void setVisibilityFlags(uint32 flags)
Sets the visibility flags of all the regions at once.
bool removeRenderWindow(const String &renderWindowName) const
CompositorPassCompute(const CompositorPassComputeDef *definition, Camera *defaultCamera, CompositorNode *parentNode, const RenderTargetViewDef *rtv)
void setAll(const Matrix4 &m)
Sets all packed matrices to the same value as the scalar input matrix.
Definition: C/OgreArrayMatrixAf4x3.h:91
Definition: OgreScriptTranslator.h:318
@ PF_DXT1
DDS (DirectDraw Surface) DXT1 format.
Definition: OgrePixelFormat.h:112
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:156
static const IdString NormalWeight
Definition: OgreHlmsPbsMobile.h:118
bool HasAutoMipMapGenerationEnabled() const
Definition: OgreD3D11DepthTexture.h:55
static String getDefaultStringLocale(void)
Definition: OgreStringConverter.h:296
virtual size_t getBatchCount(void) const
Gets the number of batches rendered in the last update() call.
String doGet(const void *target) const
void createEmptyImageLike(const TextureGpu *texture)
Same as createEmptyImage, but retrieves all metadata parameters from the input texture.
virtual HlmsCache preparePassHash(const Ogre::CompositorShadowNode *shadowNode, bool casterPass, bool dualParaboloid, SceneManager *sceneManager)
Called every frame by the Render Queue to cache the properties needed by this pass.
void autoUpdateLodAll(bool synchronous, const Any &data)
virtual TextureGpu * findIbl(const TextureGpu *baseParams)
size_t sizeBytes
Size in bytes to bind the tex buffer.
Definition: OgreDescriptorSetUav.h:71
@ Items
Definition: OgreSceneFormatBase.h:55
void setDefaultStrategy(const String &name)
Set the default strategy by name.
void setCharHeight(Real height)
void makeTransform(const ArrayVector3 &position, const ArrayVector3 &scale, const ArrayQuaternion &orientation)
Building a Matrix4 from orientation / scale / position.
SceneNode(const Transform &transformPtrs)
Don't use this constructor unless you know what you're doing.
virtual void _dispatch(const HlmsComputePso &pso)=0
void setAmbient(Real red, Real green, Real blue)
Sets the ambient colour reflectance properties of this pass.
String name
Definition: OgreHlmsTexturePack.h:64
static ArrayMaskR getMask(bool x)
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
void setTransparency(float transparency, TransparencyModes mode=Transparent, bool useAlphaFromTextures=true, bool changeBlendblock=true)
Makes the material transparent, and sets the amount of transparency.
Definition: OgreIrradianceVolume.h:48
DefaultWorkQueue(const String &name=BLANKSTRING)
virtual void clear()
Empties this set of all billboards.
static CommandBufferExecuteFunc execute_setTextureBufferVS
Definition: OgreCommandBuffer.h:81
Represents an individual profile call.
Definition: OgreProfiler.h:303
void setShininess(Real val)
Sets the shininess properties of every Pass in every Technique.
virtual int getMaxOutputVertices(void) const
Returns the maximum number of vertices that this geometry program can output in a single run.
Definition: OgreGLSLShader.h:119
const CompositorShadowNodeDef * getShadowNodeDefinition(IdString nodeDefName) const
Returns the node definition with the given name. Throws if not found.
@ ID_TWO_SIDED
Definition: OgreScriptCompiler.h:973
uint16 _getInputLayoutId(const VertexElement2VecVec &vertexElements, OperationType opType)
Always returns a unique ID for the given vertexElement / OperationType combination,...
bool hasMinGLVersion(int major, int minor) const
Check if GL Version is supported.
static const uint32 TERRAINLAYERINSTANCE_CHUNK_ID
Definition: OgreTerrain.h:288
void lock(const SharedPtr< T > &p, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:400
@ PF_BC5_SNORM
DDS (DirectDraw Surface) BC5 format (signed normalised)
Definition: OgrePixelFormat.h:216
Real getMinimumDepthInputValue(void)
Gets the minimum (closest) depth value to be used when rendering using identity transforms.
Definition: OgreGLES2RenderSystem.h:425
virtual void destroyRibbonTrail(v1::RibbonTrail *obj)
Removes & destroys a RibbonTrail from the SceneManager.
char * Parse(const char *iSource, size_t iLength, size_t &oLength)
Parse the input string and return a newly-allocated output string.
String getLeftBorderUVString() const
@ FLAG_SPERATE_DIFFUSE_FRESNEL
Definition: OgreHlmsPbsDatablock.h:60
uint32 getMaxY(void) const
Definition: OgreTextureBox.h:75
void initialise(void)
Initialises the material manager, which also triggers it to parse all available .program and ....
virtual v1::HardwarePixelBufferSharedPtr getBuffer(size_t face, size_t mipmap)
Return hardware pixel buffer for a surface.
LightArray lights
Definition: OgreCommon.h:685
@ PF_BC7_UNORM_SRGB
DDS (DirectDraw Surface) BC7 format (unsigned normalised sRGB)
Definition: OgrePixelFormat.h:224
Real mBias
Value ideally in range (0; 1] When 1, the VPL is placed at exactly the location where the light ray h...
Definition: OgreInstantRadiosity.h:158
Definition: Vao/OgreGLES2VertexArrayObject.h:39
Filter
Definition: OgreImage.h:450
size_t offset
0-based offset.
Definition: OgreDescriptorSetTexture.h:147
virtual void initCollapseCosts(LodData *data)
This is called after the LodInputProvider has initialized LodData.
void copyStateFrom(const AnimationState &animState)
Copies the states from another animation state, preserving the animation name (unlike operator=) but ...
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 endCurrent()=0
This is called before another context is made current.
void addProperty(PropertyBase *prop)
Adds a property to this set.
virtual TextureGpu * findTmpRtt(const TextureGpu *baseParams)
See mTmpRtt.
Mesh * parent
Reference to parent Mesh (not a smart pointer so child does not keep parent alive).
Definition: OgreSubMesh.h:143
@ GPU_MOZILLA
Definition: OgreRenderSystemCapabilities.h:322
static void updateAllBounds(const size_t numNodes, ObjectData t)
@See SceneManager::updateAllBounds
SharedPtr< GLSLShader > GLSLShaderPtr
Definition: OgreGL3PlusPrerequisites.h:48
A 3x3 matrix which can represent rotations around axes.
Definition: OgreMatrix3.h:69
void _setSeparateSceneBlendingOperation(SceneBlendOperation op, SceneBlendOperation alphaOp)
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.
static const IdString DetailNormalSwizzle3
Definition: OgreHlmsPbsMobile.h:169
static const IdString QTangent
Definition: OgreHlms.h:823
virtual String dataType() const
Returns the type of the data.
Definition: OgreCodec.h:73
virtual ~ManualObjectSection()
@ ACT_WORLDVIEW_MATRIX
The current world & view matrices concatenated.
Definition: OgreGpuProgramParams.h:973
void addLightType(Light::LightTypes lightType)
See Light::LightTypes.
uint * getUnsignedIntPointer(size_t pos)
Get a pointer to the 'nth' item in the uint buffer.
Definition: OgreGpuProgramParams.h:782
static bool isDirectX9Ex()
Tells whether the system is initialized with DirectX 9Ex driver Read more in http://msdn....
Definition: OgreD3D9RenderSystem.h:356
static std::pair< bool, Real > intersects(const Ray &ray, const Plane &plane)
Ray / plane intersection, returns boolean result and distance.
void createNewNode(ObjectData &outData)
Requests memory for a new SceneNode (for the Array vectors & matrices) May be also be used for a new ...
void swap(RawSimdUniquePtr ©)
Definition: OgreRawPtr.h:89
virtual void bindBufferHS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
@ PF_ASTC_RGBA_8X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 8x5)
Definition: OgrePixelFormat.h:271
void setNamedSubroutine(const String &subroutineSlot, const String &subroutine)
Set subroutine name by slot name.
void _setSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendOperation op)
Alignment
Definition: OgreTextAreaOverlayElement.h:49
RenderSystem specific interface for a RenderTarget; this should be subclassed by RenderSystems.
Definition: OgreRenderTarget.h:362
ConstMapIterator< VertexOffsetMap > ConstVertexOffsetIterator
An iterator over the vertex offsets.
Definition: OgrePose.h:74
virtual void setManuallyLoaded(bool isManual)
Set "Is this resource manually loaded?".
Definition: OgreResource.h:303
virtual_l1 void setPosition(Real x, Real y, Real z)
Sets the position of the node relative to it's parent.
MetaDataIterator getMetaDataIterator(void) const
Iterate over all types of SceneManager available for construction, providing some information about e...
String getName(const HlmsBlendblock *blendblock) const
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
~D3D9VideoMode()
Definition: OgreD3D9VideoMode.h:48
VertexElementType mType
The type of element.
Definition: OgreVertexBufferPacked.h:42
const LayerBlendModeEx & getColourBlendMode(void) const
Get multitexturing colour blending mode.
virtual void setMaterialName(size_t subIndex, const String &name, const String &group=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Alter the material for a subsection of this object after it has been specified.
Ogre::Vector2 leftEyeCenter
Definition: OgreHiddenAreaMeshVr.h:50
Factory class for D3D9 HLSL programs.
Definition: OgreD3D9HLSLProgramFactory.h:38
static const size_t LOD_MORPH_CUSTOM_PARAM
Definition: OgreTerrain.h:295
const Vector3 & getDirection(void) const
Gets the direction of the ray.
Definition: OgreRay.h:63
virtual void setEmissionRate(Real particlesPerSecond)
Sets the emission rate for this emitter.
virtual void _hlmsPipelineStateObjectDestroyed(HlmsPso *pso)
Real dy
Definition: OgreDualQuaternion.h:166
~PccPerPixelGridPlacement()
@ ID_SQUARE
Definition: OgreScriptCompiler.h:796
@ PFG_RGB32_FLOAT
Definition: OgrePixelFormatGpu.h:55
const VertexBoneAssignmentList & getBoneAssignments() const
Gets a const reference to the list of bone assignments.
Definition: OgreMesh.h:506
void setNamedConstant(const String &name, const Matrix4 &m)
Sets a Matrix4 parameter to the program.
void setType(FontType ftype)
Sets the type of font.
static unsigned long parseUnsignedLong(const String &val, unsigned long defaultValue=0)
Converts a String to a whole number.
const Vector3 & getAutoTrackOffset(void) const
Get the auto tracking offset for this camera, if it is auto tracking.
Definition: OgreCamera.h:589
Vector4 getSpotlightParams(size_t index) const
Real dotProduct(const Vector4 &vec) const
Calculates the dot (scalar) product of this vector with another.
Definition: OgreVector4.h:409
virtual void setCellRangeMinX(int32 minX)
Set the index range of all cells (values outside this will be ignored)
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:1242
bool isCacheDirty(const Camera *camera) const
virtual void passPosExecute(CompositorPass *pass)
Called after a pass has been executed.
Definition: OgreCompositorWorkspaceListener.h:70
size_type capacity() const
Definition: OgreCommon.h:497
ParticleVisualData * getVisualData(void) const
Get the optional visual data associated with the class.
Definition: OgreParticle.h:146
Real totalTimeMillisecs
The total frame time this profile has taken in milliseconds.
Definition: OgreProfiler.h:290
uint16 maxTexturesPerArray
Definition: OgreHlmsTextureManager.h:86
StoreAction::StoreAction mStoreActionStencil
Definition: OgreCompositorPassDef.h:135
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
@ ID_GOURAUD
Definition: OgreScriptCompiler.h:694
virtual void endCurrent()=0
This is called before another context is made current.
@ TEXTURE_GLOBAL
We own the texture.
Definition: OgreTextureDefinition.h:89
virtual const String & getTargetLanguage(void) const
Definition: OgreShaderGLSLESProgramWriter.h:150
virtual const String & getTargetLanguage() const
Definition: OgreShaderGLSLESProgramWriter.h:74
virtual void _setSamplersCS(uint32 slotStart, const DescriptorSetSampler *set)
static const IdString BlendModeIndex1
Definition: OgreHlmsPbsMobile.h:157
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
Create uniform buffer.
LayerBlendOperation
List of valid texture blending operations, for use with TextureUnitState::setColourOperation.
Definition: OgreBlendMode.h:57
virtual ~GLSLESProgramWriter()
Class destructor.
Texturing sub render state implementation of the Fixed Function Pipeline.
Definition: OgreShaderFFPTexturing.h:54
ushort getFragmentProgramConstantFloatCount(void) const
The number of floating-point constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:686
size_t currentIndexCount()
Get the current count of indices when building a new buffer.
static const uint16 CHUNK_VERSION
Definition: OgreGrid2DPageStrategy.h:145
@ DerivedScale
Definition: OgreArrayMemoryManager.h:312
Definition: OgreShaderPrimitives.h:74
unsigned short getNumTextureUnitStates(void) const
Returns the number of texture unit settings.
Definition: OgrePass.h:521
static WindowEventListeners _msListeners
Definition: OgreWindowEventUtilities.h:185
@ PFG_RGBA32_UINT
Definition: OgrePixelFormatGpu.h:52
uint32 instancingDivisor
Definition: OgreD3D11VaoManager.h:105
virtual v1::RibbonTrail * createRibbonTrail()
Create a RibbonTrail, an object which you can use to render a linked chain of billboards which follow...
VectorIterator(T &c)
Constructor.
Definition: OgreIteratorWrapper.h:201
@ SPC_LIGHTDIRECTION_WORLD_SPACE2
Definition: OgreShaderParameter.h:179
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:754
bool isUnsignedInt() const
Definition: OgreGpuProgramParams.h:249
virtual bool isPrimary(void) const
Indicates whether this target is the primary window.
void setDebugVisualization(bool bShow, SceneManager *sceneManager)
Real getMinHeight() const
Get the minimum height of the node.
static ShaderGenerator * getSingletonPtr()
Override standard Singleton retrieval.
const map< String, String >::type & getVariables() const
static void lockDeviceAccess()
virtual ParticleAffector * createAffector(ParticleSystem *psys)=0
Creates a new affector instance.
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:191
Definition: OgreMetalDepthTexture.h:37
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.
GLuint getVboName(void) const
Definition: OgreGL3PlusBufferInterface.h:68
size_t faceIndex
The position in the index buffer that's affected.
Definition: OgreTangentSpaceCalc.h:64
TRect< float > FloatRect
Structure used to define a rectangle in a 2-D floating point space.
Definition: OgreCommon.h:801
Real baseError
The smallest allowed geometric error of the highest LOD.
Definition: OgreVolumeChunk.h:59
uint32 mInstancingStepRate
The number of instances to draw using the same per-instance data before advancing in the buffer by on...
Definition: OgreVertexBufferPacked.h:49
Codec specialized in images loaded using stbi (https://github.com/nothings/stb).
Definition: OgreSTBICodec.h:47
virtual ChildOldNodeIterator getChildIterator(void)
Retrieves an iterator for efficiently looping through all children of this OldNode.
virtual ~D3D11StagingBuffer()
void _removeMetadataCacheEntry(TextureGpu *texture)
void createResourceGroup(const String &name, const bool inGlobalPool=true)
Create a resource group.
virtual void _collectSamplerblocks(set< const HlmsSamplerblock * >::type &outSamplerblocks, const HlmsDatablock *datablock) const
void _setVboPoolIndex(size_t newVboPool)
Definition: OgreGL3PlusBufferInterface.h:70
void dearrangeToInefficient(void)
Reverts the effects from arrangeEfficient by converting all 16-bit half float back to 32-bit float; a...
std::string getFriendlyText() const
Returns "[Hash 0x0a0100ef]" strings in Release mode, readable string in debug.
Definition: OgreIdString.h:257
bool isActive(void) const
Overridden - see RenderWindow.
virtual int getExecutionOrder() const =0
Get the execution order of this sub render state.
static GLSLESProgramPipelineManager & getSingleton(void)
SharedPtr(const SharedPtr &r)
Definition: OgreSharedPtr.h:174
void setDimensions(Real width, Real height)
Sets the width and height for this particle.
static const Matrix4 CLIPSPACE2DTOIMAGESPACE
Useful little matrix which takes 2D clipspace {-1, 1} to {0,1} and inverts the Y.
Definition: OgreMatrix4.h:564
void start()
GL3PlusSupport::start
virtual void resourcePrepareEnded(void)
This event is fired when the resource has been prepared.
Definition: OgreResourceGroupManager.h:137
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 void destroyTextures(CompositorChannelVec &inOutTexContainer, RenderSystem *renderSys)
@See createTextures
CompositorWorkspaceTranslator()
T get(void) const
Definition: OgreAtomicScalar.h:424
static size_t lcm(size_t a, size_t b)
Returns Least Common Multiple.
Definition: OgreMath.h:739
const String * getNameStr(void) const
Definition: OgreSearchOps.h:42
bool XGetWindowAttributes(Display *nativeDisplayType, Window nativeWindowType, XWindowAttributes *xWindowAttributes)
@ VET_DOUBLE2
Definition: OgreVertexElements.h:88
virtual void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
void destroy(void)
Destroys the window.
static void shutdown(void)
Static method to shutdown FreeImage and unregister the FreeImage codecs.
AbstractNodeType
This enum holds the types of the possible abstract nodes.
Definition: OgreScriptCompiler.h:80
virtual void setInheritScale(bool inherit)
Tells the OldNode whether it should inherit scaling factors from it's parent OldNode.
@ PT_QUATERNION
Definition: OgreStringInterface.h:65
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.
NativeWindowType window
Definition: OgreX11EGLSupport.h:94
void setRenderQueueGroup(uint8 grp)
Set the render queue group that terrains will be rendered into.
Definition: OgreTerrain.h:1996
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 ...
const Vector3 & getIrradianceCellSize(void) const
Definition: OgreIrradianceVolume.h:110
static const IdString LegacyMathBrdf
Definition: OgreHlmsPbs.h:569
@ SBF_DEST_COLOUR
Definition: OgreBlendMode.h:238
virtual void worldGeometryStageEnded(void)=0
This event is fired when a stage of loading linked world geometry has been completed.
void setLogDetail(LoggingLevel ll)
Sets the level of detail of the default log.
vector< LodLevel * >::type LodLevelList
Definition: OgreTerrainQuadTreeNode.h:151
bool removeShaderBasedTechnique(const String &materialName, const String &groupName, const String &srcTechniqueSchemeName, const String &dstTechniqueSchemeName)
Remove shader based technique from a given technique.
Real getAttenuationQuadric(void) const
Returns the quadric factor in the attenuation formula.
Definition: OgreLight.h:244
const Vector4 & getViewportModifier(void) const
Definition: OgreCompositorWorkspace.h:358
bool isSubroutine() const
Definition: OgreGpuProgramParams.h:311
void createVertexBuffers(VertexBufferPackedVec &outVertexBuffers, size_t numVertices, void *const *initialData, bool keepAsShadow)
Creates a vertex buffer based on the given parameters.
virtual size_t getDefaultNumMipmaps()
Gets the default number of mipmaps to be used for loaded textures.
Definition: OgreTextureManager.h:499
virtual SceneManager * getSceneManager() const
Get the current SceneManager.
Definition: OgrePagedWorldSection.h:130
virtual void notifyOnDeviceLost(IDirect3DDevice9 *d3d9Device)
FastArray< size_t > threadStarts
One per thread (plus one), tells where we should start from in each thread.
Definition: OgreSkeletonAnimManager.h:65
@ PF_ETC2_RGBA8
ETC2 (Ericsson Texture Compression)
Definition: OgrePixelFormat.h:250
virtual StreamSerialiser * writeWorldStream(const String &filename)
Get a serialiser set up to write PagedWorld data for the given world filename.
Definition: OgrePageManager.h:105
@ CB_SET_TEXTURE_BUFFER_VS
Definition: OgreCbCommon.h:53
For GL3+, most (if not all) buffers, can be treated with the same code.
Definition: OgreNULLBufferInterface.h:42
void deleteOutputParameter(ParameterPtr parameter)
Delete output parameter from this function.
virtual void copyFrom(const SubRenderState &rhs)
virtual T get() const
Definition: OgreProperty.h:239
virtual const String & getMovableType(void) const
Overridden from MovableObject.
virtual void getBestDepthStencil(GLenum internalFormat, GLenum *depthFormat, GLenum *stencilFormat)
Definition: OgreGL3PlusRenderTexture.h:92
static void toStr(const Vector2 &value, String &outString)
size_t offset
0-based offset.
Definition: OgreDescriptorSetUav.h:68
uint16 _getRefCount(void) const
virtual RenderPassDescriptor * createRenderPassDescriptor(void)
virtual void resourceGroupPrepareStarted(const String &groupName, size_t resourceCount)
This event is fired when a resource group begins preparing.
Definition: OgreResourceGroupManager.h:126
@ PF_ATC_RGBA_INTERPOLATED_ALPHA
ATC (AMD_compressed_ATC_texture)
Definition: OgrePixelFormat.h:258
ArrayAabb *RESTRICT_ALIAS mWorldAabb
Bounding box in world space.
Definition: OgreObjectData.h:57
CompositorShadowNode * getShadowNode() const
Definition: OgreCompositorPassScene.h:100
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
Translate a vector from world space to local terrain space based on a specified alignment.
GLSLESProgramPipeline * getActiveProgramPipeline(void)
Get the program pipeline that combines the current program objects.
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.
bool isMetadataReady(void) const
It is threadsafe to call this function from main thread.
Radian getRoll(bool reprojectAxis=true) const
Calculate the local roll element of this quaternion.
virtual void destroyVertexDeclaration(VertexDeclaration *decl)
Destroys a vertex declaration.
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Notifies the ultimate texture owner the buffer changed.
RenderSystem * getRenderSystem(void) const
virtual ~ManualResourceLoader()
@ LBX_MODULATE_X4
as LBX_MODULATE but brighten more afterwards (x4)
Definition: OgreBlendMode.h:85
virtual void createInternalResources(void)
Creates the internal texture resources for this texture.
void setCapability(const Capabilities c)
Adds a capability flag.
Definition: OgreRenderSystemCapabilities.h:592
unsigned char uchar
In order to avoid finger-aches :)
Definition: OgrePrerequisites.h:143
StagingBuffer * getStagingBuffer(size_t minSizeBytes, bool forUpload)
Retrieves a staging buffer for use.
String doGet(const void *target) const
HWND getWindowHandle() const
Definition: OgreD3D9RenderWindow.h:64
static const IdString LowerGpuOverhead
Definition: OgreHlmsPbs.h:454
Real getTileX(ushort layer=0) const
String getNameStr(void) const
virtual void startMapRegion(void)
Must be called from main thread when the StagingBuffer is grabbed.
vector< uint32 >::type BoneToSlotVec
Definition: OgreSkeletonDef.h:85
virtual void setMaxRepeatDelay(Real max)
Sets the maximum duration of this emitter in seconds (see setRepeatDelay for more details)
virtual ~Resource()
Virtual destructor.
@ PFG_EAC_R11G11_SNORM
Definition: OgrePixelFormatGpu.h:226
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware index buffer.
GpuTrackedResource * rttOrBuffer
Definition: OgreCompositorPass.h:72
AmbientLightMode
Definition: OgreHlmsPbs.h:89
unsigned short getNumSupportedTechniques(void) const
Retrieves the number of supported techniques.
Exception(int number, const String &description, const String &source, const char *type, const char *file, long line)
Advanced constructor.
virtual void beginRenderPassDescriptor(RenderPassDescriptor *desc, TextureGpu *anyTarget, uint8 mipLevel, const Vector4 *viewportSizes, const Vector4 *scissors, uint32 numViewports, bool overlaysEnabled, bool warnIfRtvWasFlushed)
When the descriptor is set to Load clear, two possible things may happen:
TextureTypes::TextureTypes getInternalTextureType(void) const
virtual ProgramWriter * create(void)
Definition: OgreShaderGLSLESProgramWriter.h:158
const CubemapProbeVec & getProbes(void) const
Definition: OgreParallaxCorrectedCubemapBase.h:92
@ HasEmissiveTex
Definition: OgreVctVoxelizer.h:54
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
void execute(void)
Executes all the commands in the command buffer. Clears the cmd buffer afterwards.
static ParameterPtr getParameterBySemantic(const ShaderParameterList ¶meterList, const Parameter::Semantic semantic, int index)
Get parameter by a given semantic and index from the given parameter list.
@ FFP_VS_COLOUR
Definition: OgreShaderFFPRenderState.h:47
@ ID_PARAM_NAMED
Definition: OgreScriptCompiler.h:637
int width
Definition: OgreX11EGLSupport.h:89
Quaternion interpolate(Real t, bool useShortestPath=true)
Returns an interpolated point based on a parametric value over the whole series.
virtual void bindBufferDS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Definition: OgreNULLTexBufferPacked.h:52
@ ID_READ_MASK
Definition: OgreScriptCompiler.h:959
@ POSITIVE_SIDE
Definition: OgrePlane.h:87
bool getRunOnlyForOneLightType(void) const
Does this pass run only for a single light type (if getIteratePerLight is true).
Definition: OgrePass.h:756
OverlayContainer * getChild(const String &name)
virtual void _descriptorSetTextureCreated(DescriptorSetTexture *newSet)
Definition: OgreRenderSystem.h:836
const Vector3 & getSnapSidesDeviationErrorMin(void) const
#define OGRE_HLMS_MAX_BASIC_BLOCKS
Definition: OgreHlmsManager.h:61
size_t getSharesSetupWith() const
Definition: OgreCompositorShadowNodeDef.h:107
void _linkRenderable(Renderable *renderable)
virtual void setCurrent()=0
Enable the context.
void setAreaLightMasks(TextureGpu *areaLightMask)
const String & getLanguage(void) const
Get the name of the language this factory creates programs for.
FileInfoListPtr listFileInfo(bool recursive=true, bool dirs=false)
List all files in the archive with accompanying information.
uint32 getProxyReservedVisibilityMask(void) const
Returns the visibility mask you told us you reserved for storing our internal objects.
Definition: OgreParallaxCorrectedCubemap.h:209
virtual ~RaySceneQueryListener()
GpuProgramParametersSharedPtr getShadowCasterVertexProgramParameters(void) const
Gets the vertex program parameters used by this pass when rendering shadow casters.
virtual void setOrthoWindowWidth(Real w)
Sets the orthographic window width, for use with orthographic rendering only.
static const ColourValue ZERO
Definition: OgreColourValue.h:60
virtual void reset(bool resetManualBones=false)
Resets the position and orientation of all bones in this skeleton to their original binding position.
ArrayMatrix4()
Definition: C/OgreArrayMatrix4.h:74
@ PFG_BC6H_SF16
BC6H format (signed 16 bit float)
Definition: OgrePixelFormatGpu.h:158
virtual void _notifyParticleEmitted(Particle *particle)
Optional callback notified when particle emitted.
Definition: OgreParticleSystemRenderer.h:88
ImageDownsamplerCube downscale2x_sRGB_XA88_cube
Definition: OgreImageDownsampler.h:198
void setDefaultTechnique(ShadowMapTechniques techn)
Definition: OgreCompositorShadowNodeDef.h:156
Vector3 xAxis(void) const
Returns the X orthonormal axis defining the quaternion.
Descriptor sets describe what samplers should be bound together in one place.
Definition: OgreDescriptorSetSampler.h:54
virtual void parseScript(DataStreamPtr &stream, const String &groupName)
Parse the definition of a set of resources from a script file.
Definition: OgreResourceManager.h:479
Specialises the SceneQuery class for querying within a sphere.
Definition: OgreSceneQuery.h:283
#define OGRE_NEW_T(T, category)
Allocate space for one primitive type, external type or non-virtual type with constructor parameters.
Definition: OgreMemoryAllocatorConfig.h:460
unsigned short getMaxSource(void) const
Gets the index of the highest source value referenced by this declaration.
@ PFG_BC5_UNORM
Definition: OgrePixelFormatGpu.h:139
float mFresnelB
Definition: OgrePbsMobileShaderCreationData.h:58
size_t getNumRenderQueues() const
Retrieves the number of render queues that have been created.
void _setHlmsMacroblock(const HlmsMacroblock *macroblock, const GL3PlusHlmsPso *pso)
void _beginUpdate(bool forceBeginFrame)
Call before _update unless the final render target is not a render window.
uint32 getLightVisibilityMask(void) const
Definition: OgreViewport.h:259
void setListener(MeshSerializerListener *listener)
Sets the listener for this serializer.
ImageDownsampler2D downscale2x_Float32_XA
Definition: OgreImageDownsampler.h:150
@ BCT_DOUBLE
Definition: OgreGpuProgramParams.h:58
MeshSerializerListener * getListener()
Returns the current listener.
@ PBSM_DETAIL2_NM
Definition: OgreHlmsPbsPrerequisites.h:69
void setRenderQueueSubGroup(uint8 subGroup)
Sets the RenderQueue subgroup ID for the whole of this entity.
@ NY
Definition: OgreTextureGpu.h:74
virtual bool resolveDependencies(ProgramSet *programSet)=0
static std::pair< bool, Real > intersects(const Ray &ray, const Sphere &sphere, bool discardInside=true)
Ray / sphere intersection, returns boolean result and distance.
@ Type1D
Definition: OgreTextureGpu.h:56
static void trim(String &str, bool left=true, bool right=true)
Removes any whitespace characters, be it standard space or TABs and so on.
virtual void postCommandBufferExecution(CommandBuffer *commandBuffer)
This gets called after executing the command buffer.
float mSamplesPerIteration
Definition: OgreCompositorPassIblSpecularDef.h:53
vector< uint32 >::type ChannelMappings
Definition: OgreCompositorNodeDef.h:48
void doSet(void *target, const String &val)
static const IdString Diffuse
Definition: OgreHlmsUnlitMobile.h:107
virtual const String & getType() const =0
Get the type of this sub render state.
virtual void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
virtual ChildContainerIterator getChildContainerIterator(void)
Gets an iterator for just the container children of this object.
size_t capacity() const
Definition: OgreLwString.h:343
void skip(long count)
Skip a defined number of bytes.
bool hasDefaultParameters(void) const
Returns true if default parameters have been set up.
MeshPtr createPlane(const String &name, const String &groupName, const Plane &plane, Real width, Real height, int xsegments=1, int ysegments=1, bool normals=true, unsigned short numTexCoordSets=1, Real uTile=1.0f, Real vTile=1.0f, const Vector3 &upVector=Vector3::UNIT_Y, HardwareBuffer::Usage vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexShadowBuffer=true, bool indexShadowBuffer=true)
Creates a basic plane, by default majoring on the x/y axes facing positive Z.
const String & getMovableType(void) const
Overridden from MovableObject.
virtual void postqueueEntityMaterialLodChanged(const EntityMaterialLodChangedEvent &evt)
Called after an entity's material LOD has changed.
Definition: OgreLodListener.h:199
OGRE_AUTO_MUTEX
Definition: OgreResourceManager.h:126
const Vector4 & getShadowSceneDepthRange(size_t index) const
TerrainLayerSamplerList samplers
Definition: OgreTerrainMaterialGenerator.h:133
virtual void prepare(LodData *data)
TempBlendedBufferInfo * _getVertexAnimTempBufferInfo(void)
Advanced method to get the temp buffer information for software morph animation.
virtual ~TargetRenderState()
Class destructor.
ScriptTokenListPtr tokenize(const String &str)
Tokenizes the given input and returns the list of tokens found.
static const IdString UvAtlas12
Definition: OgreHlmsUnlitMobile.h:155
Lod0Stripifier()
Definition: OgreLod0Stripifier.h:100
bool getEnabled(void) const
Returns true if this controller is currently enabled.
Definition: OgreController.h:190
static String FACTORY_TYPE_NAME
Definition: OgreManualObject.h:540
uint8 mType
Definition: OgreHlmsDatablock.h:300
Definition: OgreVertexShadowMapHelper.h:122
@ VET_SHORT4
Definition: OgreVertexElements.h:81
void uninstall()
Perform the final plugin uninstallation sequence.
void setVisibilityFlags(uint32 flags)
Sets the visibility flags for this object.
MemoryTypes
Definition: OgreBoneArrayMemoryManager.h:56
virtual ProgramWriter * create(void)=0
Create writer instance.
@ ID_FRAGMENT
Definition: OgreScriptCompiler.h:802
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:403
virtual PageID getID() const
Get the ID of this page, unique within the parent.
Definition: OgrePage.h:113
static const IdString BlendModeIndex3
Definition: OgreHlmsPbs.h:533
virtual void startMapRegion(void)
DecodeResult decode(DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
UavBufferPacked * getDefinedBufferNoThrow(IdString bufferName) const
virtual ~SubItem()
Destructor.
virtual void removeListener(RenderTargetListener *listener)
Removes a RenderTargetListener previously registered using addListener.
@ RSC_POINT_EXTENDED_PARAMETERS_ARB
Support for point parameters ARB implementation.
Definition: OgreRenderSystemCapabilities.h:263
@ ACT_ANIMATION_PARAMETRIC
Provides a parametric animation value [0..1], only available where the renderable specifically implem...
Definition: OgreGpuProgramParams.h:1301
const RenderPassDescriptor * getCurrentRenderPassDesc(void) const
SampleDescription getRequestedSampleDescription(void) const
Returns original requested sample description, i.e. the raw input to setSampleDescription.
void createBasicWorkspaceDef(const String &workspaceDefName, const ColourValue &backgroundColour, IdString shadowNodeName=IdString())
Utility helper to create a basic workspace to get you out of the rush.
void finaliseLightmap(const Rect &rect, PixelBox *lightmapBox)
Finalise the lightmap.
static const IdString DecalsDiffuse
Definition: OgreHlms.h:895
virtual void destroy(void)
Destroys the window.
CompositorPassMipmapDef(CompositorTargetDef *parentTargetDef)
Definition: OgreCompositorPassMipmapDef.h:77
VectorImpl::value_type value_type
Definition: OgreCommon.h:457
virtual void addRequestHandler(uint16 channel, RequestHandler *rh)=0
Add a request handler instance to the queue.
Prepared IteratorWrapper for key-value container.
Definition: OgreIteratorWrapper.h:254
@ ACT_DERIVED_LIGHT_DIFFUSE_COLOUR_ARRAY
Array of derived light diffuse colours (count set by extra param)
Definition: OgreGpuProgramParams.h:1137
Real getTanTime_0_X(Real x) const
DefaultHardwareBufferManager as a Singleton.
Definition: OgreDefaultHardwareBufferManager.h:183
virtual void markProfileEvent(const String &event)=0
Marks an instantaneous event for graphics profilers.
virtual_l2 bool getInheritOrientation(void) const
Returns true if this node is affected by orientation applied to the parent node.
A world section which includes paged terrain.
Definition: OgreTerrainPagedWorldSection.h:81
::GLXContext createNewContext(GLXFBConfig fbConfig, GLint renderType, ::GLXContext shareList, GLboolean direct) const
Portable replacement for glXCreateNewContext.
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 setMsaa(uint8 msaa, MsaaPatterns::MsaaPatterns pattern=MsaaPatterns::Undefined)
void save(const String &filename)
Save terrain data in native form to a standalone file.
@ PFG_A8P8
Definition: OgrePixelFormatGpu.h:177
void _getOffsetTransform(Matrix4 &m) const
Gets the transform which takes bone space to current from the binding pose.
void setTextureProjector(const Frustum *frust, size_t index)
Sets the current texture projector for a index.
static String toString(bool val, bool yesNo=false)
Converts a boolean to a String.
void swap(SmallVectorImpl &RHS)
Definition: OgreMain/include/OgreSmallVector.h:622
virtual bool getVerbose(void)
Gets whether this manager and its resources habitually produce log output.
Definition: OgreResourceManager.h:497
virtual bool getUseIdentityWorldMatrix(void) const
Returns whether the world matrix is an identity matrix.
Definition: OgreRenderable.h:166
String mShaderProfile
Definition: OgreHlmsDiskCache.h:171
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.
vector< Image * >::type ImagePtrList
Definition: OgreImage.h:524
@ ACT_TIME_0_2PI_PACKED
Vector of "Time0_2PI", "SinTime0_2PI", "CosTime0_2PI", "TanTime0_2PI".
Definition: OgreGpuProgramParams.h:1233
void setToSubstr(const LwConstString &source, size_t _start, size_t size)
Takes a subset from source in the range [_start; _start + size), and copies it to our string.
Definition: OgreLwString.h:128
@ IF_CUBEMAP
Definition: OgreImage.h:46
TextureAddressingMode mU
Definition: OgreHlmsSamplerblock.h:70
void * lock(size_t offset, size_t length, LockOptions options)
Override HardwareBuffer to turn off all shadowing.
const String & getResourceGroup() const
Returns the resource group currently set for this compiler.
This ResourceManager manages high-level vertex and fragment programs.
Definition: OgreHighLevelGpuProgramManager.h:74
ArrayVector3 reflect(const ArrayVector3 &normal) const
Calculates a reflection vector to the plane with the given normal .
virtual void optimise(void)
Optimise the current track by removing any duplicate keyframes.
const LocationList & getResourceLocationList(const String &groupName)
Get the list of resource locations for the specified group name.
void setActiveFragmentShader(GLSLESShader *fragmentShader)
virtual void finalize(LodData *data)
@ ACT_FOG_COLOUR
Fog colour.
Definition: OgreGpuProgramParams.h:1012
Definition: OgreD3D11Window.h:39
void getPoint(long x, long y, float height, Vector3 *outpos) const
Get a Vector3 of the world-space point on the terrain, supplying the height data manually (can be mor...
virtual void setBackgroundLoaded(bool bl)
Tells the resource whether it is background loaded or not.
Definition: OgreResource.h:398
Implementation of DirectX11 as a rendering system.
Definition: OgreD3D11RenderSystem.h:55
NumericAnimationTrack * createNumericTrack(unsigned short handle, const AnimableValuePtr &anim)
Creates a NumericAnimationTrack and associates it with an animable.
bool getAutomaticMode(void) const
Definition: OgreParallaxCorrectedCubemapBase.h:94
const EdgeData * getEdgeList(unsigned short lodIndex=0) const
Return the edge list for this mesh, building it if required.
void connectTo(size_t outChannelA, CompositorNode *nodeB, size_t inChannelB)
Connects this node (let's call it node 'A') to node 'B', mapping the output channel from A into the i...
std::pair< bool, Real > intersects(const PlaneBoundedVolume &p) const
Tests whether this ray intersects the given plane bounded volume.
Definition: OgreRay.h:91
virtual ~MetalTextureGpuWindow()
void setCurrentLightList(const LightList *ll)
Sets the light list that should be used, and it's base index from the global list.
UnifiedHighLevelGpuProgramFactory()
const T *RESTRICT_ALIAS_RETURN get() const
Definition: OgreRawPtr.h:118
@ LocalRadius
Definition: OgreArrayMemoryManager.h:383
@ GCT_FLOAT4
Definition: OgreGpuProgramParams.h:76
@ 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:325
bool isRemoved
Definition: OgreLodData.h:122
static void mapAsyncTickets(ReadRequestsArray &tickets)
Maps the buffers requested via.
virtual bool isReadable() const
Reports whether this stream is readable.
Definition: OgreDataStream.h:206
int getScissorActualHeight(void) const
Definition: OgreViewport.h:150
static const uint32 CHUNK_ID
Definition: OgreTerrainGroup.h:502
void unloadUnreferencedResources(bool reloadableOnly=true)
Unload all resources which are not referenced by any other object.
Definition: OgreResourceManager.h:247
ShaderFunctionList::iterator ShaderFunctionIterator
Definition: OgreShaderFunction.h:222
void updatePassIterationUniforms(GpuProgramParametersSharedPtr params)
Updates program pipeline object uniforms using data from pass iteration GpuProgramParameters.
std::map< IdString, DatablockEntry > HlmsDatablockMap
Definition: OgreHlms.h:107
virtual void OldNodeDetached(const OldNode *)
OldNode has been detached from a parent.
Definition: OgreOldNode.h:105
GLuint getBufferName(void) const
Definition: OgreGL3PlusStagingBuffer.h:121
static ArrayMaskR getMask(bool x, bool y, bool z, bool w)
Definition: OgreHlmsComputeJob.h:51
virtual void setValue(const Vector4 &)
Set value.
Definition: OgreAnimable.h:167
virtual void _changeRenderSystem(RenderSystem *newRs)
void reset()
Definition: OgreVertexIndexData.h:345
bool watchForMin(const String &profileName)
Returns true if the specified profile reaches a new frame time minimum.
size_t getSizeInBytes(void) const
Returns the size of this buffer in bytes.
Definition: OgreHardwareBuffer.h:332
Definition: OgreForwardPlusBase.h:63
bool isValid
Definition: OgreShaderExHardwareSkinning.h:65
IDirect3DSurface9 * getBackBuffer(D3D9RenderWindow *renderWindow)
virtual ~D3D11StereoDriverImpl()
Definition: OgreD3D11StereoDriverImpl.h:45
virtual void destroyBillboardSet(v1::BillboardSet *set)
Removes & destroys an BillboardSet from the SceneManager.
DriverVersion getDriverVersion() const
Definition: OgreRenderSystemCapabilities.h:463
PatchMeshPtr createBezierPatch(const String &name, const String &groupName, void *controlPointBuffer, VertexDeclaration *declaration, size_t width, size_t height, size_t uMaxSubdivisionLevel=PatchSurface::AUTO_LEVEL, size_t vMaxSubdivisionLevel=PatchSurface::AUTO_LEVEL, PatchSurface::VisibleSide visibleSide=PatchSurface::VS_FRONT, HardwareBuffer::Usage vbUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage ibUsage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY, bool vbUseShadow=true, bool ibUseShadow=true)
Creates a Bezier patch based on an array of control vertices.
uint8 getDirtyFlags(void) const
Definition: OgreConstBufferPool.h:183
TagPoints are like SceneNodes, that can be children of a Bone.
Definition: Animation/OgreTagPoint.h:101
const BudgetEntryVec & getBudget(void) const
virtual void clearFrameBuffer(RenderPassDescriptor *renderPassDesc, TextureGpu *anyTarget, uint8 mipLevel)
Immediately clears the whole frame buffer on the selected RenderPassDescriptor.
Definition: OgreScriptCompiler.h:531
void setUserValue(uint8 userValueIdx, const Vector4 &value)
Sets the value of the userValue, this can be used in a custom piece.
Rectangle2D(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager)
HardwareUniformBufferSharedPtr createShaderStorageBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create a shader storage buffer.
Definition: OgreGL3PlusHardwareBufferManager.h:161
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Notifies the ultimate texture owner the buffer changed.
@ SHADOW_NODE_FIRST_ONLY
Default option.
Definition: OgreCompositorPassSceneDef.h:67
uint32 numBitsSet(size_t positionEnd) const
Returns the number of bits that are set between range [0; positionEnd).
Definition: OgreBitset.h:107
unsigned int getNormalMapAnisotropy() const
Return the normal map anisotropy value.
Definition: OgreShaderExNormalMapLighting.h:167
Definition: OgreLodConfig.h:39
ConfigOptionMap & getConfigOptions(void)
Returns the details of this API's configuration options.
void setDimensions(TextureGpu *newTarget, const Vector4 &relativeVp, const Vector4 &scissors, uint8 mipLevel)
Sets the dimensions (after creation).
virtual void addItem(const T &i)
Add a new item to the pool.
Definition: OgreResourceManager.h:80
ProfileFrame frame
Definition: OgreProfiler.h:339
@ Type360
Definition: OgreIesLoader.h:53
void setFromAabb(const Aabb &aabb, size_t index)
Definition: C/OgreArrayAabb.h:105
void assign(QueuedSubMesh *qmesh)
Assign a queued mesh to this region, read for final build.
size_t size() const
Definition: OgreStackVector.h:112
RealAsUint getCachedDistanceToCamera(void) const
Returns the distance to camera as calculated in @cullFrustum.
Interface definition for a unit of content within a page.
Definition: OgrePageContent.h:50
T operator--(void)
Definition: OgreAtomicScalar.h:451
void XMoveWindow(Display *nativeDisplayType, Window nativeWindowType, int left, int top)
virtual void swapBuffers(void)
virtual bool canHandleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
Return whether this handler can process a given request.
MathlibC Mathlib
Definition: OgreMathlib.h:60
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:115
void removeDuplicates(C &c)
Definition: OgreEGLSupport.h:40
void clearChain(size_t chainIndex)
Remove all elements of a given chain (but leave the chain intact).
@ ID_TEXTURE_ALIAS
Definition: OgreScriptCompiler.h:725
static bool isTypeNormalized(VertexElementType etype)
Utility method which returns true if the type is SNORM or NORM.
void setNamedConstant(const String &name, const Matrix3 &m)
GLint mW
Definition: OgreGLES2HlmsSamplerblock.h:56
virtual bool setParameter(const String &name, const String &value)
Generic parameter setting method.
virtual void workspacePosUpdate(CompositorWorkspace *workspace)
Called after all nodes has been updated.
Definition: OgreCompositorWorkspaceListener.h:56
GpuConstantType getType() const
Get the type of this parameter.
Definition: OgreShaderParameter.h:326
CompositorWorkspace * workspace
Definition: OgrePlanarReflections.h:51
ExceptionThrown(TextureGpu *_texture, const Exception &_exception)
static void setAngleUnit(AngleUnit unit)
These functions used to set the assumed angle units (radians or degrees) expected when using the Angl...
~Math()
Default destructor.
virtual void updateUniformBlocks(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)=0
Updates program object uniform blocks using data from GpuProgramParameters.
uint32 filters
Definition: OgreTextureGpuManager.h:269
void doSet(void *target, const String &val)
void setConfigOption(const String &name, const String &value)
virtual RenderTexture * getRenderTarget(size_t slice=0)
Get a render target for this PixelBuffer, or a slice of it.
Holds all lights in SoA after being culled over all frustums.
Definition: OgreCommon.h:684
GLES2RenderBuffer(GLenum format, uint32 width, uint32 height, GLsizei numSamples)
GpuProgramParametersSharedPtr createParameters(void)
Overridden from GpuProgram.
String doGet(const void *target) const
MultiSourceVertexBufferPool * getMultiSourcePool(void)
Return value may be null.
Definition: OgreVertexBufferPacked.h:124
static uint32 calculateVertexSize(const VertexElement2Vec &vertexElements)
Returns the size of a single vertex buffer source with the given declaration, in bytes.
size_t getVboPoolIndex(void)
Definition: OgreStagingTextureBufferImpl.h:76
const DescriptorSetUav * getDescriptorSetUav(const DescriptorSetUav &baseParams)
GL3PlusDefaultHardwareBufferManagerBase as a Singleton.
Definition: OgreGL3PlusDefaultHardwareBufferManager.h:180
SharedPtr< SubRenderStateAccessor > SubRenderStateAccessorPtr
Definition: OgreShaderSubRenderState.h:43
Definition: OgreMain/include/OgreSmallVector.h:95
Resource(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Standard constructor.
GLES2FBOMultiRenderTarget(GLES2FBOManager *manager, const String &name)
ColourValue getColourAt(size_t x, size_t y, size_t z) const
Get colour value from a certain location in the image.
virtual size_t getBufferCount(void) const
Definition: OgreHardwareVertexBuffer.h:536
eD3DTexType
enum identifying D3D9 tex. types
Definition: OgreD3D9Mappings.h:46
virtual const String & getType() const
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
void FromAxes(const Vector3 *akAxis)
Constructs the quaternion using 3 axes, the axes are assumed to be orthonormal.
MeshVersion
Mesh compatibility versions Naming convention: MeshSerializer_v2.1 R0 LEGACYV1.
Definition: OgreMesh2Serializer.h:60
virtual void _setTextureBlendMode(size_t unit, const LayerBlendModeEx &bm)=0
Sets the texture blend modes from a TextureUnitState record.
size_t size() const
Definition: OgreRawPtr.h:119
GLsizei stride
Definition: OgreGLES2VaoManager.h:102
void setNumStableSplits(uint32 numStableSplits)
PSSM tends to be very unstable to camera rotation changes.
Definition: OgreShadowCameraSetupPSSM.h:132
StdMap< GpuTrackedResource *, ResourceLayout::Layout > ResourceLayoutMap
Definition: OgreResourceTransition.h:137
static ParameterPtr createInTexcoord2(int index, Parameter::Content content)
PageContentFactory * getContentFactory(const String &name)
Get a PageContentFactory.
_StringStreamBase StringStream
Definition: OgrePrerequisites.h:590
void mergePolygons(void)
Merges all neighboring polygons into one single polygon if they are lay in the same plane.
FontType getType(void) const
Gets the type of font.
GL3PlusContext * getGLContext() const
Definition: OgreGL3PlusDepthBuffer.h:67
virtual AnimableValuePtr createAnimableValue(const String &valueName)
Create a reference-counted AnimableValuePtr for the named value.
Definition: OgreAnimable.h:319
void recalcTangents(void)
Recalculates the tangents associated with this spline.
@ ID_MIP
Definition: OgreScriptCompiler.h:833
void setParameters(GpuProgramParametersSharedPtr params)
Sets the program parameters that should be used; because parameters can be shared between multiple us...
@ PFG_420_OPAQUE
Definition: OgrePixelFormatGpu.h:169
HardwareBufferManagerBase * getManager() const
Return the manager of this buffer, if any.
Definition: OgreHardwareUniformBuffer.h:60
void Attach(T *other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:225
size_t alignToNextMultiple(size_t offset, size_t alignment)
Aligns the input 'offset' to the next multiple of 'alignment'.
Definition: OgreCommon.h:1071
@ CBT_BACK_RIGHT
Definition: OgreCommon.h:332
int XRRConfigCurrentRate(XRRScreenConfiguration *config)
@ PFG_RG32_FLOAT
Definition: OgrePixelFormatGpu.h:65
@ PF_ASTC_RGBA_6X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 6x5)
Definition: OgrePixelFormat.h:267
virtual ~GpuProgram()
Definition: OgreGpuProgram.h:244
Real distance(const Vector3 &rhs) const
Returns the distance to another vector.
Definition: OgreVector3.h:389
static PropertyType getTypeForValue(const Matrix3 &val)
Definition: OgreProperty.h:169
void doSet(void *target, const String &val)
void reinterpretGSForStreamOut(void)
unordered_set< Vertex *, VertexHash, VertexEqual >::type UniqueVertexSet
Definition: OgreLodData.h:151
virtual void _setSamplersCS(uint32 slotStart, const DescriptorSetSampler *set)
AccessMode
Definition: OgreDataStream.h:182
@ CE_DUPLICATEOVERRIDE
Definition: OgreScriptCompiler.h:217
virtual void bindGpuProgramPassIterationParameters(GpuProgramType gptype)
Only binds Gpu program parameters used for passes that have more than one iteration rendering.
virtual void setVpAndRtArrayIndexFromAnyShaderRequired(bool r)
Sets whether this program requires support for choosing viewport or render target index in any progra...
Definition: OgreGpuProgram.h:372
virtual void setWorldGeometry(DataStreamPtr &stream, const String &typeName=BLANKSTRING)
Sets the source of the 'world' geometry, i.e.
virtual void setCloneable(bool c)
Definition: OgreOverlayElement.h:427
void setVisible(bool visible)
Tells this object whether to be visible or not, if it has a renderable component.
void * getDataPtr(size_t offset) const
Definition: OgreGL3PlusDefaultHardwareBufferManager.h:147
virtual bool resolveParameters(ProgramSet *programSet)
_OgreExport friend std::ostream & operator<<(std::ostream &o, const Radian &v)
@ SPC_TANGENT_VIEW_SPACE
Tangent in view space.
Definition: OgreShaderParameter.h:252
WorkQueue::RequestID BackgroundProcessTicket
Identifier of a background process.
Definition: OgreResourceBackgroundQueue.h:48
virtual bool requiresTextureFlipping(void) const
Definition: OgreNULLTexture.h:89
@ SPC_POSITION_LIGHT_SPACE6
Definition: OgreShaderParameter.h:99
void setNumberOfChains(size_t numChains)
Set the number of chain segments (this class can render multiple chains at once using the same materi...
HlmsDatablock * createDatablock(IdString name, const String &refName, const HlmsMacroblock ¯oblockRef, const HlmsBlendblock &blendblockRef, const HlmsParamVec ¶mVec, bool visibleToManager=true, const String &filename=BLANKSTRING, const String &resourceGroup=BLANKSTRING)
Creates a unique datablock that can be shared by multiple renderables.
Definition: OgreGLES2DepthTexture.h:74
bool hasCorrectAntipodalityHandling()
Only applicable for dual quaternion skinning.
virtual void translate(Real x, Real y, Real z, TransformSpace relativeTo=TS_PARENT)
Moves the OldNode along the Cartesian axes.
virtual ~HardwareOcclusionQuery()
Object destructor.
static OldSkeletonManager & getSingleton(void)
Override standard Singleton retrieval.
MaterialPtr create(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Create a new material.
virtual void resetCompileError(void)
Reset a compile error if it occurred, allowing the load to be retried.
Definition: OgreGpuProgram.h:448
Definition: OgreCommon.h:120
virtual void regressFrame(void)
short * XRRConfigRates(XRRScreenConfiguration *config, int sizeID, int *nRates)
void loadResourceGroup(const String &name, bool loadMainResources=true, bool loadWorldGeom=true)
Loads a resource group.
const String & getGLVendor(void) const
Get vendor information.
Definition: OgreGLES2Support.h:74
Specialisation of HardwareBufferManager to emulate hardware buffers.
Definition: OgreGL3PlusDefaultHardwareBufferManager.h:158
static uint32 halfToFloatI(uint16 y)
Converts a half in uint16 format to a float in uint32 format.
Definition: OgreBitwise.h:379
TerrainLayerSamplerSemantic semantic
The semantic this element represents.
Definition: OgreTerrainMaterialGenerator.h:75
virtual ~FunctionAtom()
Class default destructor.
Definition: OgreShaderFunctionAtom.h:54
void setEnabled(bool bEnable)
Enables or disables this animation. A disabled animation won't be processed at all.
void setBlendType(SceneBlendType blendType)
Shortcut to set the blend factors to common blending operations.
@ SaveToSystemRam
When the resource is no longer resident, we copy its contents from GPU back to system RAM and then re...
Definition: OgreGpuResource.h:79
void pop_back()
Definition: OgreCommon.h:557
@ PF_R32G32B32A32_UINT
128-bit pixel format, 32 bits red (unsigned int), 32 bits blue (unsigned int), 32 bits green (unsigne...
Definition: OgrePixelFormat.h:182
Command object for ParticleEmitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:46
OGRE_AUTO_MUTEX
Definition: OgreLogManager.h:80
Real x
Definition: OgreVector3.h:54
float width
Definition: OgreShaderExTextureAtlasSampler.h:61
@ ID_HLMS
Definition: OgreScriptCompiler.h:1019
Command object for setting macro defines.
Definition: OgreGLSLShader.h:74
C++ encapsulation of GLSL ES Program Object.
Definition: OgreGLSLESProgramCommon.h:59
static const IdString TexMatrixCount5
Definition: OgreHlmsUnlitMobile.h:101
void setRadius(Real radius)
Sets the radius of the sphere.
Definition: OgreSphere.h:69
size_t tell(void) const
Returns the current byte offset from beginning.
void _oneTimeContextInitialization()
One time initialization for the RenderState of a context.
void importUnity(const Vector3 &diffuse, const Vector3 &specular, Real roughness, bool changeBrdf)
Helper function to import & convert values from Unity (specular workflow).
void addEffect(TextureEffect &effect)
Generic method for setting up texture effects.
@ M_SUBMESH_M_GEOMETRY_EXTERNAL_SOURCE
Definition: OgreMeshFileFormat.h:98
virtual void setOrigin(const Vector3 &pos)
Define the centre position of the grid of terrain.
virtual ~GLSLESProgramCommon(void)
virtual void write(const Real *val, size_t count=1)
TexBufferPacked * getGridBuffer(const Camera *camera) const
Cache the return value as internally we perform an O(N) search.
Real arg2
Definition: OgreTextureUnitState.h:141
CG program writer factory implementation.
Definition: OgreShaderCGProgramWriter.h:119
virtual Window * _initialise(bool autoCreateWindow, const String &windowTitle="OGRE Render Window")
Start up the renderer using the settings selected (Or the defaults if none have been selected).
T begin() const
access to the begin of the range
Definition: OgreIteratorRange.h:84
virtual BufferPackedTypes getBufferPackedType(void) const
Useful to query which one is the derived class.
Definition: OgreConstBufferPacked.h:50
@ ID_DEPTH_TEXTURE
Definition: OgreScriptCompiler.h:862
std::map< IdString, HlmsDatablock * > HlmsDatablockMap
Definition: OgreHlmsManager.h:118
void setRuntimeAnalyzed(IdString texName)
If the texture comes from an input channel, we don't have yet enough information, as we're missing: W...
uint8 getBlendTextureCount() const
Get the number of blend textures in use.
@ ID_ENV_MAP
Definition: OgreScriptCompiler.h:779
virtual bool getCastsShadows(void) const OGRE_OVERRIDE
LodOutputProviderBuffer(v1::MeshPtr mesh)
Definition: OgreLodOutputProviderBuffer.h:44
static const IdString Pose
Definition: OgreHlms.h:818
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].
const Any & getData() const
Return the response data (user defined, only valid on success)
Definition: OgreWorkQueue.h:149
virtual void _render(const v1::CbDrawCallIndexed *cmd)
Renders a V1 RenderOperation. Assumes _setRenderOperation has already been called.
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:105
static bool intersects(const Plane &plane, const AxisAlignedBox &box)
Plane / box intersection test.
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:969
void pop_back()
Definition: OgreMain/include/OgreSmallVector.h:395
vector< byte >::type MicroCode
Definition: OgreD3D11HLSLProgram.h:39
Archive * createInstance(const String &name, bool readOnly)
Creates a new object.
Definition: OgreAPKFileSystemArchive.h:91
const TransformArray & _getTransformArray() const
Definition: OgreSkeletonInstance.h:205
uint32 clearStencil
Definition: OgreRenderPassDescriptor.h:153
Property instance with passthrough calls to a given object.
Definition: OgreProperty.h:216
bool resourceExistsInAnyGroup(const String &filename)
Find out if the named file exists in any group.
@ LB_BlendMultiply
Definition: OgreShaderExLayeredBlending.h:54
@ ID_IN_BUFFER
Definition: OgreScriptCompiler.h:827
virtual const String & getMaterialName(void) const
Sets the name of the material to be used for this billboard set.
Definition: OgreD3D11StagingTexture.h:42
Implementation of CompositorPass This implementation will clear the RenderTarget using the parameters...
Definition: OgreCompositorPassStencil.h:57
A frustum represents a pyramid, capped at the near and far end which is used to represent either a vi...
Definition: OgreFrustum.h:95
GLboolean depthWrite
Definition: OgreGLES2HlmsPso.h:48
String doGet(const void *target) const
AsyncTicket(BufferPacked *creator, StagingBuffer *stagingBuffer, size_t elementStart, size_t elementCount)
std::pair< uint8, uint8 > getLayerBlendTextureIndex(uint8 layerIndex) const
Get the texture index and colour channel of the blend information for a given layer.
void importV2(Ogre::Mesh *mesh)
Converts a v2 mesh back to v1.
virtual String getAsString(void)
Returns a String containing the entire stream.
void removeShadowNodeDefinition(IdString nodeDefName)
Removes the node definition with the given name. Throws if not found.
FastArray< BoneTransform > TransformArray
Definition: OgreSkeletonTrack.h:53
@ 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:126
static bool msOptimizeForShadowMapping
Definition: OgreMesh.h:695
PlaneOptimalShadowCameraSetup(MovablePlane *plane)
Constructor – requires a plane of interest.
RenderWindow * createWindow(bool autoCreateWindow, GLES2RenderSystem *renderSystem, const String &windowTitle)
PageContentCollectionFactory * getContentCollectionFactory(const String &name)
Get a PageContentCollectionFactory.
void _updateBoundsFromVertexBuffers(bool pad=false)
Automatically update the bounding radius and bounding box for this Mesh.
@ HBL_NORMAL
Normal mode, ie allows read/write and contents are preserved.
Definition: OgreHardwareBuffer.h:125
void renameBuffer(IdString oldName, const String &newName)
Changes the name of a buffer.
IdString mWorkspaceName
Definition: OgreIrradianceField.h:52
void setManualValue(const int32 *value, uint32 numValues)
void setNumWorldMatrices(ushort num)
Definition: OgreRenderSystemCapabilities.h:508
virtual Real getParticleVelocity(void) const
Returns the initial velocity of particles emitted.
int getIndex() const
Get the index of this parameter.
Definition: OgreShaderParameter.h:332
virtual ~LodWorkQueueInjector()
static const IdString SamplerUnitSlotStart
Definition: OgreUnlitProperty.h:68
Definition: OgreScriptCompiler.h:580
map< String, PropertyValue >::type PropertyValueMap
Defines a transferable map of properties using wrapped value types (Ogre::Any)
Definition: OgreProperty.h:268
void loadDynamicImage(void *pData, bool autoDelete, const TextureGpu *texture)
Convenience function.
void setRoughness(float roughness)
Sets the roughness.
bool supportsBaseInstance(void) const
Definition: OgreVaoManager.h:422
bool hasColourWriteDisabled(void) const
Exists colour writing disabled pass on this technique?
virtual void setOrientation(Real w, Real x, Real y, Real z)
Sets the orientation of this OldNode via quaternion parameters.
SourceCode(const Hlms::ShaderCodeCache &shaderCodeCache)
virtual void requestResolution(uint32 widthPt, uint32 heightPt)
Requests a change in resolution.
virtual void setTrailLength(Real len)
Set the length of the trail.
@ PFG_ASTC_RGBA_UNORM_8X6_LDR
Definition: OgrePixelFormatGpu.h:242
DataStreamPtr encode(MemoryDataStreamPtr &input, CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
@ MetadataCacheOutOfDate
The Metadata cache was out of date and we had to do a ping-pong.
Definition: OgreTextureGpuListener.h:78
PixelBox * calculateNormals(const Rect &rect, Rect &outFinalRect)
Calculate (or recalculate) the normals on the terrain.
MapIterator< ResourceManagerMap > ResourceManagerIterator
Definition: OgreResourceGroupManager.h:304
virtual bool getInvertVertexWinding(void) const
Indicates whether or not the vertex windings set will be inverted for the current render (e....
NumericKeyFrame * getNumericKeyFrame(unsigned short index) const
Returns the KeyFrame at the specified index.
@ TU_NOT_SRV
Texture would not be used as Shader Resource View, i.e.
Definition: OgreTexture.h:69
static const uint32 SUBCLASS_CHUNK_ID
Definition: OgreSimplePageContentCollection.h:70
@ RSC_SEPARATE_SAMPLERS_FROM_TEXTURES
Textures and samplers are separate in the shader. OpenGL can't do this.
Definition: OgreRenderSystemCapabilities.h:217
virtual void setRenderQueueSubGroup(uint8 subGroupId)=0
void blit(const HardwarePixelBufferSharedPtr &src, const Box &srcBox, const Box &dstBox)
HlmsPso * getPso(uint32 renderableHash, bool renderableCacheAlreadySet=false)
Returns an HlmsPso you can set via renderSystem->_setPipelineStateObject based on the input hash calc...
static void toStr(const Vector4 &value, String &outString)
virtual void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
virtual bool isShuttingDown() const
Returns whether the queue is trying to shut down.
Definition: OgreWorkQueue.h:428
static const IdString BlendModeIndex6
Definition: OgreUnlitProperty.h:117
ConstPoseIterator getPoseIterator(void) const
Get an iterator over all the poses defined.
vector< const Image * >::type ConstImagePtrList
Definition: OgreImage.h:525
@ OT_PATCH_26_CONTROL_POINT
Definition: OgreHlmsPso.h:85
bool mDepthCheck
Definition: OgreHlmsDatablock.h:80
Definition: OgreHlmsJsonUnlit.h:48
static const IdString AmbientFixed
Definition: OgreHlmsPbs.h:545
static const int RenderableMask
Definition: OgreHlms.h:963
virtual ~CompositorShadowNode()
Controller< Real > * _getAnimController() const
Gets the animation controller (as created because of setAnimatedTexture) if it exists.
Definition: OgreTextureUnitState.h:1077
virtual Real computeEdgeCollapseCost(LodData *data, LodData::Vertex *src, LodData::Edge *dstEdge)
Returns the collapse cost of the given edge.
StrongMacroblockBits
Definition: OgreHlmsPso.h:157
@ HullShader
Definition: OgreCommon.h:347
AbstractNodeListPtr _generateAST(const String &str, const String &source, bool doImports=false, bool doObjects=false, bool doVariables=false)
Generates the AST from the given string script.
void setName(const String &name)
TransparencyModes getTransparencyMode(void) const
Definition: OgreHlmsPbsDatablock.h:598
const vector< Renderable * >::type & getLinkedRenderables(void) const
Definition: OgreHlmsDatablock.h:431
void setGlobalColourMapEnabled(bool enabled, uint16 size=0)
Set whether a global colour map is enabled.
const SubRenderStateList & getTemplateSubRenderStateList() const
Get the list of the template sub render states composing this render state.
Definition: OgreShaderRenderState.h:75
TextureGpu * getCurrentPrePassDepthTexture(void) const
Definition: OgreSceneManager.h:1315
void logResults()
Outputs current profile statistics to the log.
void freeMemory(void)
"build" will download meshes for raycasting.
StaticGeometry(SceneManager *owner, const String &name)
Constructor; do not use directly (.
virtual bool hasAlpha(void) const
Returns true if the texture has an alpha layer.
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:242
@ PF_PVRTC_RGB2
PVRTC (PowerVR) RGB 2 bpp.
Definition: OgrePixelFormat.h:146
NULLConstBufferPacked(size_t internalBufferStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface, size_t bindableSize)
VertexElementType getColourVertexElementType() const
Get the native VertexElementType for a compact 32-bit colour value for this rendersystem.
CompositorWorkspaceDef(const String &name, CompositorManager2 *compositorManager)
vector< SubMeshLodGeometryLink >::type SubMeshLodGeometryLinkList
Definition: OgreStaticGeometry.h:158
SubRenderStateAccessorPtr getAccessor()
Return the accessor object to this sub render state.
Definition: OgreHlms.h:939
bool test(size_t position) const
Returns true if bit at 'position' is 1.
Definition: OgreBitset.h:98
TextureGpu * getDecalsNormals(void) const
Definition: OgreSceneManager.h:1300
bool readOnly
Assume attachment is read only (it's a hint, not an enforcement)
Definition: OgreRenderPassDescriptor.h:148
Definition: OgreGLES2GpuProgramManager.h:38
void clear()
Clear the cache.
Definition: OgreDataStream.h:144
float mRoughness
Definition: OgreDecal.h:92
void setHardwareGammaEnabled(bool enabled)
Sets whether this texture will be set up so that on sampling it, hardware gamma correction is applied...
static const IdString BlendModeIdx8
Definition: OgreHlmsUnlitMobile.h:133
void destroy(HighLevelGpuProgram *prog)
PageStrategyData * createData()
Create a PageStrategyData instance containing the data specific to this PageStrategy.
@ SBO_REVERSE_SUBTRACT
Definition: OgreBlendMode.h:257
@ PF_R3G3B2
8-bit pixel format, 2 bits blue, 3 bits green, 3 bits red.
Definition: OgrePixelFormat.h:65
void setActiveGeometryShader(GLSLShader *geometryShader)
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a vertex buffer.
@ PROP_UNKNOWN
Definition: OgreProperty.h:123
const String & getMovableType(void) const
Overridden from MovableObject.
virtual Real getRepeatDelay(void) const
Gets the duration of the emitter from when it is created or re-enabled.
#define _snprintf
Definition: OgreLwString.h:40
UpdateLodRequest()
Definition: OgreSceneManager.h:135
virtual void setDirection(const Vector3 &direction)
Sets the direction of the emitter.
#define OGRE_THREAD_POINTER(T, var)
Definition: OgreThreadDefinesBoost.h:66
@ ACT_VIEWPORT_HEIGHT
Current viewport height (in pixels) as floating point value.
Definition: OgreGpuProgramParams.h:1246
virtual ~ArchiveFactory()
Definition: OgreArchiveFactory.h:62
@ ID_FOG_OVERRIDE
Definition: OgreScriptCompiler.h:701
virtual void setConfigOption(const String &name, const String &value)
bool usesAllFields
Definition: OgreCompositorPassComputeDef.h:68
int DisplayWidth(Display *nativeDisplayType, int screen)
Definition: OgreCompositorPassDepthCopyDef.h:49
PropertyType getType() const
Get the type of the property.
Definition: OgreProperty.h:201
static const IdString CubemapsAsDiffuseGi
Definition: OgreHlmsPbs.h:551
Definition: OgreCompositorPassUavDef.h:51
@ SO_FLAT
Definition: OgreCommon.h:230
void setUseAccurateFacing(bool acc)
Sets whether or not billboards should use an 'accurate' facing model based on the vector from each bi...
static void updateAllTransformsBoneToTag(const size_t numNodes, Transform t)
@See Node::updateAllTransforms.
MetalDevice * getDevice(void) const
Definition: OgreMetalTextureGpuManager.h:81
virtual void colour(Real r, Real g, Real b, Real a=1.0f)
Add a vertex colour to a vertex.
VSOutputCompactPolicy
Definition: OgreShaderPrerequisites.h:87
static const IdString UseUvBaking
Definition: OgreHlms.h:872
GLint getAttributeIndex(VertexElementSemantic semantic, uint index)
Get the index of a non-standard attribute bound in the linked code.
virtual void switchMode(uint &width, uint &height, short &frequency)
ImageBlur2D separableBlur_Float32_XXXA
Definition: OgreImageDownsampler.h:167
void setClipPlanesImpl(const Ogre::PlaneList &planeList)
Internal method used to set the underlying clip planes when needed.
Definition: OgreGLES2RenderSystem.h:432
Vector2(Real *const r)
Definition: OgreVector2.h:86
virtual void setInitialColour(size_t chainIndex, Real r, Real g, Real b, Real a=1.0)
Set the starting ribbon colour.
bool getDecalsEnabled(void) const
Definition: OgreForwardPlusBase.h:224
const TextureUnitState * getTextureUnitState(size_t index) const
Retrieves a const pointer to a texture unit state.
bool operator>(const Degree &d) const
Definition: OgreMath.h:131
uint32 sliceStart
Definition: OgreTextureBox.h:44
CompareFunction
Comparison functions used for the depth/stencil buffer operations and others.
Definition: OgreCommon.h:86
void setBuildLegacyLightList(bool bEnable)
Enables or disables the legace 1.9 way of building light lists which can be used by HlmsLowLevel mate...
unsigned int getLastQuerysPixelcount() const
Let's you get the last pixel count with out doing the hardware occlusion test.
Definition: OgreHardwareOcclusionQuery.h:109
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
static unsigned int fixedToFixed(uint32 value, unsigned int n, unsigned int p)
Convert N bit colour channel value to P bits.
Definition: OgreBitwise.h:224
const String & getReturnType() const
Return the return type.
Definition: OgreShaderFunctionAtom.h:218
GL3PlusDepthPixelBuffer(GL3PlusDepthTexture *parentTexture, const String &baseName, uint32 width, uint32 height, uint32 depth, PixelFormat format)
virtual void advanceFrame(void)=0
void setUseColour(bool useColour)
Controls whether the value in.
void _notifyRenderedBatches(size_t numbatches)
Internal method to notify camera of the visible batches in the last render.
Definition: OgreD3D11VideoMode.h:38
void destroyAllOverlayElements(bool isTemplate=false)
Destroys all the OverlayElement created so far.
list< VertexSplit >::type VertexSplits
Definition: OgreTangentSpaceCalc.h:75
bool requiresTextureFlipping() const
Definition: OgreSDLWindow.h:84
static Real boundingRadiusFromAABB(const AxisAlignedBox &aabb)
Get a bounding radius value from a bounding box.
Definition: OgreLodCollapseCostCurvature.h:42
String getNameForMicrocodeCache()
virtual void notifyDataIsReady(void)
Notifies it is safe to use the real data. Everything has been uploaded.
FilterOptions mMipFilter
Definition: OgreHlmsSamplerblock.h:68
void _writeRawConstant(size_t physicalIndex, Real val, size_t count)
Write a variable number of floating-point parameters to the program.
@ LBX_BLEND_DIFFUSE_COLOUR
use interpolated color values from vertices to scale source1, then add source2 scaled by (1-color)
Definition: OgreBlendMode.h:105
size_t getFirstNode(Transform &outTransform)
Retrieves a Transform pointing to the first Node.
@ CE_OBJECTALLOCATIONERROR
Definition: OgreScriptCompiler.h:215
static void cullFrustum(const size_t numNodes, ObjectData t, const Camera *frustum, uint32 sceneVisibilityFlags, MovableObjectArray &outCulledObjects, const Camera *lodCamera)
@ ID_SOLID
Definition: OgreScriptCompiler.h:697
String doGet(const void *target) const
ImageBlur2D separableBlur_sRGB_A8
Definition: OgreImageDownsampler.h:210
unsigned long getDirtyFrameNumber(void) const
Get the latest animation state been altered frame number.
Definition: OgreAnimationState.h:250
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
virtual void _endFrameOnce(void)
Called once per frame, regardless of how many active workspaces there are.
virtual Page * loadOrCreatePage(const Vector3 &worldPos)
Load or create a page against this section covering the given world space position.
virtual void restoreFromClearScene(void)
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
const FilterKernel c_filterKernels[3]
static const IdString BlendModeIdx7
Definition: OgreHlmsUnlitMobile.h:132
Specialisation of VertexDeclaration for OpenGL Vertex Array Object usage.
Definition: OgreGL3PlusVertexArrayObject.h:38
@ SpecularAsFresnelWorkflow
Specular workflow where the specular texture is addressed to the fresnel instead of kS.
Definition: OgreHlmsPbsDatablock.h:204
void deallocateScratch(void *ptr)
Definition: OgreGL3PlusHardwareBufferManager.h:144
virtual void _notifyResourceUnloaded(Resource *res)
Notify this manager that a resource which it manages has been unloaded.
@ PM_SOLID
Solid polygons are rendered.
Definition: OgreCommon.h:298
@ PF_R8_SNORM
8-bit pixel format, 8 bits red (signed normalised int).
Definition: OgrePixelFormat.h:230
void encodeToFile(MemoryDataStreamPtr &input, const String &outFileName, CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
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:994
StdVector< Plane > PlaneList
Definition: OgrePlane.h:167
Definition: OgreD3D11Driver.h:41
virtual void setPreferredFloatBitDepth(ushort bits, bool reloadTextures=true)
Sets preferred bit depth for float pixel format textures.
@ ID_SHADOW_MAP_TARGET_TYPE
Definition: OgreScriptCompiler.h:1010
void importV1(v1::Mesh *mesh, bool halfPos, bool halfTexCoords, bool qTangents, bool halfPose=true)
Imports a v1 mesh to this mesh, with optional optimization conversions.
virtual void setFOVy(const Radian &fovy)
Sets the Y-dimension Field Of View (FOV) of the frustum.
SmallVector & operator=(const SmallVectorImpl< T > &RHS)
Definition: OgreMain/include/OgreSmallVector.h:790
virtual ColourValue getDiffuseColour(void) const
void _prepare(void)
Internal method for preparing this object for load, as part of Material::prepare.
GLuint getVboName(void) const
Definition: OgreGLES2DynamicBuffer.h:81
const String & getWorldResourceGroupName(void) const
Gets the resource group that 'world' resources will use.
Definition: OgreResourceGroupManager.h:956
@ RSC_HWOCCLUSION_ASYNCHRONOUS
Supports asynchronous hardware occlusion queries.
Definition: OgreRenderSystemCapabilities.h:194
void setWidth(Real width)
Sets the width of this element in relation to the screen (where 1.0 = screen width)
vector< StrideChanger >::type StrideChangerVec
Definition: OgreNULLVaoManager.h:81
Specialised KeyFrame which stores absolute vertex positions for a complete buffer,...
Definition: OgreKeyFrame.h:157
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.
virtual bool isManuallyLoaded(void) const
Is this resource manually loaded?
Definition: OgreResource.h:296
void reset(void)
Resets the position and orientation of this OldBone to the original binding position.
const String & getFragmentProgramName(void) const
Gets the name of the fragment program used by this pass.
@ OR_DEGREE_0
Definition: OgreFrustum.h:50
virtual bool areFixedFunctionLightsInViewSpace() const
Are fixed-function lights provided in view space? Affects optimisation.
Definition: OgreRenderSystem.h:606
static const char * Uav
Definition: OgreHlmsCompute.h:211
void setRenderToBufferMaterialName(const String &materialName)
Set the material name which is used to render the geometry into the vertex buffer.
@ VSOCP_LOW
Definition: OgreShaderPrerequisites.h:88
StencilStateOp stencilBack
Definition: OgreCommon.h:161
void rotate(const Quaternion &q)
Rotate the camera around an arbitrary axis using a Quaternion.
Vector3 getVoxelSize(void) const
static const IdString AlphaTestCmpFunc
Definition: OgreHlms.h:947
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:427
virtual void _hlmsMacroblockDestroyed(HlmsMacroblock *block)
void seek(size_t pos)
Repositions the read point to a specified byte.
void destroyAll(void)
Destroys all existing overlays.
static ParameterPtr createConstParamFloat(float val)
static String TargetLanguage
Definition: OgreShaderGLSLESProgramWriter.h:76
TransformSpace
Enumeration denoting the spaces which a transform can be relative to.
Definition: OgreOldNode.h:73
const ColourValue & getColour(void) const
Gets the colour of the text.
HlmsPassPso pass
Fixed to 0xffffffff for now.
Definition: OgreHlmsPso.h:203
static bool isNaN(Real f)
Definition: OgreMath.h:297
size_t getNumChildren(void) const
Reports the number of child nodes under this one.
Definition: OgreBone.h:145
String doGet(const void *target) const
Represents the transform of a single object, arranged in SoA (Structure of Arrays)
Definition: OgreObjectData.h:39
void setSelfIllumination(Real red, Real green, Real blue)
Sets the amount of self-illumination of every Pass in every Technique.
virtual size_t getConstBufferSize(void) const
Returns the amount of bytes that fillConstBufferData is going to fill.
@ OPM_ALL
Definition: OgreShaderFunctionAtom.h:96
ParticleAffector * addAffector(const String &affectorType)
Adds an affector to this particle system.
const Ogre::String & getName()
Gets the previously set name.
void setBlendblock(const HlmsBlendblock &blendblock, bool casterBlock=false)
Sets a new blendblock that matches the same parameter as the input.
virtual void setVSync(bool vSync, uint32 vSyncInterval)
CubemapProbe * createProbe(void)
Adds a cubemap probe.
virtual bool getForceDisableColourWrites(void) const
Used by depth texture views which need to disable colour writes when rendering to it PF_NULL targets ...
Definition: OgreMetalNullTexture.h:110
void normalise(void)
Unlike Quaternion::normalise(), this function does not return the length of the vector because such v...
static String getFileExtFromMagic(DataStreamPtr &stream)
Static function to get an image type string from a stream via magic numbers.
float4x3(const Matrix4 &val)
Definition: OgreShaderPrimitives.h:108
PageManager * getManager() const
Get the manager of this world.
Definition: OgrePagedWorld.h:78
const String * findResourceNameStr(IdString idName) const
This function CAN be called from any thread.
void FromEulerAnglesYZX(const Radian &fYAngle, const Radian &fPAngle, const Radian &fRAngle)
Definition: OgreHlmsTextureManager.h:157
Vector3 & getMaximum(void)
Gets a modifiable version of the maximum corner of the box.
Definition: OgreAxisAlignedBox.h:172
@ RSC_TEXTURE_COMPRESSION_PVRTC
Supports compressed textures in the PVRTC format.
Definition: OgreRenderSystemCapabilities.h:146
void initialiseAllResourceGroups(bool changeLocaleTemporarily)
Initialise all resource groups which are yet to be initialised.
@ CB_DRAW_V1_INDEXED
Definition: OgreCbCommon.h:67
ConstVectorIterator< EnabledAnimationStateList > ConstEnabledAnimationStateIterator
Definition: OgreAnimationState.h:197
bool getStatic(void) const
Definition: OgreCubemapProbe.h:193
Definition: OgreTextureFilters.h:127
@ ID_ONE
Definition: OgreScriptCompiler.h:655
ScopedLock(LightweightMutex &mutex)
Definition: OgreLightweightMutex.h:106
@ ACT_TANTIME_0_2PI
Tangent of "Time0_2PI". Equivalent to RenderMonkey's "TanTime0_2PI".
Definition: OgreGpuProgramParams.h:1229
virtual void setAspectRatio(Real ratio)
Sets the aspect ratio for the frustum viewport.
ChunkParameters * getChunkParameters(void)
Gets the parameters with which the chunktree got loaded.
ShaderProgramWriterCGFactory()
Definition: OgreShaderCGProgramWriter.h:121
PixelFormatDescription _pixelFormats[PF_COUNT]
Pixel format database.
Definition: OgrePixelFormatDescriptions.h:65
virtual GL3PlusContext * clone() const
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
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...
DXGI_RATIONAL getRefreshRate() const
ArrayReal Norm(void) const
void destroyAllNodeTracks(void)
Removes and destroys all tracks making up this animation.
@ AU_DEGREE
Definition: OgreMath.h:193
NumericAnimationTrack(Animation *parent, unsigned short handle, AnimableValuePtr &target)
Constructor, associates with an AnimableValue.
void dearrangeToInefficient(void)
Slot(SlotType _slotType)
Definition: OgreDescriptorSetUav.h:165
GpuPageOutStrategy
When a resource is no longer resident, we need to know what to do with the resource CPU side.
Definition: OgreGpuResource.h:74
void setSubroutine(GpuProgramType gptype, unsigned int slotIndex, const String &subroutineName)
virtual void allWorkspacesBeginUpdate(void)
Called from CompositorManager2 (not CompositorWorkspace) when we're about to update all the workspace...
Definition: OgreCompositorWorkspaceListener.h:102
void profilingBegin(void)
virtual VertexAnimationType getSharedVertexDataAnimationType(void) const
Gets the type of vertex animation the shared vertex data of this mesh supports.
static Radian ATan2(Real fY, Real fX)
Arc tangent between two values function.
Definition: OgreMath.h:288
void _removeAllBarriers(void)
Command object for particle_width (see ParamCommand).
Definition: OgreParticleSystem.h:99
virtual void requestFullscreenSwitch(bool goFullscreen, bool borderless, uint32 monitorIdx, uint32 width, uint32 height, uint32 frequencyNumerator, uint32 frequencyDenominator)
Requests to toggle between fullscreen and windowed mode.
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:225
virtual void freeInternalResources(void)
Frees internal texture resources for this texture.
void convertTerrainSlotToWorldPosition(long x, long y, Vector3 *pos) const
Convert a slot location to a world position at the centre.
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.
static bool getDownsamplerFunctions(PixelFormatGpu format, void **imageDownsampler2D, void **imageDownsamplerCube, void **imageBlur2D, bool gammaCorrected, uint32 depthOrSlices, TextureTypes::TextureTypes textureType, Filter filter)
Sets the proper downsampler functions to generate mipmaps.
const CompositorNode * getParentNode(void) const
Definition: OgreCompositorPass.h:217
virtual void removeChainElement(size_t chainIndex)
Remove an element from the 'tail' of a chain.
void setPageProvider(PageProvider *provider)
Set the PageProvider which can provide streams for Pages in this world.
Definition: OgrePagedWorld.h:174
FunctionAtomInstanceList::const_iterator FunctionAtomInstanceConstIterator
Definition: OgreShaderFunctionAtom.h:257
virtual void startup(bool forceRestart=true)=0
Start up the queue with the options that have been set.
vector< CompositorNode * >::type CompositorNodeVec
Definition: OgreCompositorCommon.h:57
UniformParameterPtr resolveAutoParameterInt(GpuProgramParameters::AutoConstantType autoType, GpuConstantType type, size_t data, size_t size=0)
Resolve uniform auto constant parameter with associated int data of this program.
virtual void cancelUpdate(OldNode *child)
Called by children to notify their parent that they no longer need an update.
virtual void setSyntaxCode(const String &syntax)
Sets the syntax code for this program e.g.
Used as the light list, sorted.
Definition: OgreCommon.h:648
ShaderProgramWriterHLSLFactory()
Definition: OgreShaderHLSLProgramWriter.h:122
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
GL3PlusRenderBuffer(GLenum format, uint32 width, uint32 height, GLsizei numSamples)
This is the main class for the compiler.
Definition: OgreScriptCompiler.h:192
@ ID_CLOCKWISE
Definition: OgreScriptCompiler.h:690
virtual void bindToFramebuffer(GLenum attachment, uint32 zoffset)
Bind surface to frame buffer.
void clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0)
uint getUpdateDisplayFrequency() const
Gets the frequency that the Profiler display is updated.
LodOutsideMarker(LodData::VertexList &vertexList, Real boundingSphereRadius, Real walkAngle)
uint16 getLightProfileIdx(void) const
Definition: OgreLight.h:247
@ VECTOR2
Definition: OgreAnimable.h:83
unsigned long ulong
Definition: OgrePrerequisites.h:146
MapIterator(typename T::iterator start, typename T::iterator last)
Constructor.
Definition: OgreIteratorWrapper.h:326
bool getCastsShadows(void) const
Method which reports whether this renderable would normally cast a shadow.
size_t findFirstOf(const char *c, size_t pos) const
Definition: OgreHlmsCommon.h:101
GLSLESLinkProgram * getActiveLinkProgram(void)
Get the program object that links the two active shader objects together if a program object was not ...
Vector3 normalisedCopy(void) const
As normalise, except that this vector is unaffected and the normalised vector is returned as a copy.
Definition: OgreVector3.h:729
#define _OgreHlmsUnlitMobileExport
Definition: OgreHlmsUnlitMobilePrerequisites.h:48
@ ACT_LIGHT_DIFFUSE_COLOUR_POWER_SCALED_ARRAY
Array of light diffuse colours scaled by light power (count set by extra param)
Definition: OgreGpuProgramParams.h:1078
void resetCompileError(void)
Reset a compile error if it occurred, allowing the load to be retried.
virtual void getFormatsForPso(PixelFormat outFormats[OGRE_MAX_MULTIPLE_RENDER_TARGETS], bool outHwGamma[OGRE_MAX_MULTIPLE_RENDER_TARGETS]) const
IdString getName(void) const
Definition: OgreTextureDefinition.h:133
bool operator<(const Degree &d) const
Definition: OgreMath.h:126
ImageDownsampler2D downscale2x_sRGB_XA88
Definition: OgreImageDownsampler.h:185
HlmsDatablock * clone(String name) const
Creates a copy of this datablock with the same settings, but a different name.
ushort getMaximumResolutionCubemap(void) const
Maximum resolution (width or height)
Definition: OgreRenderSystemCapabilities.h:776
Ogre assumes that there are separate programs to deal with but GLSL ES has one program object that re...
Definition: OgreGLSLESProgramManagerCommon.h:57
void setDepthTextureCopy(const String &srcTextureName, const String &dstTextureName)
Indicates the pass to change the texture units to use the specified texture sources.
T operator-=(const T &sub)
Definition: OgreAtomicScalar.h:476
WorkQueue * getWorkQueue() const
Get the WorkQueue for processing background tasks.
Definition: OgreRoot.h:1001
@ ID_DEPTH_POOL
Definition: OgreScriptCompiler.h:861
const FrameStats * getFrameStats(void) const
Definition: OgreRoot.h:514
virtual Animation * getAnimation(unsigned short index) const
Gets a single animation by index.
virtual CompositorPassDef * addPassDef(CompositorPassType passType, IdString customId, CompositorTargetDef *parentTargetDef, CompositorNodeDef *parentNodeDef)=0
Called from CompositorTargetDef::addPass when adding a Compositor Pass of type 'custom'.
void wake()
Tells the other thread to wake up from wait().
bool scalingShearingSupport
Definition: OgreShaderExHardwareSkinning.h:70
GLES2Context * clone() const
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
bool mReadOnlyStencil
Definition: OgreCompositorPassDef.h:158
void setMaximumY(Real y)
Definition: OgreAxisAlignedBox.h:236
uint16 usedMemory
Definition: OgreTextureGpuManager.h:71
@ SPC_POSTOLIGHT_TANGENT_SPACE7
Definition: OgreShaderParameter.h:164
float invDivisor
Definition: OgreHlmsUnlitMobileDatablock.h:79
void getFsaaDesc(LwString &outFsaaSetting) const
Appends the FSAA description to the string.
ushort getTarget(void) const
Return the target geometry index of the pose.
Definition: OgrePose.h:68
virtual void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
virtual void setMaterialOfLevel(size_t level, const String &matName)
Sets the material of all chunks of a specific level in the tree.
Definition: OgreGLES2Support.h:42
VaoManager * getVaoManager(void) const
@ PY
Definition: OgreTextureGpu.h:74
void clearState(void)
The RenderQueue keeps track of API state to avoid redundant state change passes Calling this function...
virtual ColourValue getEmissiveColour(void) const
DistanceLodStrategyBase(const String &name)
Default constructor.
Real getCosTime_0_2Pi(Real x) const
bool requiresTextureFlipping() const
static RenderSystemCapabilitiesManager * getSingletonPtr(void)
Override standard Singleton retrieval.
Viewport * getCurrentRenderViewports(void)
Definition: OgreRenderSystem.h:709
virtual Vector3 convertLocalToWorldPosition(const Vector3 &localPos)
Gets the world position of a point in the OldNode local space useful for simple transforms that don't...
static Radian Sign(const Radian &rValue)
Definition: OgreMath.h:347
Definition: OgreCbCommon.h:75
uint8 mBlendChannelMask
Masks which colour channels will be writing to.
Definition: OgreHlmsDatablock.h:165
const GpuSharedParamUsageList & getSharedParameters() const
Get the list of shared parameter sets.
void setDebugMode(bool debugMode)
Turns on visualization of light cell occupancy.
Definition: OgreForwardPlusBase.h:201
Real getTimeFactor(void) const
Return relative speed of time as perceived by time based controllers.
virtual void destroyInstance(SubRenderState *subRenderState)
Destroy the given instance.
uint32 getLightsPerCell(void) const
Definition: OgreForwardClustered.h:131
DXGI_SAMPLE_DESC SampleDesc
Definition: OgreD3D11LegacySDKEmulation.h:58
Builds the difference between two sources.
Definition: OgreVolumeCSGSource.h:274
void setVertexShader(GpuProgramPtr &shader)
Calls to this function can be skipped if it's valid to not have a shader set at this stage,...
bool isDeferredProcessInProgress() const
If true, it's not safe to access this Page at this time, contents may be changing.
Definition: OgrePage.h:110
bool restoreConfig(void)
Checks for saved video/sound/etc settings.
Real getFrameDelay(void) const
String getAttachedShaderNames() const
Definition: OgreGLSLShader.h:149
virtual void endRenderPassDescriptor(void)
~D3D9HardwareBufferManager()
Definition: OgreD3D9HardwareBufferManager.h:74
virtual void getFormatsForPso(PixelFormat outFormats[OGRE_MAX_MULTIPLE_RENDER_TARGETS], bool outHwGamma[OGRE_MAX_MULTIPLE_RENDER_TARGETS]) const
@ SBF_SOURCE_ALPHA
Definition: OgreBlendMode.h:243
virtual size_t _getSizeBytes(void)
Returns size in bytes.
const T & back() const
Definition: OgreStackVector.h:271
virtual void setShadowDirectionalLightExtrusionDistance(Real dist)
Sets the distance a shadow volume is extruded for a directional light.
FastArray< Real > LodValueArray
distance list used to specify LOD
Definition: OgreMaterial.h:92
virtual_l1 void estimateVertexCount(size_t vcount)
Estimate the number of vertices ahead of time.
static const IdString DiffuseMapCount1
Definition: OgreHlmsUnlitMobile.h:109
void setTimeFactor(Real tf)
Class representing the state of a single texture unit during a Pass of a Technique,...
Definition: OgreTextureUnitState.h:66
@ NUM_BUFFER_PACKED_TYPES
Definition: OgreBufferPacked.h:90
virtual uint32 getHeight() const
void setMinimum(Real x, Real y, Real z)
Definition: OgreAxisAlignedBox.h:186
virtual void _markGpuParamsDirty(uint16 mask)
Method to allow you to mark gpu parameters as dirty, causing them to be updated according to the mask...
virtual void apply(const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)=0
Applies an animation track to the designated target.
static String FACTORY_TYPE_NAME
Definition: OgreWireAabb.h:72
virtual void waitForSpecificFrameToFinish(uint32 frameCount)=0
Waits for a specific frame to be ready.
void _setSurfaceParams(const ColourValue &ambient, const ColourValue &diffuse, const ColourValue &specular, const ColourValue &emissive, Real shininess, TrackVertexColourType tracking)
Sets the surface properties to be used for future rendering.
const MovableObject * getTrackedObject(void) const
Definition: OgreWireAabb.h:45
@ Colour0
Definition: OgreRenderPassDescriptor.h:164
BufferPackedTypes
Definition: OgreBufferPacked.h:83
void setTime(Real timeVal)
Set the time value manually.
id< MTLTexture > getMsaaFramebufferName(void) const
Definition: OgreMetalTextureGpu.h:104
uint32 ABGR
Definition: OgreColourValue.h:43
RenderPassDepthTarget mDepth
Definition: OgreRenderPassDescriptor.h:179
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
@ SPC_LIGHTDIRECTION_VIEW_SPACE7
Definition: OgreShaderParameter.h:194
static size_t getMaxMipmaps(uint32 width, uint32 height, uint32 depth, PixelFormat format)
Returns the maximum number of Mipmaps that can be generated until we reach the mininum format possibl...
void _setTextureBorderColour(size_t stage, const ColourValue &colour)
Win32EGLContext(EGLDisplay eglDisplay, const EGLSupport *glsupport, ::EGLConfig fbconfig, ::EGLSurface drawable)
void setTextureType(TextureType ttype)
Sets the type of texture; can only be changed before load()
Definition: OgreTexture.h:133
virtual ~ScriptLoader()
Definition: OgreScriptLoader.h:62
Default implementation of IntersectionSceneQuery.
Definition: OgreSceneManager.h:2762
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',...
static void startup(void)
Static method to startup FreeImage and register the FreeImage codecs.
Virtual interface of the stereo driver.
Definition: OgreD3D9StereoDriverAMD.h:46
T & operator*() const
Definition: OgreSharedPtr.h:265
ushort poseIndex
The linked pose index.
Definition: OgreKeyFrame.h:206
Definition: OgreImageResampler.h:95
int getTargetLodLevel() const
Definition: OgreTerrain.h:1898
void setUseStableMarkers(bool useStableMarkers)
Sets whether each frame should be tagged with the frame number (starting from 0).
void createBlendMask(size_t blendMaskSizeHint, float initialWeight=1.0f)
Create a new blend mask with the given number of entries.
virtual void save()
Save page data to an automatically generated file name.
virtual RenderSystemCapabilities * createRenderSystemCapabilities(void) const
Query the real capabilities of the GPU and driver in the RenderSystem.
PbsUvAtlasParams mUvAtlasParams[4]
Definition: OgrePbsMobileShaderCreationData.h:59
virtual void setColour(const ColourValue &col)
Sets the colour on elements that support it.
static void setDefaultVisibilityFlags(uint32 flags)
Set the default visibility flags for all future MovableObject instances.
static bool isSampler(GpuConstantType c)
Definition: OgreGpuProgramParams.h:292
virtual ~CPreprocessor()
Destroy the preprocessor object.
PatchMesh(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group)
Constructor.
static const IdString UvCount0
Definition: OgreHlms.h:834
virtual void write(const Vector3 *vec, size_t count=1)
void setShininess(Real val)
Sets the shininess of the pass, affecting the size of specular highlights.
@ TU_AUTOMIPMAP
Mipmaps will be automatically generated for this texture.
Definition: OgreTexture.h:63
@ WorldMat
Definition: OgreBoneArrayMemoryManager.h:63
#define _OgreVolumeExport
Definition: OgreVolumePrerequisites.h:50
virtual ~StagingTextureBufferImpl()
const ShaderParameterList & getInputParameters() const
Return a list of input parameters.
Definition: OgreShaderFunction.h:134
virtual ProjectionType getProjectionType(void) const
Retrieves info on the type of projection used (orthographic or perspective).
unsigned int getMisses()
Definition: OgreVertexIndexData.h:349
void nodeCreated(Transform &outTransform, size_t depth)
Requests memory for the given transform for the first, initializing values.
void removePiece(IdString pieceName)
Removes an existing piece.
ID3D11DepthStencilView * getDepthStencilView(uint8 viewportRenderTargetFlags)
~AxisAlignedBox()
Definition: OgreAxisAlignedBox.h:140
const ShaderProfiles & getSupportedShaderProfiles() const
Returns a set of all supported shader profiles.
Definition: OgreRenderSystemCapabilities.h:649
VertexElementType getType(void) const
Gets the data format of this element.
Definition: OgreHardwareVertexBuffer.h:139
void * getDataPtr(size_t offset) const
Definition: OgreGLES2DefaultHardwareBufferManager.h:92
KeyFrame * _clone(AnimationTrack *newParent) const
Clone a keyframe (internal use only)
float mDepthBiasSlopeScale
The slope-relative bias value, expressed as a factor of the depth slope.
Definition: OgreHlmsDatablock.h:100
@ Type2DArray
Definition: OgreTextureGpu.h:59
virtual void destroyLight(Light *light)
Removes the light from the scene and destroys it based on a pointer.
void doSet(void *target, const String &val)
void queueEndRendering(bool state=true)
Queues the end of rendering.
void exportMesh(const Mesh *pMesh, DataStreamPtr stream, Endian endianMode=ENDIAN_NATIVE)
Exports a mesh to the stream specified, in the latest format.
uint32 getPrimitiveStart(void) const
Definition: OgreVertexArrayObject.h:112
Real getOwnWidth(void) const
Retrieves the billboard's personal width, if hasOwnDimensions is true.
ConstMapIterator< VertexTrackList > VertexTrackIterator
Definition: OgreAnimation.h:407
ResourceManager * _getResourceManager(const String &resourceType)
Internal method for getting a registered ResourceManager.
GLint mMinFilter
Definition: OgreGLES2HlmsSamplerblock.h:52
Compositor nodes are the core subject of compositing.
Definition: OgreCompositorNodeDef.h:81
static const int SubRqIdBits
Definition: OgreRenderQueue.h:293
Definition: OgreMetalTextureGpu.h:44
size_type max_size() const
Definition: OgreMemorySTLAllocator.h:158
void makeTransform(const Vector3 &position, const Vector3 &scale, const Quaternion &orientation)
Building a Matrix4 from orientation / scale / position.
bool supportsMorphAnimation
Definition: OgreMaterialSerializer.h:54
void doSet(void *target, const String &val)
virtual void releaseTmpRtt(const TextureGpu *tmpRtt)
Image & flipAroundY()
Flips (mirrors) the image around the Y-axis.
virtual void getFormatsForPso(PixelFormat outFormats[OGRE_MAX_MULTIPLE_RENDER_TARGETS], bool outHwGamma[OGRE_MAX_MULTIPLE_RENDER_TARGETS]) const
size_t offset
Definition: OgreCompositorPassUavDef.h:81
virtual void swapBuffers(void)
virtual void setSource(Source *a)
Sets the source.
const String & getName(void) const
Get the name of this object.
Definition: OgreStaticGeometry.h:543
String doGet(const void *target) const
bool operator<(const StencilStateOp &other) const
Definition: OgreCommon.h:132
virtual const Microcode & getMicrocodeFromCache(const String &source) const
Returns a microcode for a program from the microcode cache.
BufferSlot buffer
Definition: OgreDescriptorSetUav.h:156
This is a abstract class that that provides the interface for the query class for hardware occlusion.
Definition: OgreHardwareOcclusionQuery.h:52
@ M_ANIMATION_POSE_REF
Definition: OgreMeshFileFormat.h:176
@ PASS_QUAD
Definition: OgreCompositorPassDef.h:55
void removeListener(ProfileSessionListener *listener)
Class for providing backwards-compatibility for loading version 1.3 of the .mesh format.
Definition: OgreMeshSerializerImpl.h:281
String filename
Filename, if this is to be loaded from a file.
Definition: OgreTerrainGroup.h:307
vector< PageContent * >::type ContentList
Definition: OgreSimplePageContentCollection.h:69
bool isManuallyControlled() const
Getter for mManuallyControlled Flag.
@ SPC_LIGHTDIRECTION_TANGENT_SPACE1
Definition: OgreShaderParameter.h:198
@ OT_PATCH_7_CONTROL_POINT
Definition: OgreHlmsPso.h:66
void bindGpuProgramParameters(GpuProgramType gptype, GpuProgramParametersSharedPtr params, uint16 variabilityMask)
See RenderSystem.
D3D11NullPixelBuffer(D3D11NullTexture *parentTexture, const String &baseName, uint32 width, uint32 height, uint32 Null, PixelFormat format)
ArrayVector3 normalisedCopy(void) const
As normalise, except that this vector is unaffected and the normalised vector is returned as a copy.
void _keyFrameDataChanged(void) const
Internal method used to tell the track that keyframe data has been changed, which may cause it to reb...
void setActiveRenderTargetDevice(D3D9Device *device)
VertexList mVertexList
Definition: OgreLodData.h:156
Definition: OgreLodCollapseCost.h:40
bool isUsingSharedParameters(const String &sharedParamsName) const
Returns whether this parameter set is using the named shared parameter set.
@ FILTER_LINEAR
Definition: OgreImage.h:452
General purpose class used for encapsulating the reading and writing of data.
Definition: OgreDataStream.h:179
virtual void destroyAllAnimations(void)
Removes all animations created using this SceneManager.
Real fData
Definition: OgreGpuProgramParams.h:2494
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...
virtual void setShadowTextureFadeStart(Real fadeStart)
Sets the proportional distance at which texture shadows begin to fade out.
Definition: OgreSceneManager.h:2373
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
map< String, PagedWorld * >::type WorldMap
Definition: OgrePageManager.h:179
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:120
virtual void registerSceneNodeListener(SceneNode *sceneNode)
Node listeners need to be registered with us so that they can be successfully called when calling upd...
uint16 yIdx
Definition: OgreHlmsTextureManager.h:282
#define OGRE_DOUBLE_PRECISION
If set to 1, Real is typedef'ed to double.
Definition: OgreConfig.h:68
Lighting sub render state implementation of the Fixed Function Pipeline.
Definition: OgreShaderFFPLighting.h:52
void setVertex(const Vector3 &vdata, size_t vertexIndex)
Sets a specific vertex of a polygon.
static Matrix4 getTrans(const Vector3 &v)
Gets a translation matrix.
Definition: OgreMatrix4.h:444
virtual bool isFrameFinished(uint32 frameCount)
See VaoManager::isFrameFinished.
@ ID_FRAGMENT_PROGRAM_REF
Definition: OgreScriptCompiler.h:621
Edge data.
Definition: OgreEdgeListBuilder.h:75
Real getPixelDisplayRatio() const
Returns an estimated ratio between a pixel and the display area it represents.
Definition: OgreCamera.h:722
CustomParameterBits
Definition: OgrePlanarReflections.h:278
const String & getType(void) const
Get the type of the object to be created.
virtual void _notifyBeforeIlluminationPassesCleared(Technique *mat)
Internal method for sorting out illumination passes for a scheme.
char * begin()
Definition: OgreLwString.h:345
virtual void setValue(const Vector3 &)
Set value.
Definition: OgreAnimable.h:163
~D3D11HardwarePixelBuffer()
GPUDeviceNameRule()
Definition: OgreTechnique.h:109
CompositorStoreActionTranslator()
@ PF_D32_FLOAT_X24_S8_UINT
Depth texture format. 32 bits for depth. 8 bits for stencil.
Definition: OgrePixelFormat.h:350
@ ACT_VIEWPROJ_MATRIX
The current view & projection matrices concatenated.
Definition: OgreGpuProgramParams.h:957
@ ID_LOD_CAMERA
Definition: OgreScriptCompiler.h:907
@ ID_DEPTH_FORMAT
Definition: OgreScriptCompiler.h:863
Real calculate(Real source)
Overridden function.
CompositorPassDefVec & getCompositorPassesNonConst()
@See getNodeDefinition.
Definition: OgreCompositorPassDef.h:299
void closeGapsInBindings(void)
Remove any gaps in the vertex buffer bindings.
Vector2 normalisedCopy(void) const
As normalise, except that this vector is unaffected and the normalised vector is returned as a copy.
Definition: OgreVector2.h:530
static AtomicScalar< uint32 > MeshIndexId
Definition: OgreRenderOperation.h:47
unsigned long getVersion() const
Get the version number of this shared parameter set, can be used to identify when changes have occurr...
Definition: OgreGpuProgramParams.h:693
virtual void setListener(Listener *l)
Set a listener for this track.
Definition: OgreAnimationTrack.h:241
virtual void setListener(Listener *listener)
Sets a listener for this OldNode.
Definition: OgreOldNode.h:644
Definition: OgreObjCmdBuffer.h:108
bool load(StreamSerialiser &stream)
Load this data from a stream (returns true if successful)
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.
bool _getOwnShadowFarDistance(void) const
Definition: OgreSharedPtr.h:85
void updatePassIterationUniforms(GpuProgramParametersSharedPtr params)
Updates program object uniforms using data from pass iteration GpuProgramParameters.
VertexData * vertexData
Definition: OgreStaticGeometry.h:155
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:312
const Real * ptr() const
Pointer accessor for direct copying.
Definition: OgreVector3.h:131
TextureUnitState * getTextureUnitState(size_t index)
Retrieves a pointer to a texture unit state so it may be modified.
int TrackVertexColourType
An enumeration describing which material properties should track the vertex colours.
Definition: OgreCommon.h:302
Vector3 mTrackedPosition
This variable should be updated every frame and often represents the camera position,...
Definition: OgreParallaxCorrectedCubemap.h:62
@ G2D_X_Y
Grid is in the X/Y plane.
Definition: OgreGrid2DPageStrategy.h:54
void doSet(void *target, const String &val)
size_t triCount
Number triangles of this edge group.
Definition: OgreEdgeListBuilder.h:115
virtual ~D3D9StereoDriverNVIDIA()
static ParameterPtr createOutTexcoord(GpuConstantType type, int index, Parameter::Content content)
virtual void addListener(Listener *lis)
Register a listener on this resource.
bool usesVertexTextureFetch
Definition: OgreMaterialSerializer.h:56
virtual void endGPUSampleProfile(const String &name)
virtual const String & getName(void) const
Gets resource name.
Definition: OgreResource.h:327
uchar * getCurrentPtr(void)
Get a pointer to the current position in the memory block this stream holds.
Definition: OgreDataStream.h:436
CompositorManager2 * getCompositorManager(void) const
Definition: OgreCompositorNodeDef.h:234
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:1018
Implementation to create the Transform variables needed by Bones.
Definition: OgreBoneArrayMemoryManager.h:49
void setForwardClustered(bool bEnable, uint32 width, uint32 height, uint32 numSlices, uint32 lightsPerCell, uint32 decalsPerCell, uint32 cubemapProbesPerCel, float minDistance, float maxDistance)
Real maxTimePercent
The maximum percentage of frame time this profile has taken.
Definition: OgreProfiler.h:275
void removeEmitter(unsigned short index)
Removes an emitter from the system.
bool getPassSurfaceAndLightStates(void) const
virtual void waitForSpecificFrameToFinish(uint32 frameCount)
See VaoManager::waitForSpecificFrameToFinish.
ColourValue getColour(void) const
Gets the current colour. The returned value is meaningless if mHasColour is false.
Definition: OgreHlmsUnlitMobileDatablock.h:176
virtual ~GL3PlusNullTextureTarget()
static void startup(void)
Static method to startup FreeImage and register the FreeImage codecs.
A viewpoint from which the scene will be rendered.
Definition: OgreCamera.h:102
uint32 getDepth(void) const
For TypeCube & TypeCubeArray, this value returns 1.
virtual void load()=0
Load - will be called in main thread.
virtual ~GLES2DefaultHardwareBufferManagerBase()
Provides methods to find out where the Ogre config files are stored and where logs and settings files...
Definition: OgreFileSystemLayer.h:50
virtual void getCustomAttribute(IdString name, void *pData)
static void _initialisePool()
Initialise the internal polygon pool used to minimise allocations.
@ ID_TARGET_FORMAT
Definition: OgreScriptCompiler.h:853
OGRE_AUTO_MUTEX
Definition: OgreResourceGroupManager.h:284
size_t getNumTexUnits(void) const
Definition: OgreHlmsComputeJob.h:292
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
virtual void setCaption(const DisplayString &text)
Sets the caption on elements that support it.
virtual void entriesModified(uint32 entryTypes)
Call this when you're done modified mColour.
@ RSC_TILER_CAN_CLEAR_STENCIL_REGION
When RSC_IS_TILER is set, this variable being set means the stencil can also be cleared like colour a...
Definition: OgreRenderSystemCapabilities.h:227
size_t getRequiredVertexCount(void) const
Based on a previous call to defineSurface, establishes the number of vertices required to hold this p...
CompositorWorkspaceDef * getWorkspaceDefinition(IdString name) const
Returns the workspace definition with the given name. Throws if not found.
vector< LayerInstance >::type LayerInstanceList
Definition: OgreTerrain.h:311
const MaterialPtr & getMaterial(void) const
Retrieves the material this renderable object uses.
bool removeParameterNoThrow(const String &name)
Removes a parameter if it matches the name.
size_t getEmittedEmitterQuota(void) const
Returns the maximum number of emitted emitters this system is allowed to have active at once.
virtual void deinitGPUProfiling(void)
void destroy()
Definition: OgreFastArray.h:169
Win32Context(HDC hdc, HGLRC glrc, uint32 contexMajorVersion, uint32 contexMinorVersion)
Factory for default scene manager.
Definition: OgreSceneManagerEnumerator.h:47
DataStreamPtr openResource(const String &resourceName, const String &groupName=DEFAULT_RESOURCE_GROUP_NAME, bool searchGroupsIfNotFound=true, Resource *resourceBeingLoaded=0)
Open a single resource by name and return a DataStream pointing at the source of the data.
SubStringRef(const String *original, size_t _start, size_t _end)
Definition: OgreHlmsCommon.h:63
uint32 getHeight(void) const
void setDiffuse(const ColourValue &diffuse)
Sets the diffuse colour reflectance properties of every Pass in every Technique.
static StringVector parseStringVector(const String &val)
Parses a StringVector from a string.
~PixelBox()
Definition: OgrePixelBox.h:48
virtual ~GLES2HardwareVertexBuffer()
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
Create a hardware counter buffer.
@ ID_CAMERA_DIRECTION
Definition: OgreScriptCompiler.h:937
bool hasPlanarReflections(const Renderable *renderable) const
void _getDepthStencilFormatFor(GLenum internalColourFormat, GLenum *depthFormat, GLenum *stencilFormat)
Mimics D3D9RenderSystem::_getDepthStencilFormatFor, if no FBO RTT manager, outputs GL_NONE.
Resolution(uint32 x, uint32 y)
LightClosest()
Definition: OgreCommon.h:659
virtual void windowMovedOrResized(void)
Notify that the window has been resized.
virtual ~EmscriptenEGLSupport()
bool isNull(void) const
Returns true if the box is null i.e.
Definition: OgreAxisAlignedBox.h:515
unsigned short getMaxSimultaneousLights(void) const
Gets the maximum number of lights to be used by this pass.
size_t getVboPoolIndex(void)
Definition: OgreNULLBufferInterface.h:55
unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
virtual void initialiseExtensions()
Initialises GL extensions, must be done AFTER the GL context has been established.
void doSet(void *target, const String &val)
@ M_HEADER
Definition: OgreMeshFileFormat.h:58
Class to provide access to common mathematical functions.
Definition: OgreMath.h:184
size_t size() const
Definition: OgreLwConstString.h:102
void doSet(void *target, const String &val)
bool getReceiveDynamicShadowsEnabled() const
Whether to support dynamic texture shadows received from other objects, on the terrain (default true)...
Definition: OgreTerrainMaterialGeneratorA.h:118
static void shutdown(void)
Static method to shutdown and unregister the DDS codec.
void connectExternalBuffer(uint32 externalBufferIdx, IdString inNode, uint32 inChannel)
Connects an external buffer to the given input channel.
virtual uint32 getPassBufferSize(const CompositorShadowNode *shadowNode, bool casterPass, bool dualParaboloid, SceneManager *sceneManager) const
Listeners should return the extra bytes they wish to allocate for storing additional data in the pass...
Definition: OgreHlmsListener.h:116
virtual bool prepareProceduralPage(Page *page, PagedWorldSection *section)
Give a provider the opportunity to prepare page content procedurally.
Definition: OgrePageManager.h:69
uint32 getVisibilityFlags() const
Returns the visibility flags of the regions.
ConstNormalsIterator getNormalsIterator(void) const
Gets an iterator over all the vertex offsets.
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
Copy data from another buffer into this one.
ResourcePool(const String &name)
void _setIsRendering(bool bIsRendering)
Definition: OgreParallaxCorrectedCubemapBase.h:132
Definition: OgreLodData.h:52
void setName(const String &name)
Set the name of the technique.
TransparencyModes
Definition: OgreHlmsPbsDatablock.h:173
void bindTempCopies(VertexData *targetData, bool suppressHardwareUpload)
Utility method, binds dest copies into a given VertexData struct.
void increaseLodLevel(bool synchronous=false)
Increase Terrain's LOD level by 1.
static Real Log2(Real fValue)
Definition: OgreMath.h:340
Ogre assumes that there are separate vertex and fragment programs to deal with but GLSL has one progr...
Definition: OgreGLSLMonolithicProgramManager.h:56
const CompositorWorkspaceDef * getDefinition(void)
Definition: OgreCompositorWorkspace.h:371
void setTextureScale(Real uScale, Real vScale)
Sets the scaling factor applied to texture coordinates.
virtual void encodeToFile(MemoryDataStreamPtr &input, const String &outFileName, CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
Command object for material (see ParamCommand).
Definition: OgreParticleSystem.h:85
Definition: OgreTextureFilters.h:64
WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
Implementation for WorkQueue::RequestHandler.
@ ElementUInt
Definition: OgreShaderParams.h:58
Real getPointMaxSize(void) const
Get the maximum point size, when point attenuation is in use.
GLuint getGLBufferId(void) const
Definition: OgreGL3PlusHardwareCounterBuffer.h:65
virtual void set(T val)
Set the property value.
Definition: OgreProperty.h:234
D3D11TextureGpuWindow(GpuPageOutStrategy::GpuPageOutStrategy pageOutStrategy, VaoManager *vaoManager, IdString name, uint32 textureFlags, TextureTypes::TextureTypes initialType, TextureGpuManager *textureManager, Window *window)
@ FFP_PS_FOG
Definition: OgreShaderFFPRenderState.h:62
bool getFineLightMaskGranularity(void) const
Definition: OgreHlmsPbs.h:304
IDirect3DSurface9 * getRenderSurface()
Accessor for render surface.
StdVector< BufferPacked * > BufferPackedVec
Definition: OgreBufferPacked.h:330
virtual Animation * _getAnimationImpl(const String &name) const
Internal access to the named vertex Animation object - returns null if it does not exist.
bool hasIndependentShadowMappingBuffers(void) const
Returns true if the shadow mapping buffers do not just reference the real buffers,...
bool isVSyncEnabled() const
Indicates whether vertical sync is activated for the window.
Definition: OgreD3D11RenderWindow.h:123
static const IdString NormalRgUnorm
Definition: OgreHlmsPbs.h:490
HlmsDatablock * getDatablock(IdString name) const
Finds an existing datablock based on its name (.
uint8 mActivationPriority
Ogre tries to activate visible planar reflections, sorting those that are closest to the camera,...
Definition: OgrePlanarReflectionActor.h:102
Definition: OgreGL3PlusNullTexture.h:37
const String & getName() const
Returns the name of the rendering system.
MetalAsyncTextureTicket(uint32 width, uint32 height, uint32 depthOrSlices, TextureTypes::TextureTypes textureType, PixelFormatGpu pixelFormatFamily, MetalVaoManager *vaoManager, MetalDevice *device)
const Matrix4 & getInverseWorldViewMatrix(void) const
size_t read(void *buf, size_t count)
Read the requisite number of bytes from the stream, stopping at the end of the file.
~D3D11CompatBufferInterface()
void notifyNeighbours()
Tell this instance to notify all neighbours that will be affected by a height change that has taken p...
void advanceLightPack()
Advances all pointers needed by MovableObject::buildLightList to the next pack, i....
Definition: OgreObjectData.h:230
virtual void getCustomAttribute(IdString name, void *pData)
virtual void endRenderPassDescriptor(void)
Pass * getParent(void) const
Gets the parent Pass object.
Definition: OgreTextureUnitState.h:1009
virtual SceneQueryResult & execute(void)
Executes the query, returning the results back in one list.
virtual ~ZipArchiveFactory()
Definition: OgreZip.h:115
SharedPtr< MemoryDataStream > MemoryDataStreamPtr
Definition: OgrePrerequisites.h:395
virtual void *RESTRICT_ALIAS_RETURN map(size_t elementStart, size_t elementCount, MappingState prevMappingState, bool advanceFrame=true)
uint8 getTextureUvSource(PbsTextureTypes sourceType) const
@ BBR_VERTEX
Rotate the billboard's vertices around their facing direction.
Definition: OgreBillboardSet.h:72
static void _destroyPool()
Tear down the internal polygon pool used to minimise allocations.
UserObjectBindings & getUserObjectBindings()
Return an instance of user objects binding associated with this class.
Definition: OgreTechnique.h:535
static uint32 QUERY_ENTITY_DEFAULT_MASK
Default query mask for entities.
Definition: OgreSceneManager.h:227
void _setWorldMatrix(const Matrix4 &m)
Sets the world transform matrix.
size_t level
The current LOD level.
Definition: OgreVolumeChunkHandler.h:57
String toString() const
Definition: OgreRenderSystemCapabilities.h:288
virtual void _setPipelineStateObject(const HlmsPso *pso)
@See HlmsPso
virtual void setKeepParticlesInLocalSpace(bool keepLocal)=0
Setting carried over from ParticleSystem.
virtual void _render(const CbDrawCallIndexed *cmd)
Renders the VAO. Assumes _setVertexArrayObject has already been called.
@ ForceAllSceneNodes
Always export the scene node even if its empty or its only attached objects are things we're not expo...
Definition: OgreSceneFormatBase.h:54
Internal implementation of Mesh reading / writing for the latest version of the .mesh format.
Definition: OgreMesh2SerializerImpl.h:62
String name
Definition: OgreMaterialSerializer.h:48
ObjectMemoryManagerVec const * objectMemManager
Memory manager of the objects to cull.
Definition: OgreSceneManager.h:109
GpuProgramPtr tesselationDomainShader
Definition: OgreHlmsPso.h:180
HardwareIndexBuffer(HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage, bool useSystemMemory, bool useShadowBuffer)
Should be called by HardwareBufferManager.
static size_t calculateNumTargets(const AbstractNodePtr &node)
bool getLightScissoringEnabled() const
Gets whether or not this pass will be clipped by a scissor rectangle encompassing the lights that are...
Definition: OgrePass.h:1061
@ ERR_NOT_IMPLEMENTED
Definition: OgreException.h:116
void setCubicTextureName(const String &name, bool forUVW=false)
Sets this texture layer to use a combination of 6 texture maps, each one relating to a face of a cube...
void setPerceptualRoughness(bool bPerceptualRoughness)
Toggle whether the roughness value (set via material parameters and via roughness textures) is percep...
static const IdString UvDiffuseSwizzle11
Definition: OgreUnlitProperty.h:105
virtual void queueBindUAV(uint32 slot, TexturePtr texture, ResourceAccess::ResourceAccess access=ResourceAccess::ReadWrite, int32 mipmapLevel=0, int32 textureArrayIndex=0, PixelFormat pixelFormat=PF_UNKNOWN)
void clip(const Plane &pl, bool keepNegative=true)
Clips the object by the positive half space of a plane.
uint8 getProxyReservedRenderQueueId(void) const
Returns the RenderQueue ID you told us you reserved for storing our internal objects.
Definition: OgreParallaxCorrectedCubemap.h:206
void setDefaultGlobalColourMapSize(uint16 sz)
Set the default size of the terrain global colour map for a new terrain.
Definition: OgreTerrain.h:2073
Real normalise(void)
Normalises the plane.
bool getReceiveShadows(void) const
@ ID_BLEND_DIFFUSE_ALPHA
Definition: OgreScriptCompiler.h:767
static const Quaternion ZERO
Definition: OgreQuaternion.h:317
GL3PlusDynamicBuffer(GLuint vboName, GLuint vboSize, GL3PlusVaoManager *vaoManager, BufferType persistentMethod)
const Vector4 & getFogParams(void) const
const HlmsBlendblock * getBlendblock(const HlmsBlendblock &baseParams)
See HlmsManager::getMacroblock.
virtual void _notifyPreparePassHash(const Matrix4 &viewMatrix)
const ColourValue getLightSpecularColourWithPower(size_t index) const
AnimationState(AnimationStateSet *parent, const AnimationState &rhs)
Constructor to copy from an existing state with new parent.
Real noise(Real xIn, Real yIn, Real zIn) const
3D noise function.
virtual void regressFrame(void)
void doSet(void *target, const String &val)
T end() const
access to the end of the range
Definition: OgreIteratorRange.h:87
SceneManager * getSceneManager() const
Definition: OgreCompositorWorkspace.h:347
static eD3DTexType get(TextureType ogreTexType)
return the D3DtexType equivalent of a Ogre tex. type
void destroyInstance(SceneManager *instance)
Destroy an instance of a SceneManager.
void setShadowCasterVertexProgramParameters(GpuProgramParametersSharedPtr params)
Sets the vertex program parameters for rendering as a shadow caster.
size_t getSize() const
Returns the size of the data buffer.
~BillboardChainFactory()
Definition: OgreBillboardChain.h:362
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.
Definition: OgreSkeletonTrack.h:56
static String toString(unsigned long val, unsigned short width=0, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
Converts an unsigned long to a String.
float mSpecularSdfQuality
When roughness is close to 0.02, specular cone tracing becomes path tracing.
Definition: OgreVctLighting.h:153
@ GCT_UINT1
Definition: OgreGpuProgramParams.h:112
SimplePageContentCollection(PageContentCollectionFactory *creator)
@ PF_ASTC_RGBA_8X8_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 8x8)
Definition: OgrePixelFormat.h:275
A factory class for creating types of world section.
Definition: OgrePagedWorldSection.h:302
void _endFrame()
Ends rendering of a frame to the current viewport.
virtual void initialise(void)
Initialise.
ArrayMaskR intersects(const ArrayVector3 &v) const
Returns whether or not this sphere intersects another sphere.
CreateGpuProgramScriptCompilerEvent(const String &file, const String &name, const String &resourceGroup, const String &source, const String &syntax, GpuProgramType programType)
Definition: OgreScriptCompiler.h:558
virtual ~RenderTargetListener()
Definition: OgreRenderTargetListener.h:88
uint32 getMaxThreadsPerThreadgroup(void) const
Definition: OgreRenderSystemCapabilities.h:989
bool getAffectParentNode(void) const
Definition: OgreLight.h:288
virtual void _setHlmsMacroblock(const HlmsMacroblock *macroblock)
void autoUpdateLod(long x, long y, bool synchronous, const Any &data)
Automatically checks if terrain's LOD level needs to be updated.
GLSLESProgramProcessor()
Class constructor.
bool matchEqual(const char *stringCompare) const
Definition: OgreHlmsCommon.h:112
void setTarget(const String &target)
Sets the shader target to compile down to, e.g.
static bool isSigned(PixelFormat format)
Shortcut method to determine if the format is signed.
const_iterator begin() const
Definition: OgreMain/include/OgreSmallVector.h:185
const CompositorShadowNode * getCurrentShadowNode(void) const
Definition: OgreSceneManager.h:2412
Real getScaleX(void) const
Gets the current X scale value.
Definition: OgreCompositorPassDef.h:98
int getHighestLodLoaded()
Definition: OgreTerrainLodManager.h:117
void setCompositeMapAmbient(const ColourValue &c)
Set the composite map ambient light to use.
Definition: OgreTerrain.h:1957
@ ACT_SINTIME_0_1
Sine of "Time0_1". Equivalent to RenderMonkey's "SinTime0_1".
Definition: OgreGpuProgramParams.h:1212
PixelFormatGpu getPixelFormatFamily(void) const
uint16 currentLoadedLod
Definition: OgreTerrainLodManager.h:71
Radian operator/(Real a, const Radian &b)
Definition: OgreMath.h:807
Lightweight struct to represent a mesh vertex.
Definition: OgreVolumeMeshBuilder.h:43
virtual void _notifyManualBoneStateChange(OldBone *bone)
Internal method for notifying that a bone is manual.
virtual_l1 void textureCoord(Real x, Real y, Real z, Real w)
Add a texture coordinate to the current vertex.
reverse_iterator rend()
Definition: OgreMain/include/OgreSmallVector.h:196
static UvAtlasParams textureLocationToAtlasParams(const HlmsTextureManager::TextureLocation &texLocation)
static CommandBufferExecuteFunc execute_setConstantBufferVS
Definition: OgreCommandBuffer.h:74
static const ArrayAabb BOX_INFINITE
Definition: C/OgreArrayAabb.h:167
@ VET_INT1
Definition: OgreVertexElements.h:95
static const uint16 WORKQUEUE_CHANGECOLLECTION_REQUEST
Definition: OgrePage.h:192
@ UNLIT_BLEND_NORMAL_NON_PREMUL
Regular alpha blending.
Definition: OgreHlmsUnlitPrerequisites.h:63
String doGet(const void *target) const
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
SceneNode * getDummySceneNode(void) const
Unlike mNodeMemoryManager->_getDummyNode(), this dummy node is fully allocated, which makes it possib...
Definition: OgreSceneManager.h:1204
size_t _getTextureUnitWithContentTypeIndex(TextureUnitState::ContentType contentType, size_t index) const
Gets the 'nth' texture which references the given content type.
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
Create a hardware uniform buffer.
const StringVector & getFragmentShaderProfilesList() const
Get the output fragment shader target profiles as list of strings.
Definition: OgreShaderGenerator.h:185
@ BBO_CENTER_RIGHT
Definition: OgreBillboardSet.h:63
~SimplePageContentCollectionFactory()
Definition: OgreSimplePageContentCollection.h:117
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:165
Class to do pixel format mapping between GL and OGRE.
Definition: OgreGLES2PixelFormat.h:40
virtual void _loadImages(const ConstImagePtrList &images)
Internal method to load the texture from a set of images.
virtual ~SubEntity()
Destructor.
SharedPtr< LodOutputProvider > LodOutputProviderPtr
Definition: OgreLodPrerequisites.h:68
void performLoadActions(uint8 blendChannelMask, bool depthWrite, uint32 stencilWriteMask, uint32 entriesToFlush)
bool isFocused(void) const
SubMesh * getSubMesh(const String &name) const
Gets a SubMesh by name.
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...
void sort(void)
Sorts the elements in this list to be compatible with the maximum number of rendering APIs / graphics...
virtual ~GLES2HardwareBufferManagerBase()
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:201
GLES2FrameBufferObject(GLES2FBOManager *manager, uint fsaa)
Real getDetailNormalWeight(uint8 detailNormalMapIdx) const
Returns the detail normal maps' weight.
GuiMetricsMode
Enum describing how the position / size of an element is to be recorded.
Definition: OgreOverlayElement.h:58
virtual ~ItemIdentityException()
virtual OldBone * getRootBone(void) const
Gets the root bone of the skeleton: deprecated in favour of getRootBoneIterator.
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.
ResourceSimdAllocObject HlmsAlloc
Definition: OgreMemoryAllocatorConfig.h:319
MaterialSerializer()
default constructor
LwString & a(const M &a0, const N &a1, const O &a2)
Definition: OgreLwString.h:362
virtual void getFormatsForPso(PixelFormat outFormats[OGRE_MAX_MULTIPLE_RENDER_TARGETS], bool outHwGamma[OGRE_MAX_MULTIPLE_RENDER_TARGETS]) const
uint32 y
Definition: OgreCompositorShadowNode.h:347
T value_type
Definition: OgreMain/include/OgreSmallVector.h:171
bool isDirty
Definition: OgreCommon.h:657
virtual void initialiseExtensions()
Initialise extensions.
Definition: OgreMovableObject.h:631
@ ACT_TANTIME_0_X
Tangent of "Time0_X". Equivalent to RenderMonkey's "TanTime0_X".
Definition: OgreGpuProgramParams.h:1199
void FromAngleAxis(const ArrayRadian &rfAngle, const ArrayVector3 &rkAxis)
Setups the quaternion using the supplied vector, and "roll" around that vector by the specified radia...
Real x
Definition: OgreVector2.h:53
virtual void _autogenerateMipmaps(void)=0
Tells the API to let the HW autogenerate mipmaps.
virtual ~AxisAlignedBoxSceneQuery()
bool operator()(const IdObject *left, const IdObject *right)
Definition: OgreId.h:76
virtual ~GL3PlusTextureGpuWindow()
uint16 resolveSlice
Definition: OgreRenderPassDescriptor.h:125
Internal shared values of the chunks which are equal in the whole tree.
Definition: OgreVolumeChunk.h:107
@ TID_COLON
Definition: OgreScriptLexer.h:54
CompositorPassType getType() const
Definition: OgreCompositorPassDef.h:244
virtual ~ScriptCompilerEvent()
Definition: OgreScriptCompiler.h:356
Listener()
Definition: OgreSceneManager.h:255
void execute(SceneQueryListener *listener)
See SceneQuery.
void endSection(unsigned short level, const bool useMainBuffer=true)
Definition: OgreMaterialSerializer.h:315
virtual bool canGenerateUsingDeclaration(const TerrainLayerDeclaration &decl)
Whether this generator can generate a material for a given declaration.
Definition: OgreTerrainMaterialGenerator.h:271
@ RSC_BLENDING
Definition: OgreRenderSystemCapabilities.h:84
virtual void bindBufferPS(uint16 slot)
Real alphaArg2
Manual alpha value for manual source2.
Definition: OgreBlendMode.h:158
virtual void _notifyTextureSlotChanged(const TexturePool *newPool, uint16 slice)
@ ID_WAVE_XFORM
Definition: OgreScriptCompiler.h:789
virtual void setConfigOption(const String &name, const String &value)
ZipDataStream(const String &name, ZZIP_FILE *zzipFile, size_t uncompressedSize)
Constructor for creating named streams.
static void bulkPixelConversion(const PixelBox &src, const PixelBox &dst)
Convert pixels from one format to another.
GpuConstantDefinition()
Definition: OgreGpuProgramParams.h:473
virtual bool getCastsShadows(void) const
Method which reports whether this renderable would normally cast a shadow.
Ray(const Vector3 &origin, const Vector3 &direction)
Definition: OgreRay.h:52
STLAllocator(STLAllocator< U, AllocPolicy > const &)
cast
Definition: OgreMemorySTLAllocator.h:116
void _updateImplementation(void)
This should be called by the render system to perform the actual compositor manager update.
struct Ogre::Volume::ChunkTreeSharedData ChunkTreeSharedData
Internal shared values of the chunks which are equal in the whole tree.
DepthBuffer * getDepthBuffer() const
virtual void show(void)
Shows this element if it was hidden.
@ OT_PATCH_2_CONTROL_POINT
Definition: OgreHlmsPso.h:61
static CommandBufferExecuteFunc execute_setSamplers
Definition: OgreCommandBuffer.h:91
void getRenderOperation(v1::RenderOperation &op, bool casterPass)
Gets the render operation required to send this object to the frame buffer.
Definition: OgreBorderPanelOverlayElement.h:334
virtual TransformKeyFrame * getNodeKeyFrame(unsigned short index) const
Returns the KeyFrame at the specified index.
virtual void initialise()=0
Perform any tasks the plugin needs to perform on full system initialisation.
String validateConfig(void)
GL3PlusSupport::validateConfig
float * getHeightData(long x, long y) const
Get a pointer to the height data for a given point.
virtual void destroyAllStaticGeometry(void)
Remove & destroy all StaticGeometry instances.
static const IdString UvAtlas
Definition: OgreHlmsUnlitMobile.h:142
virtual bool getDisplaySceneNodes(void) const
Returns true if all scene nodes axis are to be displayed.
Definition: OgreSceneManager.h:2081
void activate(void)
Makes a program object active by making sure it is linked and then putting it in use.
TexBufferPacked * getGlobalLightListBuffer(const Camera *camera) const
Cache the return value as internally we perform an O(N) search.
virtual Real getHorizontalTexelOffset(void)
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this...
const String & getFontName() const
Abstract class that defines a 'codec'.
Definition: OgreCodec.h:58
uint32 getHlmsHash(void) const
Definition: OgreRenderable.h:378
virtual bool hasGaps(void) const
Check whether any gaps in the bindings.
See AsyncTextureTicket.
Definition: OgreMetalAsyncTextureTicket.h:42
virtual ~NodeAnimationTrack()
Destructor.
static const IdString TexMatrixCount0
Definition: OgreHlmsUnlitMobile.h:96
Vector3 getLightPosition(size_t index) const
@ PF_ASTC_RGBA_5X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 5x5)
Definition: OgrePixelFormat.h:265
IdObject(IdType id)
We don't call generateNewId() here, to prevent objects in the stack (i.e.
Definition: OgreId.h:71
void setSpecular(const ColourValue &specular)
Sets the specular colour reflectance properties of every Pass in every Technique.
T value_type
Definition: OgreStackVector.h:53
void _setSamplerblock(uint8 slotIdx, const HlmsSamplerblock *refParams)
Sets a samplerblock directly.
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:51
static String toString(size_t val, unsigned short width=0, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
Converts a size_t to a String.
Vector3(Real *const r)
Definition: OgreVector3.h:84
RenderWindow * _initialise(bool autoCreateWindow, const String &windowTitle="OGRE Render Window")
See RenderSystem.
void setTopRightBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the top-right corner of the border.
virtual void bakeManualLodLevel(LodData *data, String &manualMeshName, int lodIndex)
Command object for setting the top colour.
Definition: OgreTextAreaOverlayElement.h:177
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
PixelBox getPixelBox(size_t face=0, size_t mipmap=0) const
Get a PixelBox encapsulating the image data of a mipmap.
static const char * RoughnessMap
Definition: OgreHlmsPbs.h:465
const SmallVectorImpl & operator=(const SmallVectorImpl &RHS)
Definition: OgreMain/include/OgreSmallVector.h:661
Real getOwnWidth(void) const
Retrieves the particle's personal width, if hasOwnDimensions is true.
Definition: OgreParticle.h:127
static BaseConstantType getBaseType(GpuConstantType ctype)
Definition: OgreGpuProgramParams.h:321
@ SOP_KEEP
Leave the stencil buffer unchanged.
Definition: OgreCommon.h:102
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:256
void destroyTexBufferView(PixelFormatGpu pixelFormat)
Frees memory from a view created by getAsTexBufferView Does nothing if a view of the given pixel form...
virtual void requestFullscreenSwitch(bool goFullscreen, bool borderless, uint32 monitorIdx, uint32 width, uint32 height, uint32 frequencyNumerator, uint32 frequencyDenominator)
Requests to toggle between fullscreen and windowed mode.
@ 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:1175
WorkQueue()
Definition: OgreWorkQueue.h:227
static LwConstString FromUnsafeCStr(const char *cStr)
Definition: OgreLwConstString.h:92
static const IdString EmissiveAsLightmap
Definition: OgreHlmsPbs.h:525
static HardwareBufferManager * getSingletonPtr(void)
Override standard Singleton retrieval.
DecalFactory()
Definition: OgreDecal.h:168
@ PFG_PVRTC_RGBA4
PVRTC (PowerVR) RGBA 4 bpp.
Definition: OgrePixelFormatGpu.h:204
ParticleEmitter * getEmitter(unsigned short index) const
Retrieves an emitter by it's index (zero-based).
Vector3 convertDirection(Space inSpace, const Vector3 &inDir, Space outSpace) const
Convert a direction from one space to another with respect to this terrain.
GLuint getGLProgramHandle()
MaterialPtr generate(const Terrain *terrain)
Generate / reuse a material for the terrain.
@ TEX_TYPE_1D
1D texture, used in combination with 1D texture coordinates
Definition: OgreTexture.h:91
PagedWorldSection * getSection(const String &name)
Retrieve a section of the world.
@ TEXTURE_TYPE_DIFFUSE
Definition: OgreHlmsTextureManager.h:134
@ ID_SOURCE1
Definition: OgreScriptCompiler.h:759
bool directionEquals(const Vector3 &rhs, const Radian &tolerance) const
Returns whether this vector is within a directional tolerance of another vector.
Definition: OgreVector3.h:777
MapIterator< Instances > SceneManagerIterator
Definition: OgreSceneManagerEnumerator.h:183
StringVectorPtr findResourceNames(const String &groupName, const String &pattern, bool dirs=false)
Find all file or directory names matching a given pattern in a resource group.
virtual ~ParticleEmitter()
Virtual destructor essential.
const Vector3 getCenter(void) const
Gets the center of this cell.
Definition: OgreVolumeOctreeNode.h:199
static const IdString IdentityViewProjDynamic
When this is set, the value of IdentityViewProj is meaningless.
Definition: OgreHlms.h:831
virtual ~GLES2RenderSystem()
@ ID_WRAP
Definition: OgreScriptCompiler.h:741
void setGeometryProgramNumOutputVertices(int numOutputVertices)
Set the number of vertices a single geometry program run can emit.
Definition: OgreRenderSystemCapabilities.h:840
virtual void read(Real *val, size_t count=1)
void addVertex(size_t index, const Vector3 &offset, const Vector3 &normal)
Adds an offset to a vertex and a new normal for this pose.
@ ID_PROFILING_ID
Definition: OgreScriptCompiler.h:902
void _notifyVisualData(ParticleVisualData *vis)
Internal method for notifying the particle of it's optional visual data.
Definition: OgreParticle.h:143
void reset()
If VctLighting was updated with minor changes (e.g.
Specialisation of HighLevelGpuProgram to encapsulate shader objects obtained from compiled shaders wr...
Definition: OgreGLSLESShader.h:48
static DECL_MALLOC void * allocate(size_t size)
Allocate memory with default platform dependent alignment.
void XCloseDisplay(Display *nativeDisplayType)
void load()
Loads the archive.
Real * ptr()
Pointer accessor for direct copying.
Definition: OgreVector2.h:114
const Vector3 getCorner2(void) const
Gets the coordinate of corner 2.
Definition: OgreVolumeOctreeNode.h:463
@ CNT_VARIABLE
Definition: OgreScriptCompiler.h:54
@ InstantRadiosity
Definition: OgreSceneFormatBase.h:67
void setNumMultiRenderTargets(ushort num)
The number of simultaneous render targets supported.
Definition: OgreRenderSystemCapabilities.h:529
Class for providing backwards-compatibility for loading version 1.1 of the .mesh format.
Definition: OgreMeshSerializerImpl.h:321
virtual void execute(size_t threadId, size_t numThreads)
Overload this function to perform whatever you want.
uint16 getMaxBatchSize() const
Get the maximum size in vertices along one side of a batch.
ElementType extraParamType
Definition: OgreShaderParams.h:64
void parseScript(DataStreamPtr &stream)
Parses a RenderSystemCapabilities script file passed as a stream.
ImageBlur2D separableBlur_Float32_XA
Definition: OgreImageDownsampler.h:172
CompositorShadowNodeTranslator()
static void unshareVertices(Mesh *mesh)
Called when we you use a mesh which has shared vertices, the function creates separate vertex/index b...
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...
const DescriptorSetSampler * descSet
Definition: OgreCbTexture.h:57
virtual void setTextureCoords(Ogre::FloatRect const *coords, uint16 numCoords)
BillboardSet can use custom texture coordinates for various billboards.
const String & getType(void) const
Get the type of the object to be created.
@ WorldMat
Definition: OgreArrayMemoryManager.h:313
uint32 poolId
Definition: OgreTextureGpuManager.h:255
float g
Definition: OgreColourValue.h:76
@ FILTER_NEAREST
Definition: OgreImage2.h:334
virtual OldNode * removeChild(OldNode *child)
Drops the specified child from this OldNode.
Stream object which targets a log.
Definition: OgreLog.h:207
This class is used to perform Resource operations in a background thread.
Definition: OgreResourceBackgroundQueue.h:83
Technique * getParent(void) const
Gets the parent Technique.
Definition: OgrePass.h:777
GLSLShader * getHullShader() const
Definition: OgreGLSLProgram.h:137
void setActiveVertexShader(GLSLESShader *vertexShader)
Set the active vertex and fragment link programs for the next rendering state.
bool watchForMax(void)
Definition: OgreProfiler.h:316
static ArrayInt And(ArrayInt a, ArrayInt b)
Returns the result of "a & b".
Definition: OgreMathlibC.h:147
void setColourBottom(const ColourValue &col)
Sets the colour of the bottom of the letters.
void addTextureAlias(const String &aliasName, const String &textureName)
Adds the alias or replaces an existing one and associates the texture name to it.
bool isBorderRight(const OctreeNode &root) const
Gets whether this cell is at the right of the given root cell.
Definition: OgreVolumeOctreeNode.h:239
void dumpMemoryUsage(Log *log) const
LodOutputBuffer & getBuffer()
void skip(long count)
Skip a defined number of bytes.
int32 mipmapLevel
Definition: OgreCompositorPassComputeDef.h:62
bool isRuntimeAnalyzed(void) const
Definition: OgreTextureDefinition.h:549
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 unlock()
Releases the lock aquired through either.
Quaternion qRot
Definition: OgreSkeletonDef.h:53
unsigned short getNumPoints(void) const
Gets the number of control points in the spline.
const Radian & getRotation(void) const
Definition: OgreParticle.h:135
virtual void _setHlmsHashes(uint32 hash, uint32 casterHash)
Manually sets the hlms hashes. Don't call this directly.
@ SPC_POSITION_LIGHT_SPACE4
Definition: OgreShaderParameter.h:97
@ D3D_TEX_TYPE_CUBE
cube texture
Definition: OgreD3D9Mappings.h:50
static const IdString HwGammaWrite
Definition: OgreHlmsPbs.h:452
String name
Definition: OgreTextureGpuManager.h:265
vector< Block >::type BlockVec
Definition: OgreGL3PlusVaoManager.h:81
@ PT_UNSIGNED_SHORT
Definition: OgreStringInterface.h:58
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.
static const IdString LightsSpot
Definition: OgreHlms.h:847
void setToInverseDegeneratesAsIdentity(void)
Calculates the inverse of the matrix.
T * operator->() const
Definition: OgreThreadDefinesSTD.h:69
static const Real HALF_PI
Definition: OgreMath.h:750
Texture surface.
Definition: OgreGL3PlusTextureBuffer.h:39
Real normalise(void)
Normalises this quaternion, and returns the previous length.
Real getOverlayHeight() const
virtual void bindBufferVS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Binds the texture buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information from this texture.
Terrain * getNeighbour(NeighbourIndex index) const
Retrieve the terrain's neighbour, or null if not present.
SmallVectorTemplateBase(size_t Size)
Definition: OgreMain/include/OgreSmallVector.h:292
DefaultAxisAlignedBoxSceneQuery(SceneManager *creator)
Physically based shading implementation specfically designed for OpenGL ES 2.0 and other RenderSystem...
Definition: OgreHlmsPbsMobile.h:55
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 setGlobalInstanceVertexBuffer(const v1::HardwareVertexBufferSharedPtr &val)
Sets the global instance vertex buffer.
void _notifyNeedsRecompile(void)
Tells the material that it needs recompilation.
Definition: OgreRenderPassDescriptor.h:160
VctVoxelizer::DebugVisualizationMode getDebugVisualizationMode(void) const
@ CNT_QUOTE
Definition: OgreScriptCompiler.h:58
MovableObject * movableObject
The movable object whose level of detail has changed.
Definition: OgreLodListener.h:47
virtual void destroyContentCollection(PageContentCollection *coll)
Destroy a PageContentCollection within this page.
virtual HlmsCache preparePassHash(const Ogre::CompositorShadowNode *shadowNode, bool casterPass, bool dualParaboloid, SceneManager *sceneManager)
Called every frame by the Render Queue to cache the properties needed by this pass.
void setVisibilityMask(uint32 visibilityMask)
Definition: OgreCompositorPassSceneDef.h:219
Definition: OgreCompositorPassSceneDef.h:73
static CommandBufferExecuteFunc execute_setConstantBufferHS
Definition: OgreCommandBuffer.h:77
size_t _getInternalNumElements(void) const
Definition: OgreBufferPacked.h:318
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
virtual void notifyOnDeviceLost(IDirect3DDevice9 *d3d9Device)
uint32 getVaoName(void) const
Definition: OgreVertexArrayObject.h:103
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
@ BBO_BOTTOM_RIGHT
Definition: OgreBillboardSet.h:66
void * lock(size_t offset, size_t length, LockOptions options)
Lock the buffer for (potentially) reading / writing.
@ ACT_LIGHT_DIRECTION_VIEW_SPACE
A light direction in view space (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:1061
Implementation of a dual quaternion, i.e.
Definition: OgreDualQuaternion.h:48
D3D11TextureGpuRenderTarget(GpuPageOutStrategy::GpuPageOutStrategy pageOutStrategy, VaoManager *vaoManager, IdString name, uint32 textureFlags, TextureTypes::TextureTypes initialType, TextureGpuManager *textureManager)
static const IdString ScreenPosInt
Definition: OgreHlms.h:903
virtual void _freeUnusedBufferCopies(void)
Free all unused vertex buffer copies.
void loadJobs(const rapidjson::Value &json, const HlmsJson::NamedBlocks &blocks, const String &resourceGroup)
uint16 slice
Definition: OgreTextureDefinition.h:61
OverlayContainer * getParent()
Returns the parent container.
GLenum target
Definition: OgreGL3PlusDescriptorSetTexture.h:47
void setScissors(Real left, Real top, Real width, Real height)
Only sets the scissor regions.
virtual ~NULLVaoManager()
virtual_l2 Quaternion getOrientation() const
Returns a quaternion representing the nodes orientation.
ID3D11Buffer * getBufferName(void) const
Definition: OgreD3D11StagingBuffer.h:91
static Radian Abs(const Radian &rValue)
Absolute value function.
Definition: OgreMath.h:262
void setNamedConstant(const String &name, const Vector4 &vec)
Sets a Vector4 parameter to the program.
Real getAnimationDuration(void) const
Get the animated-texture animation duration.
SceneQueryMovableWorldFragmentIntersectionList movables2world
List of movable / world intersections.
Definition: OgreSceneQuery.h:493
list< SceneQueryMovableObjectPair >::type SceneQueryMovableIntersectionList
Definition: OgreSceneQuery.h:485
ParticleSystem * createTemplate(const String &name, const String &resourceGroup)
Create a new particle system template.
GLSLShader * pixelShader
Definition: OgreGL3PlusHlmsPso.h:67
virtual void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
void _writeRawConstant(size_t physicalIndex, const Vector2 &vec)
Write a 2-element floating-point parameter to the program via Vector2.
Real getVolumeSpaceToWorldSpaceFactor(void) const
Overridden from VolumeSource.
Plugin()
Definition: OgrePlugin.h:82
static const IdString UvDetail1
Definition: OgreHlmsPbsMobile.h:144
bool OrderConstBufferPoolUserByPoolThenSlot(const ConstBufferPoolUser *_l, const ConstBufferPoolUser *_r)
Definition: OgreConstBufferPool.h:186
static PFNGLXGETFBCONFIGATTRIBPROC getFBConfigAttrib
Definition: OgreGLXUtils.h:45
virtual bool isCustomNearClipPlaneEnabled(void) const
Is a custom near clip plane in use?
Definition: OgreFrustum.h:682
void setColumnMajorMatrices(bool columnMajor)
Sets whether matrix packing in column-major order.
Definition: OgreD3D9GpuProgram.h:66
bool isStillOutstanding(void)
Lets you know when query is done, or still be processed by the Hardware.
void doSet(void *target, const String &val)
virtual bool getRequestsAccepted() const =0
Returns whether requests are being accepted right now.
DefaultMipmapGen::DefaultMipmapGen getDefaultMipmapGenerationCubemaps(void) const
virtual void shutdown(void)
Shutdown the renderer and cleanup resources.
LodDataPtr data
Definition: OgreLodWorkQueueRequest.h:45
virtual ~TerrainQuadTreeNode()
void removeAllNodeDefinitions(void)
Removes all node defs.
bool useIndexes
Specifies whether to use indexes to determine the vertices to use as input.
Definition: OgreRenderOperation.h:68
virtual void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
Definition: OgreMovableObject.h:243
virtual bool isFrameFinished(uint32 frameCount)
See VaoManager::isFrameFinished.
virtual void resetNumPassesLeft(void)
GL3PlusConstBufferPacked(size_t internalBufferStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface)
LayerBlendSource
List of valid sources of values for blending operations used in TextureUnitState::setColourOperation ...
Definition: OgreBlendMode.h:113
ValueType getNext()
Returns the next(=current) value element in the collection, and advances to the next.
Definition: OgreIteratorWrapper.h:170
size_t bytesPerPixel
When TextureBox contains a compressed format, bytesPerPixel contains the pixel format instead.
Definition: OgreTextureBox.h:48
static ParameterPtr createOutColor(int index)
virtual void allWorkspacesBeginUpdate(void)
Called from CompositorManager2 (not CompositorWorkspace) when we're about to update all the workspace...
@ BT_IMMUTABLE
Read access from GPU.
Definition: OgreBufferPacked.h:40
VSOutputCompactPolicy getVertexShaderOutputsCompactPolicy() const
Get the vertex shader outputs compaction policy.
Definition: OgreShaderGenerator.h:474
void getVectorAlign(Real x, Real y, Real z, Alignment align, Vector3 *outVec) const
Translate a vector into world space based on a specified alignment.
@ ID_COLOUR_OP_MULTIPASS_FALLBACK
Definition: OgreScriptCompiler.h:777
@ PF_R8G8B8
24-bit pixel format, 8 bits for red, green and blue.
Definition: OgrePixelFormat.h:71
virtual Real transformUserValue(Real userValue) const
Transform user supplied value to internal value.
Definition: OgrePixelCountLodStrategy.h:67
Defines an interface to classes which have one or more AnimableValue instances to expose.
Definition: OgreAnimable.h:238
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 storeToAoS(SimpleMatrixAf4x3 *RESTRICT_ALIAS src) const
void clearResourceGroup(const String &name)
Clears a resource group.
void unregisterThread()
Unregister an additional thread which may make calls to rendersystem-related objects.
@ PFG_R8_UINT
Definition: OgrePixelFormatGpu.h:108
Atom mAtomDeleteWindow
Definition: OgreGLXGLSupport.h:44
void ToRotationMatrix(Matrix3 &kRot) const
static D3D_DRIVER_TYPE parseDriverType(const Ogre::String &value, D3D_DRIVER_TYPE fallback=D3D_DRIVER_TYPE_HARDWARE)
size_t _getSysRamCopyBytesPerImage(uint8 mipLevel)
Note: Returns non-zero even if there is no system ram copy.
ManualObjectSection * getSection(const Ogre::String &name) const
Gets a pointer to a previously named ManualObjectSection (via ManualObjectSection::setName).
void _renderScenePhase02(const Camera *lodCamera, uint8 firstRq, uint8 lastRq, bool includeOverlays)
Packages the details of a configuration option.
Definition: OgreConfigOptionMap.h:50
#define OGRE_MALLOC_SIMD(bytes, category)
Allocate a block of raw memory aligned to SIMD boundaries, and indicate the category of usage.
Definition: OgreMemoryAllocatorConfig.h:470
void registerThread()
Register the an additional thread which may make calls to rendersystem-related objects.
void _setWidth(Real width)
Sets the width of this element in relation to the screen (where 1.0 = screen width)
static const Matrix4 ZEROAFFINE
Definition: OgreMatrix4.h:560
ImageDownsampler2D downscale2x_Float32_XXX
Definition: OgreImageDownsampler.h:146
Vector3 mC4
Definition: OgreVolumeDualGridGenerator.h:49
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
const Sphere & getSphere() const
Gets the sphere which is being used for this query.
uint16 minBatchSize
Minimum batch size (along one edge) in vertices; must be 2^n+1.
Definition: OgreTerrain.h:349
DatablockConversionResult addDatablock(HlmsDatablock *datablock)
Adds a datablock, if not already cached.
void blit(const HardwarePixelBufferSharedPtr &src, const Box &srcBox, const Box &dstBox)
Copies a box from another PixelBuffer to a region of the this PixelBuffer.
ResourceAccess::ResourceAccess boundAccess
Definition: OgreCompositorPass.h:73
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
Real getScissorLeft(void) const
Definition: OgreViewport.h:142
const Plane & _getDerivedPlane(void) const
Get the derived plane as transformed by its parent node.
MapIterator< VertexBoneAssignmentList > BoneAssignmentIterator
Definition: OgreMesh.h:104
SceneManager * createSceneManager(SceneTypeMask typeMask, size_t numWorkerThreads, const String &instanceName=BLANKSTRING)
Create a SceneManager instance based on scene type support.
LightList * _getLightList()
Returns a pointer to the current list of lights for this object.
Definition: OgreMovableObject.h:573
size_t paddedBytes
Definition: OgreGLES2VaoManager.h:60
size_t getNumberOfBoneBlocks(size_t numLevels) const
Returns the total number of bone blocks to reach the given level.
static const ArrayAabb BOX_ZERO
Definition: C/OgreArrayAabb.h:170
virtual void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
Real getCompositeMapDistance() const
Get the distance at which to start using a composite map if present.
Definition: OgreTerrain.h:1963
Vector4 getAs4DVector(void) const
void doSet(void *target, const String &val)
@ GPU_S3
Definition: OgreRenderSystemCapabilities.h:311
Definition: OgreProfilerCommon.h:33
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a vertex buffer.
@ TU_DEFAULT
Default to automatic mipmap generation static textures.
Definition: OgreTexture.h:79
vector< MeshLodUsage >::type MeshLodUsageList
Definition: OgreMesh.h:101
bool areAllInputsConnected() const
uint16 getTexcoordIndex(void) const
getTexcoordIndex() returns the previous value set by setTexcoordIndex().
Definition: OgreBillboard.h:199
virtual void setValue(int)
Set value.
Definition: OgreAnimable.h:151
static const IdString UvDetail1
Definition: OgreHlmsPbs.h:514
GLint mBaseInstanceLocation
Definition: OgreGLSLProgram.h:144
virtual void passEarlyPreExecute(CompositorPass *pass)
Called early on in pass' execution.
Definition: OgreCompositorWorkspaceListener.h:61
ShadowTextureDefinition(ShadowMapTechniques t, const String &texRefName, const Vector2 &_uvOffset, const Vector2 &_uvLength, uint8 _arrayIdx, size_t _light, size_t _split)
Definition: OgreCompositorShadowNodeDef.h:82
Holds the results of an intersection scene query (pair values).
Definition: OgreSceneQuery.h:489
Programs
Definition: OgreShadowVolumeExtrudeProgram.h:202
void setPowerScale(float power)
Definition: OgreIrradianceVolume.h:118
virtual bool isMorphAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform morph animation.
Definition: OgreGpuProgram.h:348
void _setHlmsMacroblock(const HlmsMacroblock *macroblock)
@ SPC_POSTOCAMERA_OBJECT_SPACE
View vector in object space.
Definition: OgreShaderParameter.h:115
static GpuConstantType getGpuConstantType(int mask)
Return the gpu constant type of the given mask.
@ VertexBuffer
After the barrier, data can be used as a vertex buffer.
Definition: OgreResourceTransition.h:89
@ PFG_D16_UNORM
Definition: OgrePixelFormatGpu.h:101
ID3D11DeviceContextN * GetImmediateContext()
Definition: OgreD3D11Device.h:64
void convertWorldPositionToTerrainSlot(const Vector3 &pos, long *x, long *y) const
Convert a world position to terrain slot coordinates.
static Real RadiansToDegrees(Real radians)
Definition: OgreMath.h:484
OGRE_MUTEX(mThreadInitMutex)
Chunk * origin
The chunk which created this request.
Definition: OgreVolumeChunkHandler.h:72
size_t mDrawCount
Definition: OgreRenderSystem.h:121
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Override so we can attach the depth buffer to the FBO.
@ LB_BlendSoftLight
Definition: OgreShaderExLayeredBlending.h:63
PixelFormat format
The format required of this texture.
Definition: OgreTerrainMaterialGenerator.h:108
IdString skeletonDefName
Definition: OgreSkeletonAnimManager.h:52
void setDebugShaders(bool bDebugShaders)
Instructs the RenderSystem to compile shaders without optimizations and with debug information,...
void build(void)
After you're done with all your loadIesProfile calls, call this function to generate the texture requ...
void calculateCell(PageID inPageID, int32 *x, int32 *y)
LoadAction
Definition: OgreRenderPassDescriptor.h:50
@ VET_DOUBLE1
Definition: OgreVertexElements.h:87
void setLightCountAutoUpdate(bool autoUpdate)
Set the light count auto update state.
Definition: OgreShaderRenderState.h:103
const Metrics & getMetrics() const
Real valueDegrees() const
Definition: OgreMath.h:772
void _setTessellationDomainTexture(size_t unit, TextureGpu *tex)
See RenderSystem.
virtual void setFrustumOffset(const Vector2 &offset)
Sets frustum offsets, used in stereo rendering.
map< String, SettingsMultiMap * >::type SettingsBySection
Gets an iterator for stepping through all the keys / values in the file.
Definition: OgreConfigFile.h:93
Implements the plane optimal shadow camera algorithm.
Definition: OgreShadowCameraSetupPlaneOptimal.h:63
void reload(LoadingFlags flags=LF_DEFAULT)
Reloads the resource, if it is already loaded.
RenderSystem * getRenderSystem(void) const
Definition: OgreHlmsManager.h:340
@ CE_UNDEFINEDVARIABLE
Definition: OgreScriptCompiler.h:213
TransformSpace
Enumeration denoting the spaces which a transform can be relative to.
Definition: OgreNode.h:65
bool equalExcludePassData(const HlmsPso &_r) const
Compares if this == _r but only accounting data that is independent of a pass (and is typically part ...
Definition: OgreHlmsPso.h:266
void stop()
Stop anything special.
@ GCT_UINT3
Definition: OgreGpuProgramParams.h:114
list< ResourceDeclaration >::type ResourceDeclarationList
List of resource declarations.
Definition: OgreResourceGroupManager.h:302
virtual void getSubsampleLocations(vector< Vector2 >::type locations)
Get the MSAA subsample locations.
Command object for setting the width of a space.
Definition: OgreTextAreaOverlayElement.h:157
virtual const String & getName() const =0
virtual 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 ...
CompositorManager2 * getCompositorManager(void) const
Definition: OgreCompositorWorkspaceDef.h:252
void present(D3D9RenderWindow *renderWindow)
bool mNonTilersOnly
Only execute this pass on non-tilers.
Definition: OgreCompositorPassClearDef.h:51
virtual bool getWriteOnly() const
Gets wheter this object has geometry buffer marked as write only.
Definition: OgreManualObject.h:188
bool operator<(const StencilParams &other) const
Definition: OgreCommon.h:169
@ PFG_ETC1_RGB8_UNORM
ETC1 (Ericsson Texture Compression)
Definition: OgrePixelFormatGpu.h:214
bool isPointAttenuationEnabled(void) const
Returns whether points are attenuated with distance.
static const String CustomAttributeString_GLCONTEXT
Definition: OgreGL3PlusRenderTexture.h:64
Definition: OgreOSXCocoaContext.h:37
void _setBoundingSphereRadius(Real radius)
Manually set the bounding radius.
virtual String getType() const
Returns the type of the codec as a String.
void _setRenderedRqs(size_t rqStart, size_t rqEnd)
Tells the camera that render queues in the range [rqStart; rqEnd) were rendered.
virtual void getRenderOperation(v1::RenderOperation &op, bool casterPass)
Gets the render operation required to send this object to the frame buffer.
virtual void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
@ ID_IS_PREPASS
Definition: OgreScriptCompiler.h:920
static Profiler * getSingletonPtr(void)
Override standard Singleton retrieval.
void activate(void)
Makes a program pipeline object active by making sure it is linked and then putting it in use.
IndirectBufferPacked * indirectBuffer
Definition: OgreCbShaderBuffer.h:53
@ LL_LOW
Definition: OgreLog.h:63
PixelFormatGpu getPixelFormat(void) const
ImageData()
Definition: OgreImageCodec.h:56
@ SBF_ONE
Definition: OgreBlendMode.h:236
HardwareVertexBufferSharedPtr hardwareShadowVolWBuffer
Additional shadow volume vertex buffer storage.
Definition: OgreVertexIndexData.h:147
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
Definition: OgreGL3PlusTexture.h:41
bool getFreezeDebugFrustum(void) const
size_t _getNumRenderedBatches(void) const
Internal method to retrieve the number of visible batches in the last render.
virtual void destroy(void)
RenderWindow::destroy
GpuProgramParametersSharedPtr createParameters(void)
Overridden from GpuProgram.
Camera * findCamera(IdString cameraName) const
Finds a camera in the scene manager we have.
uint32 getWidth(void) const
IesLoader(const String &filename, const char *iesTextData)
ParticleEmitterFactory()
Definition: OgreParticleEmitterFactory.h:61
SharedPtr< ScriptTokenList > ScriptTokenListPtr
Definition: OgreScriptLexer.h:79
const String & getDictionaryStringName(void) const
Returns dictionary name.
Definition: OgreExternalTextureSource.h:140
void getAsAabb(Aabb &out, size_t index) const
Definition: C/OgreArrayAabb.h:84
@ NZ
Definition: OgreTextureGpu.h:75
virtual_l2 FORCEINLINE const Matrix4 & _getFullTransform(void) const
Gets the full transformation matrix for this node.
Definition: OgreNode.h:674
Rule controlling whether technique is deemed supported based on GPU vendor.
Definition: OgreTechnique.h:95
Material * mProxyMaterial
Definition: OgreHlmsLowLevelDatablock.h:50
Definition: OgreHlmsCommon.h:194
virtual void _setTexturesCS(uint32 slotStart, const DescriptorSetTexture2 *set)=0
static void toQuotedStr(PolygonMode value, String &outString)
static const IdString UseEnvProbeMap
Definition: OgreHlmsPbs.h:572
float mVpScissorHeight
Definition: OgreCompositorPassDef.h:106
virtual void setCullIndividually(bool cullIndividual)
Sets whether culling tests particles in this individually as well as in a group.
ScriptingAllocatedObject ScriptCompilerAlloc
Definition: OgreMemoryAllocatorConfig.h:331
static const String & getDirectionalLightExtruderVs_1_1FiniteDebug(void)
Get FINITE extruder program source for debug directional lights, compatible with vs_1_1.
Definition: OgreShadowVolumeExtrudeProgram.h:314
@ PF_ATC_RGBA_EXPLICIT_ALPHA
ATC (AMD_compressed_ATC_texture)
Definition: OgrePixelFormat.h:256
bool isLoaded(void) const
Is this loaded?
void loadIesProfile(const String &filename, const String &resourceGroup, bool throwOnDuplicate=true)
Loads an IES (Illuminating Engineering Society) profile to memory.
High level interface of Direct3D9 Device.
Definition: OgreD3D9Device.h:43
@ PoolTextureSlotChanged
Definition: OgreTextureGpuListener.h:63
Interface definition for factories of ShaderProgramWriter.
Definition: OgreShaderProgramWriterManager.h:48
void detachObjectFromBone(MovableObject *obj)
Detaches an object by pointer.
SceneBlendType
Types of blending that you can specify between an object and the existing contents of the scene.
Definition: OgreBlendMode.h:216
@ GPU_UNKNOWN
Definition: OgreRenderSystemCapabilities.h:307
virtual ~VertexBufferBinding()
Definition: OgreX11EGLSupport.h:85
FunctionInvocation(const String &functionName, int groupOrder, int internalOrder, String returnType="void")
Class constructor.
@ M_GEOMETRY_NORMALS
Definition: OgreMeshFileFormat.h:365
void _notifyIndexBufferDestroyed(HardwareIndexBuffer *buf)
Notification that a hardware index buffer has been destroyed.
@ SPC_LIGHTDIRECTION_VIEW_SPACE1
Definition: OgreShaderParameter.h:188
const String & getName() const
Get the name of this function.
Definition: OgreShaderFunction.h:61
static const size_t MaterialSizeInGpuAligned
Definition: OgreHlmsPbsDatablock.h:744
String doGet(const void *target) const
_OgreExport friend std::ostream & operator<<(std::ostream &o, const Degree &v)
@ ID_PARAM_INDEXED
Definition: OgreScriptCompiler.h:636
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.
void removePoseReference(ushort poseIndex)
Remove reference to a given pose.
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.