HIP_RESOURCE_VIEW_DESC Struct Reference

HIP_RESOURCE_VIEW_DESC Struct Reference#

HIP Runtime API Reference: HIP_RESOURCE_VIEW_DESC Struct Reference
HIP_RESOURCE_VIEW_DESC Struct Reference

#include <driver_types.h>

Data Fields

HIPresourceViewFormat format
 Resource view format.
 
size_t width
 Width of the resource view.
 
size_t height
 Height of the resource view.
 
size_t depth
 Depth of the resource view.
 
unsigned int firstMipmapLevel
 First defined mipmap level.
 
unsigned int lastMipmapLevel
 Last defined mipmap level.
 
unsigned int firstLayer
 First layer index.
 
unsigned int lastLayer
 Last layer index.
 
unsigned int reserved [16]
 

Detailed Description

Resource view descriptor

Field Documentation

◆ depth

size_t HIP_RESOURCE_VIEW_DESC::depth

Depth of the resource view.

◆ firstLayer

unsigned int HIP_RESOURCE_VIEW_DESC::firstLayer

First layer index.

◆ firstMipmapLevel

unsigned int HIP_RESOURCE_VIEW_DESC::firstMipmapLevel

First defined mipmap level.

◆ format

HIPresourceViewFormat HIP_RESOURCE_VIEW_DESC::format

Resource view format.

◆ height

size_t HIP_RESOURCE_VIEW_DESC::height

Height of the resource view.

◆ lastLayer

unsigned int HIP_RESOURCE_VIEW_DESC::lastLayer

Last layer index.

◆ lastMipmapLevel

unsigned int HIP_RESOURCE_VIEW_DESC::lastMipmapLevel

Last defined mipmap level.

◆ reserved

unsigned int HIP_RESOURCE_VIEW_DESC::reserved[16]

◆ width

size_t HIP_RESOURCE_VIEW_DESC::width

Width of the resource view.


The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/docs-6.2.1/include/hip/driver_types.h