当前位置: 首页>>代码示例>>C++>>正文


C++ OutStream::WritePointerW方法代码示例

本文整理汇总了C++中OutStream::WritePointerW方法的典型用法代码示例。如果您正苦于以下问题:C++ OutStream::WritePointerW方法的具体用法?C++ OutStream::WritePointerW怎么用?C++ OutStream::WritePointerW使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在OutStream的用法示例。


在下文中一共展示了OutStream::WritePointerW方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: Save

//----------------------------------------------------------------------------
void ShaderParameters::Save (OutStream& target) const
{
	PX2_BEGIN_DEBUG_STREAM_SAVE(target);

	Object::Save(target);

	target.WritePointer(mShader);
	target.WritePointerW(mNumConstants, mConstants);
	target.WritePointerW(mNumTextures, mTextures);

	PX2_END_DEBUG_STREAM_SAVE(ShaderParameters, target);
}
开发者ID:ascetic85,项目名称:Phoenix3d,代码行数:13,代码来源:PX2ShaderParameters.cpp

示例2: Save

//----------------------------------------------------------------------------
void VisualTechnique::Save (OutStream& target) const
{
    WM5_BEGIN_DEBUG_STREAM_SAVE(target);

    Object::Save(target);

    target.WritePointerW((int)mPasses.size(), &mPasses[0]);

    WM5_END_DEBUG_STREAM_SAVE(VisualTechnique, target);
}
开发者ID:rasslingcats,项目名称:calico,代码行数:11,代码来源:Wm5VisualTechnique.cpp

示例3: Save

//----------------------------------------------------------------------------
void ControlledObject::Save (OutStream& target) const
{
	WM5_BEGIN_DEBUG_STREAM_SAVE(target);

	Object::Save(target);

	target.WritePointerW(mNumControllers, mControllers);

	WM5_END_DEBUG_STREAM_SAVE(ControlledObject, target);
}
开发者ID:bazhenovc,项目名称:WildMagic,代码行数:11,代码来源:Wm5ControlledObject.cpp

示例4: Save

//----------------------------------------------------------------------------
void ConvexRegion::Save (OutStream& target) const
{
    WM5_BEGIN_DEBUG_STREAM_SAVE(target);

    Node::Save(target);

    target.WritePointerW(mNumPortals, mPortals);

    WM5_END_DEBUG_STREAM_SAVE(ConvexRegion, target);
}
开发者ID:Kiichi77,项目名称:WildMagic,代码行数:11,代码来源:Wm5ConvexRegion.cpp

示例5: Save

//----------------------------------------------------------------------------
void Material::Save (OutStream& target) const
{
	PX2_BEGIN_DEBUG_STREAM_SAVE(target);

	Object::Save(target);
	PX2_VERSION_SAVE(target);

	target.WritePointerW((int)mTechniques.size(), &mTechniques[0]);

	PX2_END_DEBUG_STREAM_SAVE(Material, target);
}
开发者ID:JamShan,项目名称:Phoenix3D_2.1,代码行数:12,代码来源:PX2Material.cpp

示例6: Save

//----------------------------------------------------------------------------
void RenderTarget::Save (OutStream& target) const
{
    WM5_BEGIN_DEBUG_STREAM_SAVE(target);

    Object::Save(target);

    target.WritePointerW(mNumTargets, mColorTextures);
    target.WritePointer(mDepthStencilTexture);
    target.WriteBool(mHasMipmaps);

    WM5_END_DEBUG_STREAM_SAVE(RenderTarget, target);
}
开发者ID:rasslingcats,项目名称:calico,代码行数:13,代码来源:Wm5RenderTarget.cpp

示例7: Save

//----------------------------------------------------------------------------
void VisualEffectInstance::Save (OutStream& target) const
{
    WM5_BEGIN_DEBUG_STREAM_SAVE(target);

    Object::Save(target);

    target.Write(mTechniqueIndex);
    target.WritePointer(mEffect);
    target.WritePointerW(mNumPasses, mVertexParameters);
    target.WritePointerN(mNumPasses, mPixelParameters);

    WM5_END_DEBUG_STREAM_SAVE(VisualEffectInstance, target);
}
开发者ID:fishxz,项目名称:omni-bot,代码行数:14,代码来源:Wm5VisualEffectInstance.cpp

示例8: Save

//----------------------------------------------------------------------------
void MaterialInstance::Save (OutStream& target) const
{
	PX2_BEGIN_DEBUG_STREAM_SAVE(target);

	Object::Save(target);
	PX2_VERSION_SAVE(target);

	target.WriteBool(mIsShareMtl);

	target.WriteString(mMaterialFilename);
	target.WriteString(mInstanceTechName);

	target.WritePointer(mMaterial);
	target.Write(mTechniqueIndex);

	target.WritePointerW(mNumPasses, mVertexParameters);
	target.WritePointerN(mNumPasses, mPixelParameters);

	PX2_END_DEBUG_STREAM_SAVE(MaterialInstance, target);
}
开发者ID:JamShan,项目名称:Phoenix3D_2.1,代码行数:21,代码来源:PX2MaterialInstance.cpp


注:本文中的OutStream::WritePointerW方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。