Animación Vulkan 1.0
Animación de tiro libre baloncesto con motor gráfico desarrollado en clase
Cargando...
Buscando...
Nada coincide
GEIndexBuffer.h
Ir a la documentación de este archivo.
1
5
6#pragma once
7
8#include <vulkan/vulkan.h>
9#include "GEGraphicsContext.h"
10
16{
17public:
18 VkBuffer buffer;
19 VkDeviceMemory memory;
20
27 GEIndexBuffer(GEGraphicsContext* gc, size_t size, const void* data);
28
33 void destroy(GEGraphicsContext* gc);
34};
35
Declaración de la clase GEGraphicsContext que almacena el contexto gráfico de Vulkan.
Clase que almacena el contexto gráfico de Vulkan (instancia y dispositivo).
Definition GEGraphicsContext.h:17
GEIndexBuffer(GEGraphicsContext *gc, size_t size, const void *data)
Crea un Index Buffer y sube los datos al buffer.
Definition GEIndexBuffer.cpp:16
VkDeviceMemory memory
Memoria asociada al buffer.
Definition GEIndexBuffer.h:19
VkBuffer buffer
Buffer Vulkan que contiene índices.
Definition GEIndexBuffer.h:18
void destroy(GEGraphicsContext *gc)
Destruye los recursos del index buffer.
Definition GEIndexBuffer.cpp:54