Searched refs:ResVertexAttribute (Results 1 – 8 of 8) sorted by relevance
37 QueryScaleCommandIndex(ResVertexAttribute::VertexAttributeUsage usage) in QueryScaleCommandIndex()43 … case ResVertexAttribute::USAGE_POSITION: return BASE_INDEX + 4; // attributeScales[0].x in QueryScaleCommandIndex()44 … case ResVertexAttribute::USAGE_NORMAL: return BASE_INDEX + 3; // attributeScales[0].y in QueryScaleCommandIndex()45 … case ResVertexAttribute::USAGE_TANGENT: return BASE_INDEX + 2; // attributeScales[0].z in QueryScaleCommandIndex()46 … case ResVertexAttribute::USAGE_COLOR: return BASE_INDEX + 0; // attributeScales[0].w in QueryScaleCommandIndex()47 … case ResVertexAttribute::USAGE_TEXTURECOODINATE0: return BASE_INDEX + 8; // attributeScales[1].x in QueryScaleCommandIndex()48 … case ResVertexAttribute::USAGE_TEXTURECOODINATE1: return BASE_INDEX + 7; // attributeScales[1].y in QueryScaleCommandIndex()49 … case ResVertexAttribute::USAGE_TEXTURECOODINATE2: return BASE_INDEX + 6; // attributeScales[1].z in QueryScaleCommandIndex()50 … case ResVertexAttribute::USAGE_BONEWEIGHT: return BASE_INDEX + 5; // attributeScales[1].w in QueryScaleCommandIndex()51 …case ResVertexAttribute::USAGE_BONEINDEX: return BONE_INDEX_SCALE_INDEX; // attributeSc… in QueryScaleCommandIndex()[all …]
102 ResVertexAttribute::Setup() in Setup()122 ResVertexAttribute::Cleanup() in Cleanup()
51 class ResVertexAttribute : public nw::ut::ResCommon< ResVertexAttributeData >54 enum { TYPE_INFO = NW_GFX_RES_TYPE_INFO(ResVertexAttribute) };91 NW_RES_CTOR( ResVertexAttribute )126 typedef nw::ut::ResArrayClass<ResVertexAttribute>::type ResVertexAttributeArray;143 class ResVertexParamAttribute : public ResVertexAttribute149 NW_RES_CTOR_INHERIT( ResVertexParamAttribute, ResVertexAttribute )240 class ResVertexStreamBase : public ResVertexAttribute246 NW_RES_CTOR_INHERIT( ResVertexStreamBase, ResVertexAttribute ) in NW_RES_CTOR_INHERIT() argument
90 …NW_RES_FIELD_CLASS_LIST_DECL( ResVertexAttribute, DeltaVertexAttributes ) // GetDeltaVertexAttribu…384 …NW_RES_FIELD_CLASS_LIST_DECL( ResVertexAttribute, VertexAttributes ) // GetVertexAttributes(int id…440 ResVertexAttribute operator*()457 const ResVertexAttribute operator*() const492 ResVertexAttribute attribute = m_Shape.GetVertexAttributes(m_IndexOnShape);494 if (attribute.GetFlags() & ResVertexAttribute::FLAG_INTERLEAVE)542 ResVertexAttribute attribute = shape.GetVertexAttributes(0); in ResVertexAttributeIterator()544 if (attribute.GetFlags() & ResVertexAttribute::FLAG_INTERLEAVE) in ResVertexAttributeIterator()
47 …NW_RES_FIELD_CLASS_LIST_DECL( ResVertexAttribute, VertexAttributes ) // GetVertexAttributes(int id…
126 ResVertexAttribute::VertexAttributeUsage usage) const;138 static_cast<ResVertexAttribute::VertexAttributeUsage>(usage)); in GetVertexAttributeIndex()635 ResVertexAttribute::VertexAttributeUsage usage in GetVertexAttributeIndex()
153 typedef ut::FixedSizeArray<ResVertexAttribute, VERTEX_ATTRIBUTE_COUNT> VertexAttributeArray;
226 ResVertexAttribute attribute = shape.GetVertexAttributes( i ); in SetupActivateVertexAttributeCommand_()318 ResVertexAttribute attribute = shape.GetVertexAttributes( i ); in SetupActivateVertexAttributeCommand_()429 ResVertexAttribute attribute = shape.GetVertexAttributes( i ); in SetupDeactivateVertexAttributeCommand_()