Skip to content

Implement a command to transfer a data and remove Lock,Unlock #34

@lriki

Description

@lriki

Current version

auto b = buffer->Lock();
memset(b, ...);
buffer->Unlock();

Ideal version

commandBuffer->SetData(buffer, srcData, size);

Note

I seem that it may should support a function to assign a initial data when creating

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions