Panda3D
panda
src
tinydisplay
tinyTextureContext.I
1
// Filename: tinyTextureContext.I
2
// Created by: drose (30Apr08)
3
//
4
////////////////////////////////////////////////////////////////////
5
//
6
// PANDA 3D SOFTWARE
7
// Copyright (c) Carnegie Mellon University. All rights reserved.
8
//
9
// All use of this software is subject to the terms of the revised BSD
10
// license. You should have received a copy of this license along
11
// with this source code in a file named "LICENSE."
12
//
13
////////////////////////////////////////////////////////////////////
14
15
16
////////////////////////////////////////////////////////////////////
17
// Function: TinyTextureContext::Constructor
18
// Access: Public
19
// Description:
20
////////////////////////////////////////////////////////////////////
21
INLINE TinyTextureContext::
22
TinyTextureContext(
PreparedGraphicsObjects
*pgo,
Texture
*tex,
int
view) :
23
TextureContext
(pgo, tex, view)
24
{
25
_gltex.num_levels = 0;
26
_gltex.allocated_buffer = NULL;
27
_gltex.total_bytecount = 0;
28
}
Texture
Represents a texture object, which is typically a single 2-d image but may also represent a 1-d or 3-...
Definition:
texture.h:75
TextureContext
This is a special class object that holds all the information returned by a particular GSG to indicat...
Definition:
textureContext.h:38
PreparedGraphicsObjects
A table of objects that are saved within the graphics context for reference by handle later...
Definition:
preparedGraphicsObjects.h:60
Generated on Wed May 17 2017 23:47:31 for Panda3D by
1.8.13