|
| SLANG_COM_INTERFACE(0x7a8d56d0, 0x53e6, 0x4ad6, {0x85, 0xf7, 0xd1, 0x4d, 0xc1, 0x10, 0xfd, 0xce}) public IShaderObject * | bindPipeline (IPipelineState *state) |
| |
| virtual SLANG_NO_THROW Result SLANG_MCALL | bindPipelineWithRootObject (IPipelineState *state, IShaderObject *rootObject)=0 |
| |
| virtual SLANG_NO_THROW void SLANG_MCALL | setViewports (GfxCount count, const Viewport *viewports)=0 |
| |
| virtual SLANG_NO_THROW void SLANG_MCALL | setScissorRects (GfxCount count, const ScissorRect *scissors)=0 |
| |
| void | setViewportAndScissor (Viewport const &viewport) |
| | Sets the viewport, and sets the scissor rect to match the viewport.
|
| |
| virtual SLANG_NO_THROW void SLANG_MCALL | setPrimitiveTopology (PrimitiveTopology topology)=0 |
| |
| virtual SLANG_NO_THROW void SLANG_MCALL | setVertexBuffers (GfxIndex startSlot, GfxCount slotCount, IBufferResource *const *buffers, const Offset *offsets)=0 |
| |
| void | setVertexBuffer (GfxIndex slot, IBufferResource *buffer, Offset offset=0) |
| |
| virtual SLANG_NO_THROW void SLANG_MCALL | setIndexBuffer (IBufferResource *buffer, Format indexFormat, Offset offset=0)=0 |
| |
| virtual SLANG_NO_THROW Result SLANG_MCALL | draw (GfxCount vertexCount, GfxIndex startVertex=0)=0 |
| |
| virtual SLANG_NO_THROW Result SLANG_MCALL | drawIndexed (GfxCount indexCount, GfxIndex startIndex=0, GfxIndex baseVertex=0)=0 |
| |
| virtual SLANG_NO_THROW Result SLANG_MCALL | drawIndirect (GfxCount maxDrawCount, IBufferResource *argBuffer, Offset argOffset, IBufferResource *countBuffer=nullptr, Offset countOffset=0)=0 |
| |
| virtual SLANG_NO_THROW Result SLANG_MCALL | drawIndexedIndirect (GfxCount maxDrawCount, IBufferResource *argBuffer, Offset argOffset, IBufferResource *countBuffer=nullptr, Offset countOffset=0)=0 |
| |
| virtual SLANG_NO_THROW void SLANG_MCALL | setStencilReference (uint32_t referenceValue)=0 |
| |
| virtual SLANG_NO_THROW Result SLANG_MCALL | setSamplePositions (GfxCount samplesPerPixel, GfxCount pixelCount, const SamplePosition *samplePositions)=0 |
| |
| virtual SLANG_NO_THROW Result SLANG_MCALL | drawInstanced (GfxCount vertexCount, GfxCount instanceCount, GfxIndex startVertex, GfxIndex startInstanceLocation)=0 |
| |
| virtual SLANG_NO_THROW Result SLANG_MCALL | drawIndexedInstanced (GfxCount indexCount, GfxCount instanceCount, GfxIndex startIndexLocation, GfxIndex baseVertexLocation, GfxIndex startInstanceLocation)=0 |
| |
| virtual SLANG_NO_THROW Result SLANG_MCALL | drawMeshTasks (int x, int y, int z)=0 |
| |
|
Public 成员函数 继承自 gfx::IResourceCommandEncoder |
| virtual SLANG_NO_THROW void SLANG_MCALL | copyBuffer (IBufferResource *dst, Offset dstOffset, IBufferResource *src, Offset srcOffset, Size size)=0 |
| |
| virtual SLANG_NO_THROW void SLANG_MCALL | copyTexture (ITextureResource *dst, ResourceState dstState, SubresourceRange dstSubresource, ITextureResource::Offset3D dstOffset, ITextureResource *src, ResourceState srcState, SubresourceRange srcSubresource, ITextureResource::Offset3D srcOffset, ITextureResource::Extents extent)=0 |
| |
| virtual SLANG_NO_THROW void SLANG_MCALL | copyTextureToBuffer (IBufferResource *dst, Offset dstOffset, Size dstSize, Size dstRowStride, ITextureResource *src, ResourceState srcState, SubresourceRange srcSubresource, ITextureResource::Offset3D srcOffset, ITextureResource::Extents extent)=0 |
| | Copies texture to a buffer. Each row is aligned to kTexturePitchAlignment.
|
| |
| virtual SLANG_NO_THROW void SLANG_MCALL | uploadTextureData (ITextureResource *dst, SubresourceRange subResourceRange, ITextureResource::Offset3D offset, ITextureResource::Extents extent, ITextureResource::SubresourceData *subResourceData, GfxCount subResourceDataCount)=0 |
| |
| virtual SLANG_NO_THROW void SLANG_MCALL | uploadBufferData (IBufferResource *dst, Offset offset, Size size, void *data)=0 |
| |
| virtual SLANG_NO_THROW void SLANG_MCALL | textureBarrier (GfxCount count, ITextureResource *const *textures, ResourceState src, ResourceState dst)=0 |
| |
| virtual SLANG_NO_THROW void SLANG_MCALL | textureSubresourceBarrier (ITextureResource *texture, SubresourceRange subresourceRange, ResourceState src, ResourceState dst)=0 |
| |
| virtual SLANG_NO_THROW void SLANG_MCALL | bufferBarrier (GfxCount count, IBufferResource *const *buffers, ResourceState src, ResourceState dst)=0 |
| |
| virtual SLANG_NO_THROW void SLANG_MCALL | clearResourceView (IResourceView *view, ClearValue *clearValue, ClearResourceViewFlags::Enum flags)=0 |
| |
| virtual SLANG_NO_THROW void SLANG_MCALL | resolveResource (ITextureResource *source, ResourceState sourceState, SubresourceRange sourceRange, ITextureResource *dest, ResourceState destState, SubresourceRange destRange)=0 |
| |
| virtual SLANG_NO_THROW void SLANG_MCALL | resolveQuery (IQueryPool *queryPool, GfxIndex index, GfxCount count, IBufferResource *buffer, Offset offset)=0 |
| |
| virtual SLANG_NO_THROW void SLANG_MCALL | beginDebugEvent (const char *name, float rgbColor[3])=0 |
| |
| virtual SLANG_NO_THROW void SLANG_MCALL | endDebugEvent ()=0 |
| |
| void | textureBarrier (ITextureResource *texture, ResourceState src, ResourceState dst) |
| |
| void | bufferBarrier (IBufferResource *buffer, ResourceState src, ResourceState dst) |
| |
Public 成员函数 继承自 gfx::ICommandEncoder |
| virtual SLANG_NO_THROW void SLANG_MCALL | endEncoding ()=0 |
| |
| virtual SLANG_NO_THROW void SLANG_MCALL | writeTimestamp (IQueryPool *queryPool, GfxIndex queryIndex)=0 |
| |
| virtual SLANG_NO_THROW SlangResult SLANG_MCALL | queryInterface (SlangUUID const &uuid, void **outObject)=0 |
| |
| virtual SLANG_NO_THROW uint32_t SLANG_MCALL | addRef ()=0 |
| |
| virtual SLANG_NO_THROW uint32_t SLANG_MCALL | release ()=0 |
| |
| | SLANG_COM_INTERFACE (0x00000000, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}) virtual SLANG_NO_THROW SlangResult SLANG_MCALL queryInterface(SlangUUID const &uuid |
| |
| virtual SLANG_NO_THROW uint32_t SLANG_MCALL | addRef ()=0 |
| |
| virtual SLANG_NO_THROW uint32_t SLANG_MCALL | release ()=0 |
| |
| SlangResult | QueryInterface (struct _GUID const &uuid, void **outObject) |
| |
| uint32_t | AddRef () |
| |
| uint32_t | Release () |
| |
| void ** | outObject = 0 |
| |