added comments
This commit is contained in:
parent
1abe8770d7
commit
781e108aa3
@ -84,6 +84,12 @@ public:
|
||||
if(!buffer)
|
||||
return(false);
|
||||
|
||||
/*
|
||||
* 注:这里的不管是offset还是c,都会走VAB/IndexBuffer的虚拟版本。
|
||||
* 其中的数据均为单元数据长度而非字节数。
|
||||
*
|
||||
* 如果需要传字节数,就需要buffer->DeviceBuffer::Write()这样操作
|
||||
*/
|
||||
return buffer->Write(data,offset,c);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user