struct RenderTexture
A 32 bit handle.
typedef enum MSAA{
MSAA_1x=1,
MSAA_4x=4,
} MSAA;
typedef enum RenderTextureFormat{
RenderTextureFormat_BGRA8Unorm = 80,
RenderTextureFormat_RGBA16Float = 115,
} RenderTextureFormat;
typedef enum DepthTextureFormat{
DepthTextureFormat_None=0,
DepthTextureFormat_Depth32Float = 252,
} DepthTextureFormat;
RenderTexture_Create( void )
: RenderTexture
Creates a new render texture.
RenderTexture_Create(
RenderTexture
render_texture )
: void
RenderTexture_Exists(
RenderTexture
render_texture )
: bool
RenderTexture_Width(
RenderTexture
render_texture )
: uint32_t
RenderTexture_Height(
RenderTexture
render_texture )
: uint32_t
RenderTexture_MSAA(
RenderTexture
render_texture )
: MSAA
RenderTexture_Format(
RenderTexture
render_texture )
: RenderTextureFormat
RenderTexture_DepthFormat(
RenderTexture
render_texture )
: DepthTextureFormat
RenderTexture_AspectRatio(
RenderTexture
render_texture )
: float
RenderTexture_InvAspectRatio(
RenderTexture
render_texture )
: float
RenderTexture_ResolveColor(
RenderTexture
render_texture )
: bool
RenderTexture_ResolveDepth(
RenderTexture
render_texture )
: bool
RenderTexture_Color(
RenderTexture
render_texture )
: Texture
RenderTexture_Depth(
RenderTexture
render_texture )
: Texture
RenderTexture_Init(
RenderTexture
render_texture,
uint32_t width,
uint32_t height,
MSAA
msaa,
RenderTextureFormat
color_format,
bool resolve_color,
DepthTextureFormat
depth_format,
bool resolve_depth)
: void