创建
创建用于渲染3D场景而无需绑定到图表对象的图形资源。
virtual bool Create(
const string name,
const int width,
const int height,
ENUM_COLOR_FORMAT clrfmt=COLOR_FORMAT_XRGB_NOALPHA
);
|
参数
name
[in] 图形对象名称。
width
[in] 画帧宽度。
height
[in] 画帧高度。
clrfmt=COLOR_FORMAT_XRGB_NOALPHA
[in] 颜色处理方法。参看ResourceCreate()函数描述来了解更多有关颜色处理方法。
注意