Home
last modified time | relevance | path

Searched refs:ResVertexAttribute (Results 1 – 8 of 8) sorted by relevance

/NW4C-1.2.23/sources/libraries/gfx/res/
Dgfx_ResMesh.cpp37 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 …]
Dgfx_ResVertex.cpp102 ResVertexAttribute::Setup() in Setup()
122 ResVertexAttribute::Cleanup() in Cleanup()
/NW4C-1.2.23/include/nw/gfx/res/
Dgfx_ResVertex.h51 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 ResVertexAttribute
149 NW_RES_CTOR_INHERIT( ResVertexParamAttribute, ResVertexAttribute )
240 class ResVertexStreamBase : public ResVertexAttribute
246 NW_RES_CTOR_INHERIT( ResVertexStreamBase, ResVertexAttribute ) in NW_RES_CTOR_INHERIT() argument
Dgfx_ResShape.h90 …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*() const
492 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()
Dgfx_ResParticleShape.h47 …NW_RES_FIELD_CLASS_LIST_DECL( ResVertexAttribute, VertexAttributes ) // GetVertexAttributes(int id…
/NW4C-1.2.23/include/nw/gfx/
Dgfx_ShaderProgram.h126 ResVertexAttribute::VertexAttributeUsage usage) const;
138 static_cast<ResVertexAttribute::VertexAttributeUsage>(usage)); in GetVertexAttributeIndex()
635 ResVertexAttribute::VertexAttributeUsage usage in GetVertexAttributeIndex()
Dgfx_RenderContext.h153 typedef ut::FixedSizeArray<ResVertexAttribute, VERTEX_ATTRIBUTE_COUNT> VertexAttributeArray;
/NW4C-1.2.23/sources/libraries/gfx/
Dgfx_ActivateCommand.cpp226 ResVertexAttribute attribute = shape.GetVertexAttributes( i ); in SetupActivateVertexAttributeCommand_()
318 ResVertexAttribute attribute = shape.GetVertexAttributes( i ); in SetupActivateVertexAttributeCommand_()
429 ResVertexAttribute attribute = shape.GetVertexAttributes( i ); in SetupDeactivateVertexAttributeCommand_()