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 less than or equal to the destination size. |
| Value | Description |
|---|---|
| Result::IsSuccess | The 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. For more information, see the programming manual.
CONFIDENTIAL