nn::gd::CTR::Resource::CreateVertexBufferResource Member Functionstatic nnResult CreateVertexBufferResource( VertexBufferResourceDescription * description, const void * initialData, VertexBufferResource ** buffer );
| Name | Description | |
|---|---|---|
| in | description | Specifies the descriptor for creating a resource buffer. |
| in | initialData | Specifies the initialization data. |
| out | buffer | Specifies the address for storing the pointer to the created vertex buffer resource. |
| Value | Description |
|---|---|
ResultSuccess |
Process was successful. |
| ResultNullParameter | NULL was specified for description or buffer. |
| ResultInvalidParameter | 0 was specified for the vertex size. |
| ResultInvalidMemoryLocation | The memory type is not valid. |
| ResultOutOfMemory | Memory cannot be allocated for the resource object. |
| ResultOutOfMemoryExt | Memory cannot be allocated for the vertex buffer. |
Creates a vertex buffer resource.
CONFIDENTIAL