本文整理汇总了C++中InStream::ReadPointerRR方法的典型用法代码示例。如果您正苦于以下问题:C++ InStream::ReadPointerRR方法的具体用法?C++ InStream::ReadPointerRR怎么用?C++ InStream::ReadPointerRR使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类InStream
的用法示例。
在下文中一共展示了InStream::ReadPointerRR方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: Load
//----------------------------------------------------------------------------
void ShaderParameters::Load (InStream& source)
{
PX2_BEGIN_DEBUG_STREAM_LOAD(source);
Object::Load(source);
source.ReadPointer(mShader);
source.ReadPointerRR(mNumConstants, mConstants);
source.ReadPointerRR(mNumTextures, mTextures);
PX2_END_DEBUG_STREAM_LOAD(ShaderParameters, source);
}
示例2: Load
//----------------------------------------------------------------------------
void ConvexRegion::Load (InStream& source)
{
WM5_BEGIN_DEBUG_STREAM_LOAD(source);
Node::Load(source);
source.ReadPointerRR(mNumPortals, mPortals);
WM5_END_DEBUG_STREAM_LOAD(ConvexRegion, source);
}
示例3: Load
//----------------------------------------------------------------------------
void RenderTarget::Load (InStream& source)
{
WM5_BEGIN_DEBUG_STREAM_LOAD(source);
Object::Load(source);
source.ReadPointerRR(mNumTargets, mColorTextures);
source.ReadPointer(mDepthStencilTexture);
source.ReadBool(mHasMipmaps);
WM5_END_DEBUG_STREAM_LOAD(RenderTarget, source);
}
示例4: Load
//----------------------------------------------------------------------------
void ControlledObject::Load (InStream& source)
{
WM5_BEGIN_DEBUG_STREAM_LOAD(source);
Object::Load(source);
source.ReadPointerRR(mNumControllers, mControllers);
mCapacity = mNumControllers;
WM5_END_DEBUG_STREAM_LOAD(ControlledObject, source);
}
示例5: Load
//----------------------------------------------------------------------------
void VisualEffectInstance::Load (InStream& source)
{
WM5_BEGIN_DEBUG_STREAM_LOAD(source);
Object::Load(source);
source.Read(mTechniqueIndex);
source.ReadPointer(mEffect);
source.ReadPointerRR(mNumPasses, mVertexParameters);
source.ReadPointerVR(mNumPasses, mPixelParameters);
WM5_END_DEBUG_STREAM_LOAD(VisualEffectInstance, source);
}
示例6: Load
//----------------------------------------------------------------------------
void MaterialInstance::Load (InStream& source)
{
PX2_BEGIN_DEBUG_STREAM_LOAD(source);
Object::Load(source);
PX2_VERSION_LOAD(source);
source.ReadBool(mIsShareMtl);
source.ReadString(mMaterialFilename);
source.ReadString(mInstanceTechName);
source.ReadPointer(mMaterial);
source.Read(mTechniqueIndex);
source.ReadPointerRR(mNumPasses, mVertexParameters);
source.ReadPointerVR(mNumPasses, mPixelParameters);
PX2_END_DEBUG_STREAM_LOAD(MaterialInstance, source);
}