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
 
size_t width
 
size_t height
 
size_t depth
 
unsigned int firstMipmapLevel
 
unsigned int lastMipmapLevel
 
unsigned int firstLayer
 
unsigned int lastLayer
 
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-5.2.3/include/hip/driver_types.h