Potato Engine
Hobby Game Engine Project
Public Member Functions | List of all members
up::GpuCommandList Class Referenceabstract

Public Member Functions

 GpuCommandList (GpuCommandList &&)=delete
 
GpuCommandListoperator= (GpuCommandList &&)=delete
 
virtual void setPipelineState (GpuPipelineState *state)=0
 
virtual void bindRenderTarget (uint32 index, GpuResourceView *view)=0
 
virtual void bindDepthStencil (GpuResourceView *view)=0
 
virtual void bindIndexBuffer (GpuBuffer *buffer, GpuIndexFormat indexType, uint32 offset=0)=0
 
virtual void bindVertexBuffer (uint32 slot, GpuBuffer *buffer, uint64 stride, uint64 offset=0)=0
 
virtual void bindConstantBuffer (uint32 slot, GpuBuffer *buffer, GpuShaderStage stage)=0
 
virtual void bindShaderResource (uint32 slot, GpuResourceView *view, GpuShaderStage stage)=0
 
virtual void bindSampler (uint32 slot, GpuSampler *sampler, GpuShaderStage stage)=0
 
virtual void setPrimitiveTopology (GpuPrimitiveTopology topology)=0
 
virtual void setViewport (GpuViewportDesc const &viewport)=0
 
virtual void setClipRect (GpuClipRect rect)=0
 
virtual void draw (uint32 vertexCount, uint32 firstVertex=0)=0
 
virtual void drawIndexed (uint32 indexCount, uint32 firstIndex=0, uint32 baseIndex=0)=0
 
virtual void clearRenderTarget (GpuResourceView *view, glm::vec4 color)=0
 
virtual void clearDepthStencil (GpuResourceView *view)=0
 
virtual void finish ()=0
 
virtual void clear (GpuPipelineState *pipelineState=nullptr)=0
 
virtual span< byte > map (GpuBuffer *resource, uint64 size, uint64 offset=0)=0
 
virtual void unmap (GpuBuffer *resource, span< byte const > data)=0
 
virtual void update (GpuBuffer *resource, span< byte const > data, uint64 offset=0)=0
 

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