sKit  0.0.9
sKit::sdl::DrawPass Class Reference

#include <renderpass.hpp>

Public Member Functions

 DrawPass (SDL_GPUCommandBuffer *commandBuffer, SDL_Window *window)
 
void addVertexBinding (SDL_GPUBuffer *buffer)
 
void addIndexBuffer (SDL_GPUBuffer *buffer, Uint32 numIndices)
 
void draw (SDL_GPUGraphicsPipeline *pipeline=nullptr)
 

Detailed Description

Definition at line 36 of file renderpass.hpp.

Constructor & Destructor Documentation

◆ DrawPass()

sKit::sdl::DrawPass::DrawPass ( SDL_GPUCommandBuffer *  commandBuffer,
SDL_Window *  window 
)
inline

Definition at line 38 of file renderpass.hpp.

Member Function Documentation

◆ addIndexBuffer()

void sKit::sdl::DrawPass::addIndexBuffer ( SDL_GPUBuffer *  buffer,
Uint32  numIndices 
)
inline

Definition at line 45 of file renderpass.hpp.

◆ addVertexBinding()

void sKit::sdl::DrawPass::addVertexBinding ( SDL_GPUBuffer *  buffer)
inline

Definition at line 41 of file renderpass.hpp.

◆ draw()

void sKit::sdl::DrawPass::draw ( SDL_GPUGraphicsPipeline *  pipeline = nullptr)
inline

Definition at line 50 of file renderpass.hpp.


The documentation for this class was generated from the following file: