Lines Matching refs:this

161         return ResDynamicCast<ResParticleShape>( this->GetResSceneObject() );  in GetResParticleShape()
168 return ResDynamicCast<ResParticleShape>( this->GetResSceneObject() ); in GetResParticleShape()
175 return this->m_ResVertexAttributeDataCount; in GetVertexAttributesCount()
183 NW_ASSERT(index >= 0 && index < this->m_ResVertexAttributeDataCount); in IsVertexStream()
184 return this->m_VertexAttribute[index].m_IsStream; in IsVertexStream()
192 NW_ASSERT(index >= 0 && index < this->m_ResVertexAttributeDataCount); in GetVertexAttributeUsage()
193 return this->m_VertexAttribute[index].m_Usage; in GetVertexAttributeUsage()
201 NW_ASSERT(index >= 0 && index < this->m_ResVertexAttributeDataCount); in GetVertexAttributeFormatType()
202 return this->m_VertexAttribute[index].m_FormatType; in GetVertexAttributeFormatType()
210 NW_ASSERT(index >= 0 && index < this->m_ResVertexAttributeDataCount); in GetVertexAttributeDimension()
211 return this->m_VertexAttribute[index].m_Dimension; in GetVertexAttributeDimension()
220 NW_ASSERT(index >= 0 && index < this->m_ResVertexAttributeDataCount); in GetVertexStreamPtr()
222 if (!this->m_VertexAttribute[index].m_IsStream) in GetVertexStreamPtr()
227 if (this->m_BufferSide) in GetVertexStreamPtr()
232 return this->m_VertexAttribute[index].m_Stream[side]; in GetVertexStreamPtr()
241 NW_ASSERT(index >= 0 && index < this->m_ResVertexAttributeDataCount); in GetVertexStreamPtr()
243 if (!this->m_VertexAttribute[index].m_IsStream) in GetVertexStreamPtr()
248 if (this->m_BufferSide) in GetVertexStreamPtr()
253 return this->m_VertexAttribute[index].m_Stream[side]; in GetVertexStreamPtr()
261 NW_ASSERT(index >= 0 && index < this->m_ResVertexAttributeDataCount); in GetVertexParameter()
262 if (this->m_VertexAttribute[index].m_IsStream) in GetVertexParameter()
267 return reinterpret_cast<f32*>(this->m_VertexAttribute[index].m_Stream[0]); in GetVertexParameter()
275 NW_ASSERT(index >= 0 && index < this->m_ResVertexAttributeDataCount); in GetVertexParameter()
276 if (this->m_VertexAttribute[index].m_IsStream) in GetVertexParameter()
281 return reinterpret_cast<const f32*>(this->m_VertexAttribute[index].m_Stream[0]); in GetVertexParameter()
291 NW_ASSERT(index >= 0 && index < this->m_ResVertexAttributeDataCount); in SetVertexParameter()
293 if (this->m_VertexAttribute[index].m_IsStream) in SetVertexParameter()
298 if (this->m_BufferSide) in SetVertexParameter()
303 int count = this->GetVertexAttributeDimension(index); in SetVertexParameter()
304 f32* fdata = this->GetVertexParameter(index); in SetVertexParameter()
315 this->m_VertexAttribute[index].m_CommandPtr[side]); in SetVertexParameter()
325 NW_ASSERT(index >= 0 && index < this->m_ResVertexAttributeDataCount); in SetVertexAttributeCommandPtr()
327 return this->m_VertexAttribute[index].m_CommandPtr[side] = ptr; in SetVertexAttributeCommandPtr()
336 if (this->m_BufferSide) in GetPrimitiveStreamPtr()
340 return this->m_PrimitiveBuffer[side]; in GetPrimitiveStreamPtr()
349 if (this->m_BufferSide) in GetPrimitiveStreamPtr()
353 return this->m_PrimitiveBuffer[side]; in GetPrimitiveStreamPtr()
363 if (this->m_BufferSide) in GetPrimitiveStreamOffset()
367 return this->m_PrimitiveBufferOffset[side]; in GetPrimitiveStreamOffset()
380 this->m_BufferSide = swap; in SetBufferSide()
387 return this->m_BufferSide ? 1 : 0; in GetBufferSide()
438 this->m_VertexAttribute[this->m_ResVertexAttributeDataCount].m_Usage = usage; in AddVertexAttribute()
439 this->m_VertexAttribute[this->m_ResVertexAttributeDataCount].m_FormatType = formatType; in AddVertexAttribute()
440 this->m_VertexAttribute[this->m_ResVertexAttributeDataCount].m_Dimension = dimension; in AddVertexAttribute()
441 this->m_VertexAttribute[this->m_ResVertexAttributeDataCount].m_IsStream = isStream; in AddVertexAttribute()
442 this->m_VertexAttribute[this->m_ResVertexAttributeDataCount].m_Stream[0] = stream0; in AddVertexAttribute()
443 this->m_VertexAttribute[this->m_ResVertexAttributeDataCount].m_Stream[1] = stream1; in AddVertexAttribute()
444 this->m_VertexAttribute[this->m_ResVertexAttributeDataCount].m_CommandPtr[0] = NULL; in AddVertexAttribute()
445 this->m_VertexAttribute[this->m_ResVertexAttributeDataCount].m_CommandPtr[1] = NULL; in AddVertexAttribute()
446 ++this->m_ResVertexAttributeDataCount; in AddVertexAttribute()
447 return &this->m_VertexAttribute[this->m_ResVertexAttributeDataCount - 1]; in AddVertexAttribute()