nn::gd::CTR::Memory::CopyVertexBufferSubResource Member Functionstatic nnResult CopyVertexBufferSubResource( const VertexBufferResource * source, u32 sourceOffset, u32 size, const VertexBufferResource * dest, u32 destOffset );
| Name | Description | |
|---|---|---|
| in | source | Specifies a pointer to the source vertex buffer. |
| in | sourceOffset | Specifies a transfer start offset. The offset must be smaller than the source vertex buffer size being used. |
| in | size | Specifies the transfer size. The size of sourceOffset + size must be equal to or less than the transfer source size. |
| in | dest | Specifies a pointer to the destination vertex buffer. |
| in | destOffset | Specifies the destination offset. The size of destOffset + size must be equal to or less than the destination size. |
| Value | Description |
|---|---|
Result::IsSuccess |
Process was successful. |
ResultNullParameter |
NULL was specified for source or dest. |
ResultInvalidParameter |
0 was specified in size. |
ResultOutOfRangeParameter |
The offset of the transfer source or transfer destination is invalid. |
Copies data from the source vertex buffer to the destination vertex buffer.
A function with the same functionality as nngxAddBlockImageCopyCommand is called internally. This function adds commands to the command list. Refer to the Programming Manual for details.
CONFIDENTIAL