Home
last modified time | relevance | path

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

/NW4C-2.0.3/sources/libraries/gfx/res/
Dgfx_ResMesh.cpp39 QueryScaleCommandIndex(ResVertexAttribute::VertexAttributeUsage usage) in QueryScaleCommandIndex()
45 … case ResVertexAttribute::USAGE_POSITION: return BASE_INDEX + 4; // attributeScales[0].x in QueryScaleCommandIndex()
46 … case ResVertexAttribute::USAGE_NORMAL: return BASE_INDEX + 3; // attributeScales[0].y in QueryScaleCommandIndex()
47 … case ResVertexAttribute::USAGE_TANGENT: return BASE_INDEX + 2; // attributeScales[0].z in QueryScaleCommandIndex()
48 … case ResVertexAttribute::USAGE_COLOR: return BASE_INDEX + 0; // attributeScales[0].w in QueryScaleCommandIndex()
49 … case ResVertexAttribute::USAGE_TEXTURECOODINATE0: return BASE_INDEX + 8; // attributeScales[1].x in QueryScaleCommandIndex()
50 … case ResVertexAttribute::USAGE_TEXTURECOODINATE1: return BASE_INDEX + 7; // attributeScales[1].y in QueryScaleCommandIndex()
51 … case ResVertexAttribute::USAGE_TEXTURECOODINATE2: return BASE_INDEX + 6; // attributeScales[1].z in QueryScaleCommandIndex()
52 … case ResVertexAttribute::USAGE_BONEWEIGHT: return BASE_INDEX + 5; // attributeScales[1].w in QueryScaleCommandIndex()
53 …case ResVertexAttribute::USAGE_BONEINDEX: return BONE_INDEX_SCALE_INDEX; // attributeSc… in QueryScaleCommandIndex()
[all …]
Dgfx_ResVertex.cpp103 ResVertexAttribute::Setup() in Setup()
123 ResVertexAttribute::Cleanup() in Cleanup()
143 ResVertexAttribute::GetVertexCount() in GetVertexCount()
/NW4C-2.0.3/include/nw/gfx/res/
Dgfx_ResVertex.h53 class ResVertexAttribute : public nw::ut::ResCommon< ResVertexAttributeData >
56 enum { TYPE_INFO = NW_GFX_RES_TYPE_INFO(ResVertexAttribute) };
93 NW_RES_CTOR( ResVertexAttribute )
144 typedef nw::ut::ResArrayClass<ResVertexAttribute>::type ResVertexAttributeArray;
161 class ResVertexParamAttribute : public ResVertexAttribute
167 NW_RES_CTOR_INHERIT( ResVertexParamAttribute, ResVertexAttribute )
258 class ResVertexStreamBase : public ResVertexAttribute
264 NW_RES_CTOR_INHERIT( ResVertexStreamBase, ResVertexAttribute ) in NW_RES_CTOR_INHERIT() argument
Dgfx_ResShape.h63 NW_RES_FIELD_CLASS_LIST_DECL( ResVertexAttribute, VertexAttributes )
416 …NW_RES_FIELD_CLASS_LIST_DECL( ResVertexAttribute, VertexAttributes ) // GetVertexAttributes(int id…
475 ResVertexAttribute operator*()
492 const ResVertexAttribute operator*() const
527 ResVertexAttribute attribute = m_Shape.GetVertexAttributes(m_IndexOnShape);
529 if (attribute.GetFlags() & ResVertexAttribute::FLAG_INTERLEAVE)
577 ResVertexAttribute attribute = shape.GetVertexAttributes(0); in ResVertexAttributeIterator()
579 if (attribute.GetFlags() & ResVertexAttribute::FLAG_INTERLEAVE) in ResVertexAttributeIterator()
Dgfx_ResParticleShape.h49 …NW_RES_FIELD_CLASS_LIST_DECL( ResVertexAttribute, VertexAttributes ) // GetVertexAttributes(int id…
/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_ActivateCommand.cpp170 ResVertexAttribute attribute = shape.GetVertexAttributes( i ); in CalcSetupActivateVertexAttributeCommandSize_()
207 ResVertexAttribute attribute = shape.GetVertexAttributes( i ); in CalcSetupDeactivateVertexAttributeCommandSize_()
336 ResVertexAttribute attribute = shape.GetVertexAttributes( i ); in SetupActivateVertexAttributeCommand_()
429 ResVertexAttribute attribute = shape.GetVertexAttributes( i ); in SetupActivateVertexAttributeCommand_()
545 ResVertexAttribute attribute = shape.GetVertexAttributes( i ); in SetupDeactivateVertexAttributeCommand_()
/NW4C-2.0.3/include/nw/gfx/
Dgfx_ShaderProgram.h128 ResVertexAttribute::VertexAttributeUsage usage) const;
140 static_cast<ResVertexAttribute::VertexAttributeUsage>(usage)); in GetVertexAttributeIndex()
638 ResVertexAttribute::VertexAttributeUsage usage in GetVertexAttributeIndex()
Dgfx_RenderContext.h162 typedef ut::FixedSizeArray<ResVertexAttribute, VERTEX_ATTRIBUTE_COUNT> VertexAttributeArray;