mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-03 09:32:38 +08:00
add type in rendertexture (#5918)
This commit is contained in:
@@ -48,7 +48,9 @@ export class RenderTexture extends TextureBase {
|
||||
this.reset();
|
||||
}
|
||||
|
||||
@property
|
||||
@property({
|
||||
type: DepthStencilFormat
|
||||
})
|
||||
get depthStencilFormat () {
|
||||
return this._depthStencilFormat;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user