Lines Matching refs:shadermodeldef
113 ShaderModelDef* shadermodeldef; member
124 m->shadermodeldef = NULL; in ShaderModelVertexRenderer()
139 ShaderModelDef* shadermodeldef = (ShaderModelDef*)mdef->GetRenderData(m); in CreateModelData() local
141 if (!shadermodeldef) in CreateModelData()
143 shadermodeldef = new ShaderModelDef(mdef); in CreateModelData()
144 mdef->SetRenderData(m, shadermodeldef); in CreateModelData()
259 m->shadermodeldef = (ShaderModelDef*)def.GetRenderData(m); in PrepareModelDef()
261 ENSURE(m->shadermodeldef); in PrepareModelDef()
263 u8* base = m->shadermodeldef->m_Array.Bind(); in PrepareModelDef()
264 GLsizei stride = (GLsizei)m->shadermodeldef->m_Array.GetStride(); in PrepareModelDef()
267 …shader->TexCoordPointer(GL_TEXTURE0, 2, GL_FLOAT, stride, base + m->shadermodeldef->m_UVs[0].offse… in PrepareModelDef()
270 …shader->TexCoordPointer(GL_TEXTURE1, 2, GL_FLOAT, stride, base + m->shadermodeldef->m_UVs[1].offse… in PrepareModelDef()
283 u8* indexBase = m->shadermodeldef->m_IndexArray.Bind(); in RenderModel()