WeatherMakerFullScreenEffectGetRenderTextureDescriptor Method |
Get render texture descriptor
Namespace:
DigitalRuby.WeatherMaker
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static RenderTextureDescriptor GetRenderTextureDescriptor(
int scale,
int mod,
int scale2,
RenderTextureFormat format,
int depth = 0,
Camera camera = null
)
Public Shared Function GetRenderTextureDescriptor (
scale As Integer,
mod As Integer,
scale2 As Integer,
format As RenderTextureFormat,
Optional depth As Integer = 0,
Optional camera As Camera = Nothing
) As RenderTextureDescriptor
public:
static RenderTextureDescriptor GetRenderTextureDescriptor(
int scale,
int mod,
int scale2,
RenderTextureFormat format,
int depth = 0,
Camera^ camera = nullptr
)
static member GetRenderTextureDescriptor :
scale : int *
mod : int *
scale2 : int *
format : RenderTextureFormat *
?depth : int *
?camera : Camera
(* Defaults:
let _depth = defaultArg depth 0
let _camera = defaultArg camera null
*)
-> RenderTextureDescriptor
Parameters
- scale
- Type: SystemInt32
Scale - mod
- Type: SystemInt32
Mod width and height rounding - scale2
- Type: SystemInt32
Second scale after mod - format
- Type: RenderTextureFormat
Format - depth (Optional)
- Type: SystemInt32
Depth - camera (Optional)
- Type: Camera
Camera
Return Value
Type:
RenderTextureDescriptorRenderTextureDescriptor
See Also