Home
last modified time | relevance | path

Searched refs:baseSubMesh (Results 1 – 20 of 20) sorted by relevance

/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/OgreMain/src/
H A DOgreInstanceBatchShader.cpp96 if( baseSubMesh->vertexData->vertexCount * retVal > 0xFFFF ) in calculateMaxNumInstances()
97 retVal = 0xFFFF / baseSubMesh->vertexData->vertexCount; in calculateMaxNumInstances()
130 mNumWorldMatrices = mInstancesPerBatch * baseSubMesh->blendIndexToBoneIndexMap.size(); in buildFrom()
131 InstanceBatch::buildFrom( baseSubMesh, renderOperation ); in buildFrom()
134 void InstanceBatchShader::setupVertices( const SubMesh* baseSubMesh ) in setupVertices() argument
140 VertexData *baseVertexData = baseSubMesh->vertexData; in setupVertices()
151 setupHardwareSkinned( baseSubMesh, thisVertexData, baseVertexData ); in setupVertices()
216 void InstanceBatchShader::setupIndices( const SubMesh* baseSubMesh ) in setupIndices() argument
222 IndexData *baseIndexData = baseSubMesh->indexData; in setupIndices()
251 if( baseSubMesh->indexData->indexBuffer->getType() == HardwareIndexBuffer::IT_16BIT ) in setupIndices()
[all …]
H A DOgreInstanceBatchHW.cpp56 size_t InstanceBatchHW::calculateMaxNumInstances( const SubMesh *baseSubMesh, uint16 flags ) const in calculateMaxNumInstances() argument
72 …void InstanceBatchHW::buildFrom( const SubMesh *baseSubMesh, const RenderOperation &renderOperatio… in buildFrom() argument
74 InstanceBatch::buildFrom( baseSubMesh, renderOperation ); in buildFrom()
91 void InstanceBatchHW::setupVertices( const SubMesh* baseSubMesh ) in setupVertices() argument
93 mRenderOperation.vertexData = baseSubMesh->vertexData->clone(); in setupVertices()
123 void InstanceBatchHW::setupIndices( const SubMesh* baseSubMesh ) in setupIndices() argument
127 mRenderOperation.indexData = baseSubMesh->indexData->clone( true ); in setupIndices()
159 bool InstanceBatchHW::checkSubMeshCompatibility( const SubMesh* baseSubMesh ) in checkSubMeshCompatibility() argument
162 if( baseSubMesh->vertexData->vertexDeclaration->getNextFreeTextureCoordinate() > 8-2 ) in checkSubMeshCompatibility()
168 if( baseSubMesh->vertexData->vertexDeclaration->getNextFreeTextureCoordinate() > in checkSubMeshCompatibility()
[all …]
H A DOgreInstanceBatchVTF.cpp101 build(baseSubMesh); in buildFrom()
105 createVertexTexture( baseSubMesh ); in buildFrom()
106 InstanceBatch::buildFrom( baseSubMesh, renderOperation ); in buildFrom()
491 void InstanceBatchVTF::setupVertices( const SubMesh* baseSubMesh ) in setupVertices() argument
497 VertexData *baseVertexData = baseSubMesh->vertexData; in setupVertices()
571 createVertexTexture( baseSubMesh ); in setupVertices()
575 void InstanceBatchVTF::setupIndices( const SubMesh* baseSubMesh ) in setupIndices() argument
581 IndexData *baseIndexData = baseSubMesh->indexData; in setupIndices()
729 const SubMesh *baseSubMesh, uint16 flags ) const in calculateMaxNumInstances() argument
745 if( baseSubMesh->vertexData->vertexCount * retVal > 0xFFFF ) in calculateMaxNumInstances()
[all …]
H A DOgreInstanceBatchHW_VTF.cpp61 void InstanceBatchHW_VTF::setupVertices( const SubMesh* baseSubMesh ) in setupVertices() argument
67 VertexData *baseVertexData = baseSubMesh->vertexData; in setupVertices()
133 createVertexTexture( baseSubMesh ); in setupVertices()
137 void InstanceBatchHW_VTF::setupIndices( const SubMesh* baseSubMesh ) in setupIndices() argument
141 mRenderOperation.indexData = baseSubMesh->indexData->clone( true ); in setupIndices()
347 bool InstanceBatchHW_VTF::checkSubMeshCompatibility( const SubMesh* baseSubMesh ) in checkSubMeshCompatibility() argument
356 …if( baseSubMesh->vertexData->vertexDeclaration->getNextFreeTextureCoordinate() > 8 - neededTexture… in checkSubMeshCompatibility()
364 return InstanceBatch::checkSubMeshCompatibility( baseSubMesh ); in checkSubMeshCompatibility()
368 const SubMesh *baseSubMesh, uint16 flags ) const in calculateMaxNumInstances() argument
380 const size_t numBones = std::max<size_t>( 1, baseSubMesh->blendIndexToBoneIndexMap.size() ); in calculateMaxNumInstances()
H A DOgreInstanceBatch.cpp112 bool InstanceBatch::checkSubMeshCompatibility( const SubMesh* baseSubMesh ) in checkSubMeshCompatibility() argument
114 if( baseSubMesh->operationType != RenderOperation::OT_TRIANGLE_LIST ) in checkSubMeshCompatibility()
245 RenderOperation InstanceBatch::build( const SubMesh* baseSubMesh ) in build() argument
247 if( checkSubMeshCompatibility( baseSubMesh ) ) in build()
253 setupVertices( baseSubMesh ); in build()
254 setupIndices( baseSubMesh ); in build()
262 void InstanceBatch::buildFrom( const SubMesh *baseSubMesh, const RenderOperation &renderOperation ) in buildFrom() argument
/dports/graphics/ogre3d/ogre-1.11.6/OgreMain/src/
H A DOgreInstanceBatchHW.cpp51 … size_t InstanceBatchHW::calculateMaxNumInstances( const SubMesh *baseSubMesh, uint16 flags ) const in calculateMaxNumInstances() argument
67 …void InstanceBatchHW::buildFrom( const SubMesh *baseSubMesh, const RenderOperation &renderOperatio… in buildFrom() argument
69 InstanceBatch::buildFrom( baseSubMesh, renderOperation ); in buildFrom()
86 void InstanceBatchHW::setupVertices( const SubMesh* baseSubMesh ) in setupVertices() argument
88 mRenderOperation.vertexData = baseSubMesh->vertexData->clone(); in setupVertices()
118 void InstanceBatchHW::setupIndices( const SubMesh* baseSubMesh ) in setupIndices() argument
122 mRenderOperation.indexData = baseSubMesh->indexData->clone( true ); in setupIndices()
154 bool InstanceBatchHW::checkSubMeshCompatibility( const SubMesh* baseSubMesh ) in checkSubMeshCompatibility() argument
157 if( baseSubMesh->vertexData->vertexDeclaration->getNextFreeTextureCoordinate() > 8-2 ) in checkSubMeshCompatibility()
163 if( baseSubMesh->vertexData->vertexDeclaration->getNextFreeTextureCoordinate() > in checkSubMeshCompatibility()
[all …]
H A DOgreInstanceBatchShader.cpp47 const size_t numBones = std::max<size_t>( 1, baseSubMesh->blendIndexToBoneIndexMap.size() ); in calculateMaxNumInstances()
88 if( baseSubMesh->vertexData->vertexCount * retVal > 0xFFFF ) in calculateMaxNumInstances()
89 retVal = 0xFFFF / baseSubMesh->vertexData->vertexCount; in calculateMaxNumInstances()
122 mNumWorldMatrices = mInstancesPerBatch * baseSubMesh->blendIndexToBoneIndexMap.size(); in buildFrom()
123 InstanceBatch::buildFrom( baseSubMesh, renderOperation ); in buildFrom()
126 void InstanceBatchShader::setupVertices( const SubMesh* baseSubMesh ) in setupVertices() argument
132 VertexData *baseVertexData = baseSubMesh->vertexData; in setupVertices()
143 setupHardwareSkinned( baseSubMesh, thisVertexData, baseVertexData ); in setupVertices()
208 void InstanceBatchShader::setupIndices( const SubMesh* baseSubMesh ) in setupIndices() argument
214 IndexData *baseIndexData = baseSubMesh->indexData; in setupIndices()
[all …]
H A DOgreInstanceBatchVTF.cpp93 build(baseSubMesh); in buildFrom()
97 createVertexTexture( baseSubMesh ); in buildFrom()
98 InstanceBatch::buildFrom( baseSubMesh, renderOperation ); in buildFrom()
470 void InstanceBatchVTF::setupVertices( const SubMesh* baseSubMesh ) in setupVertices() argument
476 VertexData *baseVertexData = baseSubMesh->vertexData; in setupVertices()
549 createVertexTexture( baseSubMesh ); in setupVertices()
553 void InstanceBatchVTF::setupIndices( const SubMesh* baseSubMesh ) in setupIndices() argument
559 IndexData *baseIndexData = baseSubMesh->indexData; in setupIndices()
697 const SubMesh *baseSubMesh, uint16 flags ) const in calculateMaxNumInstances() argument
713 if( baseSubMesh->vertexData->vertexCount * retVal > 0xFFFF ) in calculateMaxNumInstances()
[all …]
H A DOgreInstanceBatchHW_VTF.cpp52 void InstanceBatchHW_VTF::setupVertices( const SubMesh* baseSubMesh ) in setupVertices() argument
58 VertexData *baseVertexData = baseSubMesh->vertexData; in setupVertices()
124 createVertexTexture( baseSubMesh ); in setupVertices()
128 void InstanceBatchHW_VTF::setupIndices( const SubMesh* baseSubMesh ) in setupIndices() argument
132 mRenderOperation.indexData = baseSubMesh->indexData->clone( true ); in setupIndices()
338 bool InstanceBatchHW_VTF::checkSubMeshCompatibility( const SubMesh* baseSubMesh ) in checkSubMeshCompatibility() argument
347 …if( baseSubMesh->vertexData->vertexDeclaration->getNextFreeTextureCoordinate() > 8 - neededTexture… in checkSubMeshCompatibility()
355 return InstanceBatch::checkSubMeshCompatibility( baseSubMesh ); in checkSubMeshCompatibility()
359 const SubMesh *baseSubMesh, uint16 flags ) const in calculateMaxNumInstances() argument
371 … const size_t numBones = std::max<size_t>( 1, baseSubMesh->blendIndexToBoneIndexMap.size() ); in calculateMaxNumInstances()
H A DOgreInstanceBatch.cpp111 bool InstanceBatch::checkSubMeshCompatibility( const SubMesh* baseSubMesh ) in checkSubMeshCompatibility() argument
113 if( baseSubMesh->operationType != RenderOperation::OT_TRIANGLE_LIST ) in checkSubMeshCompatibility()
244 RenderOperation InstanceBatch::build( const SubMesh* baseSubMesh ) in build() argument
246 if( checkSubMeshCompatibility( baseSubMesh ) ) in build()
252 setupVertices( baseSubMesh ); in build()
253 setupIndices( baseSubMesh ); in build()
261 …void InstanceBatch::buildFrom( const SubMesh *baseSubMesh, const RenderOperation &renderOperation ) in buildFrom() argument
/dports/graphics/ogre3d/ogre-1.11.6/OgreMain/include/
H A DOgreInstanceBatchShader.h70 void setupVertices( const SubMesh* baseSubMesh );
71 void setupIndices( const SubMesh* baseSubMesh );
78 void setupHardwareSkinned( const SubMesh* baseSubMesh, VertexData *thisVertexData,
87 size_t calculateMaxNumInstances( const SubMesh *baseSubMesh, uint16 flags ) const;
90 void buildFrom( const SubMesh *baseSubMesh, const RenderOperation &renderOperation );
H A DOgreInstanceBatchHW.h65 void setupVertices( const SubMesh* baseSubMesh );
66 void setupIndices( const SubMesh* baseSubMesh );
69 virtual bool checkSubMeshCompatibility( const SubMesh* baseSubMesh );
80 size_t calculateMaxNumInstances( const SubMesh *baseSubMesh, uint16 flags ) const;
83 void buildFrom( const SubMesh *baseSubMesh, const RenderOperation &renderOperation );
H A DOgreInstanceBatch.h145 virtual void setupVertices( const SubMesh* baseSubMesh ) = 0;
146 virtual void setupIndices( const SubMesh* baseSubMesh ) = 0;
160 virtual bool checkSubMeshCompatibility( const SubMesh* baseSubMesh );
209 … virtual size_t calculateMaxNumInstances( const SubMesh *baseSubMesh, uint16 flags ) const = 0;
224 virtual RenderOperation build( const SubMesh* baseSubMesh );
238 … virtual void buildFrom( const SubMesh *baseSubMesh, const RenderOperation &renderOperation );
H A DOgreInstanceBatchHW_VTF.h67 void setupVertices( const SubMesh* baseSubMesh );
68 void setupIndices( const SubMesh* baseSubMesh );
82 virtual bool checkSubMeshCompatibility( const SubMesh* baseSubMesh );
96 size_t calculateMaxNumInstances( const SubMesh *baseSubMesh, uint16 flags ) const;
H A DOgreInstanceBatchVTF.h126 void createVertexTexture( const SubMesh* baseSubMesh );
153 void buildFrom( const SubMesh *baseSubMesh, const RenderOperation &renderOperation );
208 void setupVertices( const SubMesh* baseSubMesh );
209 void setupIndices( const SubMesh* baseSubMesh );
223 size_t calculateMaxNumInstances( const SubMesh *baseSubMesh, uint16 flags ) const;
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/OgreMain/include/
H A DOgreInstanceBatchShader.h70 void setupVertices( const SubMesh* baseSubMesh );
71 void setupIndices( const SubMesh* baseSubMesh );
78 void setupHardwareSkinned( const SubMesh* baseSubMesh, VertexData *thisVertexData,
88 size_t calculateMaxNumInstances( const SubMesh *baseSubMesh, uint16 flags ) const;
91 void buildFrom( const SubMesh *baseSubMesh, const RenderOperation &renderOperation );
H A DOgreInstanceBatchHW.h65 void setupVertices( const SubMesh* baseSubMesh );
66 void setupIndices( const SubMesh* baseSubMesh );
69 virtual bool checkSubMeshCompatibility( const SubMesh* baseSubMesh );
80 size_t calculateMaxNumInstances( const SubMesh *baseSubMesh, uint16 flags ) const;
83 void buildFrom( const SubMesh *baseSubMesh, const RenderOperation &renderOperation );
H A DOgreInstanceBatch.h143 virtual void setupVertices( const SubMesh* baseSubMesh ) = 0;
144 virtual void setupIndices( const SubMesh* baseSubMesh ) = 0;
158 virtual bool checkSubMeshCompatibility( const SubMesh* baseSubMesh );
207 … virtual size_t calculateMaxNumInstances( const SubMesh *baseSubMesh, uint16 flags ) const = 0;
222 virtual RenderOperation build( const SubMesh* baseSubMesh );
236 … virtual void buildFrom( const SubMesh *baseSubMesh, const RenderOperation &renderOperation );
H A DOgreInstanceBatchHW_VTF.h68 void setupVertices( const SubMesh* baseSubMesh );
69 void setupIndices( const SubMesh* baseSubMesh );
83 virtual bool checkSubMeshCompatibility( const SubMesh* baseSubMesh );
97 size_t calculateMaxNumInstances( const SubMesh *baseSubMesh, uint16 flags ) const;
H A DOgreInstanceBatchVTF.h125 void createVertexTexture( const SubMesh* baseSubMesh );
152 void buildFrom( const SubMesh *baseSubMesh, const RenderOperation &renderOperation );
207 void setupVertices( const SubMesh* baseSubMesh );
208 void setupIndices( const SubMesh* baseSubMesh );
222 size_t calculateMaxNumInstances( const SubMesh *baseSubMesh, uint16 flags ) const;