World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Структура AVD3D11FrameDescriptor

#include <hwcontext_d3d11va.h>

Открытые атрибуты

ID3D11Texture2D * texture
 
intptr_t index
 

Подробное описание

D3D11 frame descriptor for pool allocation.

In user-allocated pools, AVHWFramesContext.pool must return AVBufferRefs with the data pointer pointing at an object of this type describing the planes of the frame.

This has no use outside of custom allocation, and AVFrame AVBufferRef do not necessarily point to an instance of this struct.

См. определение в файле hwcontext_d3d11va.h строка 109

Данные класса

◆ texture

ID3D11Texture2D* AVD3D11FrameDescriptor::texture

The texture in which the frame is located. The reference count is managed by the AVBufferRef, and destroying the reference will release the interface.

Normally stored in AVFrame.data[0].

См. определение в файле hwcontext_d3d11va.h строка 117

◆ index

intptr_t AVD3D11FrameDescriptor::index

The index into the array texture element representing the frame, or 0 if the texture is not an array texture.

Normally stored in AVFrame.data[1] (cast from intptr_t).

См. определение в файле hwcontext_d3d11va.h строка 125


Объявления и описания членов структуры находятся в файле: