mirror of
https://github.com/servo/servo.git
synced 2025-08-17 19:35:33 +01:00
Implement GPUTexture and GPUTextureView
This commit is contained in:
parent
d9db350df5
commit
af95d92231
15 changed files with 638 additions and 15 deletions
|
@ -56,7 +56,7 @@ enum GPUCullMode {
|
|||
};
|
||||
|
||||
dictionary GPUColorStateDescriptor {
|
||||
//required GPUTextureFormat format;
|
||||
required GPUTextureFormat format;
|
||||
|
||||
GPUBlendDescriptor alphaBlend = {};
|
||||
GPUBlendDescriptor colorBlend = {};
|
||||
|
@ -107,7 +107,7 @@ enum GPUStencilOperation {
|
|||
typedef [EnforceRange] unsigned long GPUStencilValue;
|
||||
|
||||
dictionary GPUDepthStencilStateDescriptor {
|
||||
//required GPUTextureFormat format;
|
||||
required GPUTextureFormat format;
|
||||
|
||||
boolean depthWriteEnabled = false;
|
||||
GPUCompareFunction depthCompare = "always";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue