Condividi tramite


Metodo IFrameBufferCallback::ResultCallback

Callback che informa l'host di informazioni framebuffer restituite dalla richiesta associata.

Sintassi

HRESULT ResultCallback(
   DWORD   frameNumber,
   DWORD   width,
   DWORD   height,
   DWORD   renderTargetPtr,
   double  frameDuraction,
   DWORD   size,
   BYTE [] count5_buffer
);

Parametri

frameNumber
Numero di fotogramma.

width
Larghezza del fotogramma.

height
Altezza del frame.

renderingTargetPtr
Destinazione di rendering da cui provengono i risultati. È sempre uno slot specificato dalla richiesta del buffer frame o, se non una chiamata di disegno, il primo bount RTV all'origine di output.

frameDuraction
Non usato.

size
Dimensioni del buffer di output in byte.

count5_buffer
Contenuto della destinazione di rendering in formato R8G8B8A8_UNORM.

Valore restituito

Se questo metodo ha esito positivo, restituisce S_OK. In caso contrario, restituisce un codice di errore HRESULT .

Requisiti

Intestazione

Vspixengine.h

Vedere anche

IFrameBufferCallback