add type in rendertexture (#5918)

This commit is contained in:
JoneLau
2019-12-18 22:00:08 +08:00
committed by pandamicro
parent 18acba1d0e
commit 6779889729
+3 -1
View File
@@ -48,7 +48,9 @@ export class RenderTexture extends TextureBase {
this.reset();
}
@property
@property({
type: DepthStencilFormat
})
get depthStencilFormat () {
return this._depthStencilFormat;
}