API Documentation
Public Attributes | List of all members
nkGraphics::MapResult Struct Reference

Contains all information of the result of a map operation on a resource. More...

Public Attributes

unsigned char * _data = nullptr
 Pointer to mapped data.
 
unsigned int _rowPitch = 0
 Information about memory layout : the byte size of a row, if a texture.
 
unsigned int _depthPitch = 0
 Information about memory layout : the byte size of a depth slice, if a texture.
 
FORMAT _format = UNKNOWN_FORMAT
 Format of the mapped data, if from a texture. Under some conditions, format after a map operation can be different from the texture's one.
 

Detailed Description

Contains all information of the result of a map operation on a resource.


The documentation for this struct was generated from the following file: