本文整理汇总了C++中TexHandle::GetHandle方法的典型用法代码示例。如果您正苦于以下问题:C++ TexHandle::GetHandle方法的具体用法?C++ TexHandle::GetHandle怎么用?C++ TexHandle::GetHandle使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TexHandle
的用法示例。
在下文中一共展示了TexHandle::GetHandle方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: GetActiveTexHandle
DWORD_PTR Speckle::GetActiveTexHandle(TimeValue t, TexHandleMaker& thmaker) {
if (texHandle) {
if (texHandleValid.InInterval(t))
return texHandle->GetHandle();
else DiscardTexHandle();
}
texHandle = thmaker.MakeHandle(GetVPDisplayDIB(t,thmaker,texHandleValid));
return texHandle->GetHandle();
}
示例2: GetActiveTexHandle
DWORD UVtex::GetActiveTexHandle(TimeValue t, TexHandleMaker& thmaker) {
#endif
if (texHandle) {
if (texHandleValid.InInterval(t))
return texHandle->GetHandle();
else DiscardTexHandle();
}
Interval v;
Update(t,v);
Bitmap *bm;
bm = BuildBitmap(thmaker.Size());
texHandle = thmaker.CreateHandle(bm);
bm->DeleteThis();
texHandleValid.SetInfinite();
int i;
pblock->GetValue(uv_uvchannel, t, i, texHandleValid);
pblock->GetValue(uv_rtype, t, i, texHandleValid);
pblock->GetValue(uv_gtype, t, i, texHandleValid);
pblock->GetValue(uv_btype, t, i, texHandleValid);
pblock->GetValue(uv_rcount, t, i, texHandleValid);
pblock->GetValue(uv_gcount, t, i, texHandleValid);
pblock->GetValue(uv_bcount, t, i, texHandleValid);
float f;
pblock->GetValue(uv_tintAmount, t, f, texHandleValid);
pblock->GetValue(uv_rAmount, t, f, texHandleValid);
pblock->GetValue(uv_gAmount, t, f, texHandleValid);
pblock->GetValue(uv_bAmount, t, f, texHandleValid);
Color c;
pblock->GetValue(uv_tintColor, t, c, texHandleValid);
BOOL b;
pblock->GetValue(uv_clampUVW, t, b, texHandleValid);
return texHandle->GetHandle();
}