Add support for programmable samplers in shaders
This commit is contained in:
@@ -18,6 +18,7 @@ class GPUShader;
|
||||
class GPUTimerQuery;
|
||||
class GPUTexture;
|
||||
class GPUBuffer;
|
||||
class GPUSampler;
|
||||
class GPUPipelineState;
|
||||
class GPUSwapChain;
|
||||
class Shader;
|
||||
@@ -360,6 +361,12 @@ public:
|
||||
/// <returns>The buffer.</returns>
|
||||
API_FUNCTION() virtual GPUBuffer* CreateBuffer(const StringView& name = StringView::Empty) = 0;
|
||||
|
||||
/// <summary>
|
||||
/// Creates the texture sampler.
|
||||
/// </summary>
|
||||
/// <returns>The sampler.</returns>
|
||||
API_FUNCTION() virtual GPUSampler* CreateSampler() = 0;
|
||||
|
||||
/// <summary>
|
||||
/// Creates the native window swap chain.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user